diff options
Diffstat (limited to 'docs/intro/tutorial01.txt')
| -rw-r--r-- | docs/intro/tutorial01.txt | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/docs/intro/tutorial01.txt b/docs/intro/tutorial01.txt index 3fa07e132c..e79535661c 100644 --- a/docs/intro/tutorial01.txt +++ b/docs/intro/tutorial01.txt @@ -435,7 +435,7 @@ look like this: :filename: mysite/settings.py INSTALLED_APPS = ( - 'django.contrib.admin', + 'django.contrib.admin.apps.AdminConfig', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', @@ -444,6 +444,13 @@ look like this: 'polls', ) +.. admonition:: Doesn't match what you see? + + If you're seeing ``'django.contrib.admin'`` instead of + ``'django.contrib.admin.apps.AdminConfig'``, you're probably using a + version of Django that doesn't match this tutorial version. You'll want + to either switch to the older tutorial or the newer Django version. + Now Django knows to include the ``polls`` app. Let's run another command: .. code-block:: bash |
