Loading docs/intro/tutorial02.txt +2 −2 Original line number Diff line number Diff line Loading @@ -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 Loading Loading
docs/intro/tutorial02.txt +2 −2 Original line number Diff line number Diff line Loading @@ -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 Loading