File plugin FileField should have meaningful help_text #1357

Closed
kezabelle opened this Issue Jul 24, 2012 · 2 comments

3 participants

@kezabelle

Currently, the cms.plugins.file.models.File file upload field has no help text at all. As no max length has been declared, the field's default maximum string length is 100 for all database backends. Ideally it make sense to provide help text that thus documents the maximum filename length for any upload (minus the media path), but as get_media_path is a function that acts on a filename, I'm not sure how viable it is. Consider this ticket me asking cleverer people than I if it's plausible; if not, close as invalid/wontfix.

@ojii

The actual filename of the uploaded file is not necessarily related to the length of the string stored in the field if you use a non-standard file backend (eg: S3). Therefore I'm not sure we can come up with a reasonable generic help text.

@digi604
Divio AG member

file plugin removed from core

@digi604 digi604 closed this Feb 7, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment