Opened 13 years ago

Closed 13 years ago

#16130 closed Cleanup/optimization (invalid)

Add some information about admin media in staticfiles documentation

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

Description

I think it would help to add a section to https://docs.djangoproject.com/en/1.3/howto/static-files/ about how django.contrib.staticfiles affects admin media. When you search the page for the word "admin", it's not in there.

Even if the section just says to set ADMIN_MEDIA_PREFIX (with a link to https://docs.djangoproject.com/en/1.3/ref/settings/#admin-media-prefix) that would help.

Attachments (2)

admin_media_static_files.diff (513 bytes ) - added by Kiran Busi 13 years ago.
Add link to https://docs.djangoproject.com/en/1.3/ref/settings/#admin-media-prefix
admin_static_files.diff (517 bytes ) - added by Kiran Busi 13 years ago.
Admin_Media_Prefix

Download all attachments as: .zip

Change History (9)

comment:1 by Dougal Matthews, 13 years ago

Owner: changed from nobody to Dougal Matthews
Status: newassigned
Triage Stage: UnreviewedAccepted
Type: UncategorizedCleanup/optimization

Seems like a reasonable idea. It may be better placed under the admin documentation however, with links to it.

comment:2 by Julien Phalip, 13 years ago

Summary: AddAdd some information about admin media in staticfiles documentation

comment:3 by Dougal Matthews, 13 years ago

Owner: Dougal Matthews removed
Status: assignednew
UI/UX: unset

comment:4 by Kiran Busi, 13 years ago

Owner: set to Kiran Busi

by Kiran Busi, 13 years ago

Attachment: admin_static_files.diff added

Admin_Media_Prefix

comment:5 by Kiran Busi, 13 years ago

Has patch: set

Please see second patch, added to ADMIN_MEDIA_PREFIX to be in sync with rest of documentation

comment:6 by Kiran Busi, 13 years ago

meant to say added markup to ADMIN_MEDIA_PREFIX

comment:7 by Jannis Leidel, 13 years ago

Resolution: invalid
Status: newclosed

I'm not sure if that's a good idea, ADMIN_MEDIA_PREFIX was removed in trunk after all.

Note: See TracTickets for help on using tickets.
Back to Top