You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 13, 2018. It is now read-only.
Django 1.4 removed the message_set related manager from
the User model and also the message_set.create() method which was
being used to create the success messages. My suggestion to ensure compatibility with earlier versions of Django is to use a try block to trap the AttributeError exception that could be raised when message_set.create() is used.
If this exception is raised then the messages framework to create the success message
The text was updated successfully, but these errors were encountered:
chrisdev
added a commit
to chrisdev/django-frontendadmin
that referenced
this issue
May 18, 2012
…te actions when used with Django 1.4
The problem was caused by the removal of the Messaage model and its related model from the djano.contrib.auth
in Django 1.4. This fix uses the message framework but is backwards compatible with earlier versions
Django 1.4 removed the message_set related manager from
the User model and also the message_set.create() method which was
being used to create the success messages. My suggestion to ensure compatibility with earlier versions of Django is to use a try block to trap the AttributeError exception that could be raised when message_set.create() is used.
If this exception is raised then the messages framework to create the success message
The text was updated successfully, but these errors were encountered: