#8918: FileField upload_to should not be required for custom backends -----------------------------------------------------+---------------------- Reporter: leahculver | Owner: nobody Status: new | Milestone: Component: Uncategorized | Version: Keywords: FileField, files, upload, S3, upload_to | Stage: Unreviewed Has_patch: 0 | -----------------------------------------------------+---------------------- For some file storage backends, the upload_to could be unnecessary. For example, I have an S3 backend and don't need any keys or prefixes for my files.
Currently an error is thrown if upload_to is missing or empty: "file": FileFields require an "upload_to" attribute. Could upload_to be optional if the storage backend is custom? -- Ticket URL: <http://code.djangoproject.com/ticket/8918> Django Code <http://code.djangoproject.com/> The web framework for perfectionists with deadlines --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---
