Can you screenshot and paste the Model Class for that? The one with Foreign Key on Polls. It should have on_delete=models.SET_NULL or on_delete=models.CASCADE
On Monday, 14 January 2019 15:28:32 UTC+5:45, tarikk...@gmail.com wrote:
-- On Monday, 14 January 2019 15:28:32 UTC+5:45, tarikk...@gmail.com wrote:
Hi everyone!Could you please help me why I cant see this part below when I run this command, python manage.py makemigrations polls,?<<<<Migrations for 'polls':0001_initial.py: - Create model Question - Create model Choice - Add field question to choice>>>>>>>>>I saw just that screen shut.
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+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/6d81c402-0c38-4ba2-be77-6281db61692e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment