[patch] Custom upload_to per instance of FileField
|Reported by:||parlar@…||Owned by:||nobody|
|Cc:||Triage Stage:||Design decision needed|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
I find myself constantly limited by the upload_to field for FileField. Namely, I often want to specify different upload_to directories on an individual basis, not just wanting to dump all files into one directory, or use the strftime.
This patch addresses that by adding an optional keyword argument 'upload_to' to the save_XXX_file method.
Change History (9)
Changed 9 years ago by anonymous
Changed 9 years ago by parlar@…
comment:3 Changed 9 years ago by SmileyChris
- Triage Stage changed from Unreviewed to Design decision needed
comment:5 Changed 8 years ago by ubernostrum
- Resolution set to duplicate
- Status changed from new to closed