Opened 16 years ago

Last modified 10 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 Gabriel Hurley)

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 Eric Holscher, 16 years ago

milestone: 1.0
Triage Stage: UnreviewedDesign decision needed

comment:2 by oyvind, 16 years ago

Resolution: wontfix
Status: newclosed

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.

comment:3 by anonymous, 15 years ago

Resolution: wontfix
Status: closedreopened

This should be mentioned in the FormPreview documentation.

comment:4 by Adam Nelson, 15 years ago

Component: UncategorizedDocumentation
milestone: 1.0

Moving out of version milestone:1.0 for triage based on the anonymous comment.

comment:5 by Gabriel Hurley, 14 years ago

Description: modified (diff)
Triage Stage: Design decision neededAccepted

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.

Note: See TracTickets for help on using tickets.
Back to Top