On Jun 5, 2017 6:50 PM, <kit...@gmail.com> wrote:

I was attempting the tutorial titled "Writing your first Django app".  The
tutorial appears to be very simple, but it does not seem to work.  I have
frustrated myself by attempting to do it from scratch after failing last
week.  If I could get this app to work I could fix the tutorial for you.
It looks like a lot of people have similar gripes about the directions not
working.

I get errors like ModuleNotFoundError: No module named 'polls'


In most cases, this error is a result of missing the INSTALLED_APPS setting
change here:

https://docs.djangoproject.com/en/1.11/intro/tutorial02/#activating-models

Note that Django has an active community and that any errors in the
tutorial would likely be flagged and fixed quickly.

I would like to see a 'common mistakes and errors' section added to the
tutorial for troubleshooting help.


# Create your views here.


def index(request):

    return HttpResponse("Hello, Mothers F


Please be cognizant of the code you are copying to a public list in the
future.

-James

-- 
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+unsubscr...@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/CA%2Be%2BciX1VgAv6qUFstLTAn%2BsQRn_nuRp-MCKsOKQBi1uyYORPw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to