django-bot
|
9c19aff7c7
|
Refs #33476 -- Reformatted code with Black.
|
2022-02-07 20:37:05 +01:00 |
Adam Johnson
|
08d8bccbf1
|
Improved Model.__init__() properties loop.
This improves readability, accumulates unrecognized arguments raise an
exception with all of them, and avoids refetching the values.
|
2022-01-13 11:09:37 +01:00 |
Simon Charette
|
7f63b894c0
|
Adjusted code style of a few test data setup methods.
Thanks Mariusz for suggesting it.
|
2018-11-27 09:48:22 -05:00 |
Simon Charette
|
84e7a9f4a7
|
Switched setUp() to setUpTestData() where possible in Django's tests.
|
2018-11-27 09:35:17 -05:00 |
Federico Bond
|
4c36414323
|
Fixed #29517 -- Rephrased error message when passing incorrect kwarg to model constructor
|
2018-06-25 09:30:58 +02:00 |
Claude Paroz
|
d7b9aaa366
|
Refs #23919 -- Removed encoding preambles and future imports
|
2017-01-18 09:55:19 +01:00 |
Hasan
|
3d0dcd7f5a
|
Refs #26022 -- Used context manager version of assertRaises in tests.
|
2016-01-29 12:32:18 -05:00 |
Joshua Phillips
|
16baec5c8a
|
Fixed #25910 -- Rejected read-only property names in model constructors.
|
2016-01-22 13:27:11 -05:00 |
Alex Gaynor
|
10a09b8e60
|
Fixed the use of the -ise suffix, where -ize is prefered
|
2013-11-15 05:23:14 -08:00 |
Alex Gaynor
|
f67e18f39e
|
Fixed all E251 violations
|
2013-11-03 10:17:58 -08:00 |
Claude Paroz
|
5c1143910e
|
Removed most of absolute_import imports
Should be unneeded with Python 2.7 and up.
Added some unicode_literals along the way.
|
2013-07-29 20:28:13 +02:00 |
Florian Apolloner
|
89f40e3624
|
Merged regressiontests and modeltests into the test root.
|
2013-02-26 14:36:57 +01:00 |