Code

Opened 6 years ago

Closed 6 years ago

Last modified 3 years ago

#8132 closed (fixed)

Inaccuracies in Tutorial 02 - "Customize the admin index page"

Reported by: julien Owned by: nobody
Component: Documentation Version: master
Severity: Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

I couldn't find any related ticket so I posted this one.

After the merge of NFA, the "Customize the admin index page" section at the bottom of the tutorial part 2, contains some inaccuracies:

  • Elements are not randomly ordered anymore, but alphabetically.
  • The get_admin_app_list doesn't exist anymore. Instead, the variable app_list is directly passed to the template by the AdminSite.index view.

Patch attached. Marking it 1.0beta since that's quite important to be fixed before release.

http://www.djangoproject.com/documentation/tutorial02/#customize-the-admin-index-page

Attachments (1)

8132.tutorial.diff (1.7 KB) - added by julien 6 years ago.

Download all attachments as: .zip

Change History (5)

Changed 6 years ago by julien

comment:1 Changed 6 years ago by mtredinnick

  • milestone changed from 1.0 beta to 1.0
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

comment:2 Changed 6 years ago by juliae

  • Triage Stage changed from Unreviewed to Ready for checkin

comment:3 Changed 6 years ago by mtredinnick

  • Resolution set to fixed
  • Status changed from new to closed

(In [8416]) Fixed #8132 -- Updated tutorial 2 to describe the current way to customise the
main admin page. Based on a patch from julien.

comment:4 Changed 3 years ago by jacob

  • milestone 1.0 deleted

Milestone 1.0 deleted

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.