Foriegn key error--> no such column: eduplus_choice.question_id

13 views
Skip to first unread message

Bhanu Kathuria

unread,
Sep 30, 2015, 9:35:47 AM9/30/15
to Django users
Settings,admin and model file are attached.
settings.py
models.py
admin.py

Gergely Polonkai

unread,
Sep 30, 2015, 12:13:40 PM9/30/15
to Django users

Did you run your migrations?

On 30 Sep 2015 15:35, "Bhanu Kathuria" <001kathu...@gmail.com> wrote:
Settings,admin and model file are attached.

--
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...@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/c0e69bbe-9e7c-4642-ac2f-5092e7bd0d70%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Bhanu Kathuria

unread,
Sep 30, 2015, 1:28:38 PM9/30/15
to django...@googlegroups.com
Thank you . I found the solution to my problem.I didn't use syncdb command before applying foriegn key.

--
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/9ewmQ-5ef0k/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.
Reply all
Reply to author
Forward
0 new messages