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

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
anonymous user
asked 13 years ago
Evgeny's avatar
13.2k
Evgeny
updated 13 years ago

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 (13 years ago)

Is Django 1.4 supported at this point?

Joseph's avatar Joseph (12 years ago)

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

Evgeny's avatar Evgeny (12 years ago)
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

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Fitoria's avatar
1.1k
Fitoria
answered 13 years ago
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 (12 years ago)

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 (12 years ago)

@kluo I'll be looking on this soon

Fitoria's avatar Fitoria (12 years ago)
see more comments