django.utils.simplejson is deprecated; use json instead.
Hi Alok,
it seems pyBB is not django 1.6 compatible - simplejson got deprecated
in 1.6
just my 2 cents
Frank
Am 14.12.13 15:15, schrieb Alok Nag:
Hello Experts,
I am newbie to Django/Python. I am trying to setup a forum app using
pyBB and after following steps mentioned at their website, I am
getting following error when I am running python manage.py syncdb
[aloknag-mbp15:~/Desktop/forum] aloknag% ./manage.py syncdb
/Library/Python/2.7/site-packages/django_common-0.1.51-py2.7.egg/common/fields.py:6:
DeprecationWarning: django.utils.simplejson is deprecated; use json
instead.
from django.utils import simplejson
*CommandError: One or more models did not validate:*
*pyBB.forum: 'category' has a relation with model <class
'pybb.models.Category'>, which has either not been installed or is
abstract.*
*pyBB.forum: Accessor for field 'category' clashes with related field
'Category.forums'. Add a related_name argument to the definition for
'category'.*
*pyBB.forum: Reverse query name for field 'category' clashes with
related field 'Category.forums'. Add a related_name argument to the
definition for 'category'.*
*pyBB.topic: 'forum' has a relation with model <class
'pybb.models.Forum'>, which has either not been installed or is abstract.*
*pyBB.topic: Accessor for field 'forum' clashes with related field
'Forum.topics'. Add a related_name argument to the definition for
'forum'.*
*pyBB.topic: Reverse query name for field 'forum' clashes with related
field 'Forum.topics'. Add a related_name argument to the definition
for 'forum'.*
*pyBB.post: 'topic' has a relation with model <class
'pybb.models.Topic'>, which has either not been installed or is abstract.*
*pyBB.post: Accessor for field 'topic' clashes with related field
'Topic.posts'. Add a related_name argument to the definition for 'topic'.*
*pyBB.post: Reverse query name for field 'topic' clashes with related
field 'Topic.posts'. Add a related_name argument to the definition for
'topic'.*
Appreciate any insight to fix it.
Thanks,
Alok
--
You received this message because you are subscribed to the Google
Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/c38a3c9f-27bf-4685-9c3e-8f79f5bb5bbc%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "Django
users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/52AE3759.3090307%40produktlaunch.de.
For more options, visit https://groups.google.com/groups/opt_out.