| Age | Commit message (Collapse) | Author |
|
|
|
Found cases where testing code was doing
try:
whatever
except (some excption type):
self.fail("exception shouldn't be thrown")
replaced it with just
whatever
as this makes the unexpected errors easier to debug, and the tests
would fail just as much and aren't rendered less readable.
Thanks Markus Holtermann for review
|
|
Refs #22728 - Added missing tests for defaults__exact case
|
|
No tests are provided because there is no sane way to test database
settings within the Django test suite.
Thanks Aymeric Augustin for review.
|
|
|
|
|
|
|
|
This was implemented for non-SQLite backends in 1.7 (as a
side effect of #16187).
|
|
|
|
|
|
Updated the command to match the documentation, which states it
runs over all .po files.
|
|
Provide `contained_by` lookups for the equivalent single valued fields
related to the range field types. This acts as the opposite direction to
rangefield__contains.
With thanks to schinckel for the idea and initial tests.
|
|
|
|
Thanks rhertzog and Björn Påhlsson for the suggestion.
|
|
Renamed the mime_type properties of RssFeed and Atom1Feed to
content_type and start deprecation for the old names.
|
|
|
|
By specifying form_kwargs when instantiating the formset, or overriding
the `get_form_kwargs` method on a formset class, you can pass extra
keyword arguments to the underlying `Form` instances.
Includes tests and documentation update.
|
|
This is consistent with CharField.
|
|
|
|
|
|
|
|
|
|
Obsolete after 36e90d1f45a13f53ce25fdc2d9c04433b835c9af
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
deleting objects.
|
|
primary_key=True to unique=True
|
|
PostgreSQL
|
|
X-Frame-Options header.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Thanks Tomáš Ehrlich for help with the patch.
|
|
Optimise tutorial images
|
|
|