#33880: Ambigous error message regarding "FilePathFields must have either
'allow_files' or 'allow_folders' set to True."
-------------------------------------+-------------------------------------
Reporter: Willem Van Onsem | Owner: nobody
Type: Uncategorized | Status: new
Component: Database layer | Version: 4.0
(models, ORM) |
Severity: Normal | Resolution:
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by barrezuetai):
Hi Willem. The way I understand it is that ''at least'' one of the
attributes has to be True.
I haven't run the code myself, but it also seems like a user would only
run into this Error if they set both ''allow_files'' and ''allow_folders''
to false. In that scenario, the wording doesn't seem like too much a
problem.
--
Ticket URL: <https://code.djangoproject.com/ticket/33880#comment:1>
Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/0107018255d4775c-cbba0970-40f0-439d-bb12-664a2ef388ca-000000%40eu-central-1.amazonses.com.