summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorClaude Paroz <claude@2xlibre.net>2013-05-04 11:36:28 +0200
committerClaude Paroz <claude@2xlibre.net>2013-05-04 11:36:28 +0200
commit4f10b35a2e4012512ae57cadd19f34ec8d4979a1 (patch)
tree3491a01d07d984ddac658a2fbfe44afe7fbb8ec8 /docs
parent4391718f26466f82f943e37368181d5c0520fa35 (diff)
[1.5.x] Fixed #20309 -- admin.py is not automatically created in Django 1.5
Diffstat (limited to 'docs')
-rw-r--r--docs/intro/tutorial02.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/intro/tutorial02.txt b/docs/intro/tutorial02.txt
index af2d1fae5b..396c1e09ee 100644
--- a/docs/intro/tutorial02.txt
+++ b/docs/intro/tutorial02.txt
@@ -110,8 +110,8 @@ Make the poll app modifiable in the admin
But where's our poll app? It's not displayed on the admin index page.
Just one thing to do: we need to tell the admin that ``Poll``
-objects have an admin interface. To do this, open the :file:`polls/admin.py`
-file, and edit it to look like this::
+objects have an admin interface. To do this, create a file called
+:file:`admin.py` in your ``polls`` directory, and edit it to look like this::
from django.contrib import admin
from polls.models import Poll