maybe you forgot to add pybb to INSTALED_APPS ?

On Sat, Dec 14, 2013 at 4:15 PM, Alok Nag <nag.a...@gmail.com> wrote:

> 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/CAFWa6tKMZBhVOtB7bdpOc%3DB1i74s6B12GTMx3ZmxkyvkBgcXVw%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to