Code

Opened 3 years ago

Closed 2 years ago

#16914 closed Bug (duplicate)

Documentation error in "Serving the admin files"

Reported by: pmountifield@… Owned by: jezdez
Component: Documentation Version: 1.3
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

See the page https://docs.djangoproject.com/en/1.3/howto/deployment/modwsgi/#serving-the-admin-files

The line "The admin files live in (django/contrib/admin/static/admin) of the Django distribution." is incorrect, since these files actually live in django/contrib/admin/media and there is a special case the in static files AppStaticStorage class which looks in "media" instead and prefixes with "admin"

Attachments (0)

Change History (3)

comment:1 Changed 3 years ago by aaugustin

  • Easy pickings set
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

Indeed, the media files still live in django/contrib/admin/media in Django 1.3. This error was introduced at r16492.

Version 0, edited 3 years ago by aaugustin (next)

comment:2 Changed 3 years ago by jezdez

  • Owner changed from nobody to jezdez

D'oh!

comment:3 Changed 2 years ago by jezdez

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

Fixed already in #17123.

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.