Opened 6 years ago

Closed 6 years ago

Last modified 5 years ago

#14667 closed (fixed)

Link MEDIA_* settings to file management docs

Reported by: Adam Vandenberg Owned by: Jannis Leidel
Component: Documentation Version: 1.2
Severity: Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

This patch links the MEDIA_* settings in the full settings list to the "managing files" topic, which has more info on how they are used.

Also tweaks the formatting in those 2 settings, and moves a nearby ref down to where it should go.

Attachments (1)

media-settings.diff (1.4 KB) - added by Adam Vandenberg 6 years ago.

Download all attachments as: .zip

Change History (4)

Changed 6 years ago by Adam Vandenberg

Attachment: media-settings.diff added

comment:1 Changed 6 years ago by Jannis Leidel

milestone: 1.3
Owner: changed from nobody to Jannis Leidel
Status: newassigned
Triage Stage: UnreviewedAccepted

comment:2 Changed 6 years ago by Jannis Leidel

Resolution: fixed
Status: assignedclosed

(In [14533]) Fixed #14524, #14582, #14617, #14665 and #14667 -- Tweaked staticfiles app.

  • Updated StaticFilesHandler and AdminMediaHandler to make use of the 404 handler if needed.
  • Updated runserver management command to serve static files only in DEBUG mode (or if specified the --insecure option) and if the staticfiles app is in INSTALLED_APPS. Also added an option to disable serving completely (--nostatic).
  • Added check in debug mode if STATICFILES_* settings are different to MEDIA_* settings.
  • Removed a faulty PendingDeprecationWarning in AdminMediaHandler that is triggered every time runserver is used.
  • Fixed an issue with the modification time checks when running collectstatic.
  • Extended and refined documentation.

Thanks to everyone for input, especially to Carl Meyer, Ted Kaemming and
Adam Vandenberg for patches.

comment:3 Changed 5 years ago by Jacob

milestone: 1.3

Milestone 1.3 deleted

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