Get command error when trying to syncdb in django pyBB

34 views
Skip to first unread message

Alok Nag

unread,
Dec 14, 2013, 9:23:03 AM12/14/13
to django...@googlegroups.com
Hello Experts!

I am trying to setup a forum app using pyBB. I followed steps mentioned in their website and finally getting below error when I try to run:
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 this.

Thanks,
Alok

Reply all
Reply to author
Forward
0 new messages