Loading docs/internals/contributing.txt +6 −6 Original line number Diff line number Diff line Loading @@ -415,7 +415,7 @@ translated, here's what to do: * Repeat the last two steps for the ``djangojs`` domain (by appending the ``-d djangojs`` command line option to the ``django-admin.py`` invocations.) invocations). * Create a diff of the ``.po`` file(s) against the current Subversion trunk. Loading docs/intro/tutorial02.txt +24 −24 Original line number Diff line number Diff line Loading @@ -97,17 +97,17 @@ 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. Create a file called ``admin.py`` in your ``polls`` application and edit it to look like this:: objects have an admin interface. To do this, create a file called ``admin.py`` in your ``polls`` directory, and edit it to look like this:: from mysite.polls.models import Poll from django.contrib import admin admin.site.register(Poll) You will need to restart the development server to see your changes. Normally the server will auto-reload itself every time you modify a file, but here the action of creating a new file will not trigger the auto-reloading logic. You'll need to restart the development server to see your changes. Normally, the server auto-reloads code every time you modify a file, but the action of creating a new file doesn't trigger the auto-reloading logic. Explore the free admin functionality ==================================== Loading Loading
docs/internals/contributing.txt +6 −6 Original line number Diff line number Diff line Loading @@ -415,7 +415,7 @@ translated, here's what to do: * Repeat the last two steps for the ``djangojs`` domain (by appending the ``-d djangojs`` command line option to the ``django-admin.py`` invocations.) invocations). * Create a diff of the ``.po`` file(s) against the current Subversion trunk. Loading
docs/intro/tutorial02.txt +24 −24 Original line number Diff line number Diff line Loading @@ -97,17 +97,17 @@ 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. Create a file called ``admin.py`` in your ``polls`` application and edit it to look like this:: objects have an admin interface. To do this, create a file called ``admin.py`` in your ``polls`` directory, and edit it to look like this:: from mysite.polls.models import Poll from django.contrib import admin admin.site.register(Poll) You will need to restart the development server to see your changes. Normally the server will auto-reload itself every time you modify a file, but here the action of creating a new file will not trigger the auto-reloading logic. You'll need to restart the development server to see your changes. Normally, the server auto-reloads code every time you modify a file, but the action of creating a new file doesn't trigger the auto-reloading logic. Explore the free admin functionality ==================================== Loading