Opened 17 years ago
Last modified 11 years ago
#7808 closed
Form Preview does not work with file uploads — at Version 5
| Reported by: | ian_brasil | Owned by: | nobody |
|---|---|---|---|
| Component: | contrib.formtools | Version: | dev |
| Severity: | Normal | Keywords: | FormPreview |
| Cc: | Evstifeev Roman | Triage Stage: | Accepted |
| Has patch: | no | Needs documentation: | yes |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description (last modified by )
There seems to be no way to bind a form to a Form Preview (using request.FILES)...
i tried ignoring the specific warning not to override in preview.py and tried to override the preview_post() method but this did not work.
Additionally this is not documented on http://docs.djangoproject.com/en/dev/ref/contrib/formtools/form-preview/
Change History (5)
comment:1 by , 17 years ago
| milestone: | → 1.0 |
|---|---|
| Triage Stage: | Unreviewed → Design decision needed |
comment:2 by , 17 years ago
| Resolution: | → wontfix |
|---|---|
| Status: | new → closed |
comment:3 by , 16 years ago
| Resolution: | wontfix |
|---|---|
| Status: | closed → reopened |
This should be mentioned in the FormPreview documentation.
comment:4 by , 16 years ago
| Component: | Uncategorized → Documentation |
|---|---|
| milestone: | 1.0 |
Moving out of version milestone:1.0 for triage based on the anonymous comment.
comment:5 by , 15 years ago
| Description: | modified (diff) |
|---|---|
| Triage Stage: | Design decision needed → Accepted |
My this is an old ticket. I had to update the link to the docs in the ticket description, it was that old.
Anyhow, It seems like a reasonable admonition to add to the Form Preview docs as suggested by anonymous.
You can't preview files since you can't pass on filefields as a hidden field or fill in filefields in any browser. Filefields will always have to be filled again.
I would not consider this a bug, just something out of scope for formpreview.