Changeset 8548
- Timestamp:
- 08/25/08 13:53:18 (3 months ago)
- Files:
-
- django/trunk/django/core/management/commands/adminindex.py (deleted)
- django/trunk/docs/intro/tutorial02.txt (modified) (1 diff)
- django/trunk/docs/man/django-admin.1 (modified) (1 diff)
- django/trunk/docs/ref/django-admin.txt (modified) (1 diff)
- django/trunk/extras/django_bash_completion (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/docs/intro/tutorial02.txt
r8506 r8548 450 450 object-specific admin pages in whatever way you think is best. 451 451 452 Django offers another shortcut in this department. Run the command ``python453 manage.py adminindex polls`` to get a chunk of template code for inclusion in454 the admin index template. It's a useful starting point.455 456 452 When you're comfortable with the admin site, read :ref:`part 3 of this tutorial 457 453 <intro-tutorial03>` to start working on public poll views. django/trunk/docs/man/django-admin.1
r8506 r8548 18 18 .sp 19 19 .SH "ACTIONS" 20 .TP21 .BI "adminindex [" "appname ..." "]"22 Prints the admin\-index template snippet for the given app name(s).23 20 .TP 24 21 .BI cleanup django/trunk/docs/ref/django-admin.txt
r8506 r8548 95 95 Available subcommands 96 96 ===================== 97 98 adminindex99 ----------100 101 .. django-admin:: adminindex <appname appname ...>102 103 Prints the admin-index template snippet for the given app name(s).104 105 Use admin-index template snippets if you want to customize the look and feel of106 your admin's index page. See :ref:`Tutorial 2 <intro-tutorial02>` for more107 information.108 97 109 98 cleanup django/trunk/extras/django_bash_completion
r7844 r8548 45 45 opts="--help --settings --pythonpath --noinput --noreload --format --indent --verbosity --adminmedia --version --locale --domain" 46 46 # Actions 47 actions=" adminindexcreatecachetable createsuperuser compilemessages \47 actions="createcachetable createsuperuser compilemessages \ 48 48 dbshell diffsettings dumpdata flush inspectdb loaddata \ 49 49 makemessages reset runfcgi runserver shell sql sqlall sqlclear \ … … 91 91 else 92 92 case ${prev} in 93 adminindex|dumpdata|reset| \93 dumpdata|reset| \ 94 94 sql|sqlall|sqlclear|sqlcustom|sqlindexes| \ 95 95 sqlreset|sqlsequencereset|test)
