#12392: Create_object generic view does not provide a way to pre-populate a form -----------------------------------------------------+---------------------- Reporter: [email protected] | Owner: nobody Status: new | Milestone: Component: Generic views | Version: 1.1 Keywords: pre-populate, generic, view, dictionary | Stage: Unreviewed Has_patch: 0 | -----------------------------------------------------+---------------------- To my knowledge which may be limited there is no simple way to pre- populate a form that is being used in a generic view for creating an object. It would be fantastic to be able to pass a dictionary of values to to create object method so that when the form is rendered this dictionary of values gets pre-populated in the form.
I apologise if this is an erroneous ticket. My experience with Django is limited however I have spent a lot of time reading the documentation and reading through the Django source code without having found any simple way of doing this. -- Ticket URL: <http://code.djangoproject.com/ticket/12392> Django <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.
