First time here? Check out the FAQ!
1

Does askbot support django 1.4 trunk version?

I am going to try askbot with new django trunk, does anyone run it successfully before?

I found 1.4 and 1.3 version of django are different on how they handle csrf middleware. I tried OSQA and it failed to run in 1.4 and I could only run on 1.3

anonymous user
asked 2011-12-19 06:13:52 -0500
Evgeny's avatar
13.2k
Evgeny
updated 2011-12-23 11:10:24 -0500
edit flag offensive 0 remove flag close merge delete

Comments

In addition to everything else, I would recommend looking at the release notes and making a mental note of anything that needs to be checked: https://docs.djangoproject.com/en/dev/releases/1.4/

Joseph's avatar Joseph (2012-01-10 01:25:48 -0500) edit

Is Django 1.4 supported at this point?

Joseph's avatar Joseph (2012-07-19 20:17:08 -0500) edit

No, not supported yet. Could work if you migrate settings to 1.4 style, but not tested.

Evgeny's avatar Evgeny (2012-07-19 21:40:17 -0500) edit
add a comment see more comments

1 Answer

1

Trying my self issues I have found:

  • Import error in feed (deprecated API since 1.4 info here )
  • Old style database settings not supported anymore, easy to fix in settings file.

After that it seems that there is no problem I made it run and it works ;-)

Made initial commits here

Fitoria's avatar
1.1k
Fitoria
answered 2011-12-23 07:08:41 -0500
edit flag offensive 0 remove flag delete link

Comments

I installed your version of askbot with the commits you mention above, however I am still seeing an error related to feed when using 1.4. Can you provide me with more information on how to resolve this? I am currently working on a project and have a deadline which I need to make for my project manager. I have already fixed the Database settings, which were easy as pie(although pie isn't that easy to make in reality). Here is the error message: Could not import django.contrib.syndication.views.feed. View does not exist in module django.contrib.syndication.views.

kveroneau's avatar kveroneau (2012-07-23 02:10:02 -0500) edit

I am also getting this same error message trying to use Django 1.4. When I try importing in python interpreter it works fine...any help appreciated

EDIT: found the answer, you need to edit one line in urls.py

'django.contrib.syndication.views.feed',

to

'django.contrib.syndication.views.Feed',

kluo's avatar kluo (2012-07-23 18:38:43 -0500) edit

@kluo I'll be looking on this soon

Fitoria's avatar Fitoria (2012-07-23 20:31:13 -0500) edit
add a comment see more comments