Opened 8 years ago

Closed 8 years ago

#26314 closed Bug (duplicate)

Filesystem Storage Class ignores settings changes

Reported by: Tony Flury Owned by: nobody
Component: File uploads/storage Version: 1.9
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

In situations where the settings (such as MEDIA_ROOT) changes the FilesystemStorage class should ideally reflect those changes.

It is clear from the Source code that this class ignores all settings changes.

This hampers testing - effectively making the @override_setting decorator pointless when used to override MEDIA_ROOT - although this is not mentioned in the documentation.

Change History (1)

comment:1 by Tim Graham, 8 years ago

Component: UncategorizedFile uploads/storage
Resolution: duplicate
Status: newclosed
Type: UncategorizedBug

Looks like a duplicate of #26038 which is fixed in Django 1.10.

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