Django ProgrammingError: no relation exists when using ManyToManyfield

39 views
Skip to first unread message

Chase Cooley

unread,
Apr 11, 2015, 3:05:25 PM4/11/15
to django...@googlegroups.com
I can post code and errors here, but have already posted on stackoverflow.com and so I figured it might be useful to see some of the comments users on that site have suggested. If this is not acceptable let me know and i'll post everything here.
Thanks!

Pavel Kuchin

unread,
Apr 12, 2015, 11:12:08 AM4/12/15
to django...@googlegroups.com
Hi Chase,

Did you try makemigrations and migrate:
$ python manage.py makemigrations
$ python manage.py migrate
You should run them for all modules at first time (do not set any specific module).

Best regards, Pavel.

Chase Cooley

unread,
Apr 13, 2015, 10:37:14 AM4/13/15
to django...@googlegroups.com
Yes, I have tried makemigrations and migrate for all modules and it still doesn't work. I have also tried makemigrations and migrate for individual modules with no luck.

Pavel Kuchin

unread,
Apr 13, 2015, 11:03:38 AM4/13/15
to django...@googlegroups.com
Hi Chase,

Can you please attach your settings.py (or at least DATABASES and
INSTALLED_APPS options) and LocationModel class?

Best regards, Pavel
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Django users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/django-users/MHngqha8fIk/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> django-users...@googlegroups.com.
> To post to this group, send email to django...@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/3d6bcc21-7176-4b45-8ae2-576872381521%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages