Opened 6 years ago

Closed 5 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 5 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 5 years ago.
Admin_Media_Prefix

Download all attachments as: .zip

Change History (9)

comment:1 Changed 6 years ago by Dougal Matthews

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 Changed 6 years ago by Julien Phalip

Summary: AddAdd some information about admin media in staticfiles documentation

comment:3 Changed 5 years ago by Dougal Matthews

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

comment:4 Changed 5 years ago by Kiran Busi

Owner: set to Kiran Busi

Changed 5 years ago by Kiran Busi

Attachment: admin_static_files.diff added

Admin_Media_Prefix

comment:5 Changed 5 years ago by Kiran Busi

Has patch: set

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

comment:6 Changed 5 years ago by Kiran Busi

meant to say added markup to ADMIN_MEDIA_PREFIX

comment:7 Changed 5 years ago by Jannis Leidel

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