#26525: Tutorial02 document issue
-------------------------------+--------------------
     Reporter:  edwardspbe     |      Owner:  nobody
         Type:  Uncategorized  |     Status:  new
    Component:  Documentation  |    Version:  1.9
     Severity:  Normal         |   Keywords:
 Triage Stage:  Unreviewed     |  Has patch:  0
Easy pickings:  1              |      UI/UX:  0
-------------------------------+--------------------
 I believe there is an issue with
 [https://docs.djangoproject.com/en/1.9/intro/tutorial02/#activating-models
 Writing your first Django app, part 2].  The directions for adding
 ''polls'' is incorrect.

 {{{

 Edit the mysite/settings.py file again, and change the INSTALLED_APPS
 setting to include the string polls.apps.PollsConfig. It’ll look like
 this:

 mysite/settings.py
 INSTALLED_APPS = [
     'polls.apps.PollsConfig',
 }}}


 This should read;

 {{{

 Edit the mysite/settings.py file again, and change the INSTALLED_APPS
 setting to include the string polls. It’ll look like this:

 mysite/settings.py
 INSTALLED_APPS = [
     'polls',
 }}}

 If not, the following instructions to execute;

 {{{
  python manage.py makemigrations polls
 }}}
 will fail with the error

 {{{
 ImportError: No module named apps
 }}}

--
Ticket URL: <https://code.djangoproject.com/ticket/26525>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/053.dd925275e7ff4e09b5adcea971499040%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to