#17464: Ease specifying non-form model attributes with the generic CreateView
-------------------------------+------------------------------------
Reporter: madjar | Owner: madjar
Type: New feature | Status: assigned
Component: Generic views | Version: 1.3
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
-------------------------------+------------------------------------
Comment (by timgraham):
For that particular case, you could override `FormMixin.get_form_kwargs()`
to pass the user to the form.
--
Ticket URL: <https://code.djangoproject.com/ticket/17464#comment:10>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/064.578283c7193b57669b66ea4ad3820a72%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.