Well, did you check if the app „polls" is in INSTALLED_APPS?
Assuming you are refering to the step „Activating models" in the Part 2 of the tutorial, make sure you made the correct changes in your settings.py. https://docs.djangoproject.com/en/2.0/intro/tutorial02/#activating-models
You can double check it by comparing your code with this: https://github.com/consideratecode/django-tutorial-step-by-step/tree/2.0/2.3
If that doesn't help you figure it out, post the complete complete error message, your settings.py and the file structure of your project.
Cheers,
Daniel
I am having trouble in the makemigrations part--
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/5f1f9803-910d-45dc-b273-76b962855a3d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment