Opened 14 years ago
Closed 12 years ago
#15641 closed New feature (wontfix)
Allow FileSystemStorage(base_url=None) to disable url access
Reported by: | Owned by: | nobody | |
---|---|---|---|
Component: | File uploads/storage | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Design decision needed | |
Has patch: | yes | Needs documentation: | yes |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
changeset:9946 changed the behaviour of passing base_url=None to the FileSystemStorage contructor.
Before the change it would disable url access whereas now it enables access through MEDIA_URL
The attached patch restores the old behaviour.
Attachments (2)
Change History (8)
by , 14 years ago
Attachment: | 15641.diff added |
---|
by , 14 years ago
Attachment: | 15641-2.diff added |
---|
comment:1 by , 14 years ago
Type: | → New feature |
---|
comment:2 by , 14 years ago
Severity: | → Normal |
---|
comment:3 by , 14 years ago
Needs documentation: | set |
---|---|
Triage Stage: | Unreviewed → Design decision needed |
comment:6 by , 12 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Django usually does not and should not serve media files, hence this is imo a non-issue.
Note:
See TracTickets
for help on using tickets.
same patch with additional tests for MEDIA_URL as default