Django

Code

Changeset 8548

Show
Ignore:
Timestamp:
08/25/08 13:53:18 (3 months ago)
Author:
jacob
Message:

Removed outdated "adminindex" command -- the same behavior is now far easier and better done in a template, or perhaps a custom AdminSite.index function. Refs #5500.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/docs/intro/tutorial02.txt

    r8506 r8548  
    450450object-specific admin pages in whatever way you think is best. 
    451451 
    452 Django offers another shortcut in this department. Run the command ``python 
    453 manage.py adminindex polls`` to get a chunk of template code for inclusion in 
    454 the admin index template. It's a useful starting point. 
    455  
    456452When you're comfortable with the admin site, read :ref:`part 3 of this tutorial 
    457453<intro-tutorial03>` to start working on public poll views. 
  • django/trunk/docs/man/django-admin.1

    r8506 r8548  
    1818.sp 
    1919.SH "ACTIONS" 
    20 .TP 
    21 .BI "adminindex [" "appname ..." "]" 
    22 Prints the admin\-index template snippet for the given app name(s). 
    2320.TP 
    2421.BI cleanup 
  • django/trunk/docs/ref/django-admin.txt

    r8506 r8548  
    9595Available subcommands 
    9696===================== 
    97  
    98 adminindex 
    99 ---------- 
    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 of 
    106 your admin's index page. See :ref:`Tutorial 2 <intro-tutorial02>` for more 
    107 information. 
    10897 
    10998cleanup  
  • django/trunk/extras/django_bash_completion

    r7844 r8548  
    4545    opts="--help --settings --pythonpath --noinput --noreload --format --indent --verbosity --adminmedia --version --locale --domain" 
    4646    # Actions 
    47     actions="adminindex createcachetable createsuperuser compilemessages \ 
     47    actions="createcachetable createsuperuser compilemessages \ 
    4848             dbshell diffsettings dumpdata flush inspectdb loaddata \ 
    4949             makemessages reset runfcgi runserver shell sql sqlall sqlclear \ 
     
    9191    else 
    9292        case ${prev} in 
    93             adminindex|dumpdata|reset| \ 
     93            dumpdata|reset| \ 
    9494            sql|sqlall|sqlclear|sqlcustom|sqlindexes| \ 
    9595            sqlreset|sqlsequencereset|test)