kluo's profile - activity

12 years ago received badge Famous Question (source)
12 years ago commented answer How to update Django 1.3 messaging to new messaging framework of Django 1.4?

Hi, roughly when do you think askbot will have support for Django 1.4?

12 years ago commented answer How to update Django 1.3 messaging to new messaging framework of Django 1.4?

https://github.com/philomat/django-persistent-messages looks like a good possible option here

12 years ago received badge Editor (source)
12 years ago received badge Nice Question (source)
12 years ago received badge Student (source)
12 years ago asked a question How to update Django 1.3 messaging to new messaging framework of Django 1.4?

Hi, I'm trying to get askbot working with Django 1.4 and am having some issue with the deprecated user.message_set.create() method, which is what is used for notifying a user when they have been awarded a badge. To update this to the new Django 1.4 messaging framework, you would need to use messages.success(request, msg). However this is called within notify_award_message which is called after saving an Award instance, so there is no reference to request. Any ideas how to get this, and any other areas in askbot code using the old messaging method, working?

12 years ago commented answer Does askbot support django 1.4 trunk version?

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',