if its a blank project you don't have a polls app yet,so... why you put your polls app there?
Rafael E. Ferrero
2016-01-25 16:14 GMT-03:00 moon jo <moonbal@gmail.com>:
--Using django 1.6.10I finished the polls tutorial and tried to create my own project.I tried to runserver and it gives me the import error. But it's a blank project, haven't added anything in the settings.When I do import settings form django.conf and print settings.INSTALLED_APPS, it prints this:('django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.admin', 'polls')Where is that 'polls' coming from? Every project I create, I get the same error, they're looking for the 'polls' app.
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/df91e3ff-aa9e-424a-9db2-f8d7091003a3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
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/CAJJc_8W8nvOFKogPWfWOwVrZ0HRP7WDOqdGug4gp5EMaBxMcxw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment