This is a very helpful helper if you build and test
documentation updates in your development env.
Copied from CPython's Doc/Makefile.
Without this patch, you couldn't run an individual test
case in template_tests.
Refs #23768
This is a pull request for ticket #23913 that deprecates the "feature" that allows for comparison in if template tag using = operator (instead of ==). There was some dicussion in the t…
Added new attribute and overrideable method to MultipleObjectMixin
to allow easy sorting of the queryset.
Refs #21450.
#21613 , Clarified the previously mysterious magic constant '3'. I researched a bit and there are '3' default choices available, https://docs.djangoproject.com/en/dev/intro/tutorial02/ .
Fixes #21619
I'm not sure if this test is sufficient - I couldn't see an easy way to write a test that would have actually failed previously.
This adds tests to the pull request adds tests to #2007.
There are two commits to make it easy to demonstrate that there is a failing test, which is fixed by the suggested patch. I can squash to a single commit if required.
…ib app.
Thanks yourcelf for the report.
Previously full_clean() used a mixture of total_form_count() and
self.management_form.cleaned_data[TOTAL_FORM_COUNT] which made it harder to
override management form behaviour.
Initial attempt at adding an example of the modelformset_factory's form argument. Feedback welcome.
I tried to write the example so that it could easily be backported to 1.5.X and 1.6.X, for example I don't refer to the new widgets or…
Related to https://code.djangoproject.com/ticket/19431
Related to ticket #19430: https://code.djangoproject.com/ticket/19430