| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
generic views.
|
|
|
|
| |
Gives much nicer errors when it fails.
|
|
|
|
|
| |
Added object on SingleObjectMixin returned context,
some code clanup.
|
|
|
|
|
|
|
| |
present in get_context_data kwargs.
This is so MultipleObjectMixin can be used in the same way as
SingleObjectMixin.
|
|
|
|
|
|
|
|
|
|
|
| |
test runner.
Thanks to Preston Timmons for the bulk of the work on the patch, especially
updating Django's own test suite to comply with the requirements of the new
runner. Thanks also to Jannis Leidel and Mahdi Yusuf for earlier work on the
patch and the discovery runner.
Refs #11077, #17032, and #18670.
|
|
|
|
|
|
|
|
| |
'exclude', and added '__all__' shortcut
This also updates all dependent functionality, including modelform_factory
and modelformset_factory, and the generic views `ModelFormMixin`,
`CreateView` and `UpdateView` which gain a new `fields` attribute.
|
| |
|
|
|
|
|
|
| |
contrib.messages
Thanks martinogden for the initial patch and d1ffuz0r for tests.
|
|
|
|
| |
modeltests/regressiontests.
|
|
|