Opened 4 years ago

Closed 4 years ago

#16130 closed Cleanup/optimization (invalid)

Add some information about admin media in staticfiles documentation

Reported by: aroy Owned by: kman
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 kman 4 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 kman 4 years ago.
Admin_Media_Prefix

Download all attachments as: .zip

Change History (9)

comment:1 Changed 4 years ago by d0ugal

  • Needs documentation unset
  • Needs tests unset
  • Owner changed from nobody to d0ugal
  • Patch needs improvement unset
  • Status changed from new to assigned
  • Triage Stage changed from Unreviewed to Accepted
  • Type changed from Uncategorized to Cleanup/optimization

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

comment:2 Changed 4 years ago by julien

  • Summary changed from Add to Add some information about admin media in staticfiles documentation

comment:3 Changed 4 years ago by d0ugal

  • Owner d0ugal deleted
  • Status changed from assigned to new
  • UI/UX unset

comment:4 Changed 4 years ago by kman

  • Owner set to kman

Changed 4 years ago by kman

Admin_Media_Prefix

comment:5 Changed 4 years ago by kman

  • Has patch set

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

comment:6 Changed 4 years ago by kman

meant to say added markup to ADMIN_MEDIA_PREFIX

comment:7 Changed 4 years ago by jezdez

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

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