#4363: Formpreview doesn't support newform's dynamic initial values
-----------------------+----------------------------------------------------
Reporter: Indy | Owner: nobody
Status: new | Component: django.contrib.formtools
Version: SVN | Resolution:
Keywords: preview | Stage: Unreviewed
Has_patch: 1 | Needs_docs: 0
Needs_tests: 0 | Needs_better_patch: 0
-----------------------+----------------------------------------------------
Changes (by Honza_Kral):
* needs_better_patch: => 0
* needs_tests: => 0
* needs_docs: => 0
Comment:
Why not make this a bit more generic? If you look at #3218 (shameless
promotion), it has this fixed - it can cope with initial data (via
{{{self.initial}}}), custom rendering mechanisms etc.
Wouldn't it make more sense to build a common super class for
{{{FormPreview}}} and {{{Wizard}}}? There is some shared code in already
and since both classes are used in a very similar manner, it would make
sense to refactor the common parts out. I will be happy to do the work.
--
Ticket URL: <http://code.djangoproject.com/ticket/4363#comment:1>
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
-~----------~----~----~----~------~----~------~--~---