.. |
aggregation
|
afd040d4d3
Updated test assertions that have been deprecated by the move to unittest2. In summary, this means:
|
14 жил өмнө |
basic
|
4a15719405
Migrated basic doctests. Thanks to Preston Timmons for the patch.
|
14 жил өмнө |
choices
|
7543eb95e6
Converted doctest to unittest. Patch by Alex Gaynor.
|
14 жил өмнө |
custom_columns
|
a904e55859
Fixed #11509 -- Modified usage of "Web" to match our style guide in various documentation, comments and code. Thanks to timo and Simon Meers for the work on the patch.
|
14 жил өмнө |
custom_managers
|
ca90d158d2
Migrated the custom_managers tests. Thanks to Alex Gaynor.
|
14 жил өмнө |
custom_methods
|
b26f1d4664
Migrated custom_methods doctests. Thanks to Alex Gaynor.
|
14 жил өмнө |
custom_pk
|
227c5e80db
Fixed #11319 - Added lookup support for ForeignKey.to_field. Also reverted no-longer-needed model formsets workaround for lack of such support from r10756. Thanks Russell and Alex for review.
|
14 жил өмнө |
defer
|
eb8b5dc2d4
Migrated defer doctests. Thanks to Alex Gaynor.
|
14 жил өмнө |
delete
|
616b30227d
Fixed #7539, #13067 -- Added on_delete argument to ForeignKey to control cascade behavior. Also refactored deletion for efficiency and code clarity. Many thanks to Johannes Dollinger and Michael Glassford for extensive work on the patch, and to Alex Gaynor, Russell Keith-Magee, and Jacob Kaplan-Moss for review.
|
14 жил өмнө |
empty
|
45651dcb05
Migrated empty doctests. Thanks to Alex Gaynor.
|
14 жил өмнө |
expressions
|
93cda768ee
Migrated expressions doctests. Thanks to Alex Gaynor.
|
14 жил өмнө |
field_defaults
|
521be8cd9c
Migrated i18n and field_defaults doctests. Thanks to Alex Gaynor.
|
14 жил өмнө |
field_subclassing
|
222c732616
Fixed #10728 -- corrected subclassing of Fields who use the SubfieldBase metaclass. Thanks to G2P and George Sakkis for their work on the patch.
|
14 жил өмнө |
files
|
b700c3a918
Fixed #15364 -- Ensure files are closed correctly during file tests. Thanks to Mila for the report and patch.
|
14 жил өмнө |
fixtures
|
5c86831ac5
Tiny doc fix. Thanks kizzo.
|
14 жил өмнө |
fixtures_model_package
|
6ad4b328fa
Pass commit=False to loaddata in tests, which will keep the DB connection open. Closing the connection has the side-effect on some DBs (Postgres, MySQL/InnoDB) of rolling back the transaction that was in progress, causing these tests to fail.
|
14 жил өмнө |
force_insert_update
|
f1f86e0173
Migrated the force_insert_update tests. Thanks to Alex Gaynor.
|
14 жил өмнө |
generic_relations
|
cd63ce077d
Corrected a suite of test failures when running under postgres.
|
14 жил өмнө |
get_latest
|
14a5e62f86
Migrate get_latest doctests. Thanks to Alex Gaynor.
|
14 жил өмнө |
get_object_or_404
|
19bd2b6f02
Migrated get_object_or_404 doctests. Thanks to Alex Gaynor.
|
14 жил өмнө |
get_or_create
|
80aa4432e6
Fixed #12979 -- allowed using savepoints in TestCase (i.e. tests with transactions disabled), convert the GetOrCreate tests to use this.
|
14 жил өмнө |
invalid_models
|
a43c2f50c2
Fixed #7726 -- Added validation of max_digits and decimal_places options to DecimalField model field. Thanks theevilgeek for the report and elbarto for the patch.
|
14 жил өмнө |
lookup
|
9b432cb67b
Fixed #5768 -- Added support for ManyToManyFields and reverse relations in values() and values_list(). Thanks to mrmachine for the patch.
|
14 жил өмнө |
m2m_and_m2o
|
935aa4c6a1
Migrated m2m_intermediary doctests. Thanks to Alex Gaynor.
|
14 жил өмнө |
m2m_intermediary
|
935aa4c6a1
Migrated m2m_intermediary doctests. Thanks to Alex Gaynor.
|
14 жил өмнө |
m2m_multiple
|
21e7987c4c
Migrated m2m_multiple doctests. Thanks to Alex Gaynor.
|
14 жил өмнө |
m2m_recursive
|
2314fadabe
Convert m2m_recursive tests to unittests. We have always been at war with doctests.
|
14 жил өмнө |
m2m_signals
|
102d230f94
Converted m2m_signals from doctests to unittests. Thanks to Gregor Müllegger for the patch. We have always been at war with doctests.
|
14 жил өмнө |
m2m_through
|
e0a1e474b6
Migrated m2m_through doctests. Thanks to the anonymous contributor.
|
14 жил өмнө |
m2o_recursive
|
539af4deec
Migrated m2o_recursive and m2o_recursive2 tests, merging them into a single package. Thanks to George Sakkis for the patches.
|
14 жил өмнө |
many_to_many
|
c0cb75ce64
Migrated many-to-many doctests. Thanks to George Sakkis for the patch.
|
14 жил өмнө |
many_to_one
|
634d0a92b8
Migrated many-to-one doctests. Thanks to George Sakkis for the patch.
|
14 жил өмнө |
many_to_one_null
|
9079ecf4d6
Tweak to many_to_one_null doctest to avoid primary key assumptions (causing breakage on PostgreSQL).
|
14 жил өмнө |
model_forms
|
e5dfc6cf94
Revert [15653], which was absolutely not ready to be committed.
|
14 жил өмнө |
model_formsets
|
afd040d4d3
Updated test assertions that have been deprecated by the move to unittest2. In summary, this means:
|
14 жил өмнө |
model_inheritance
|
91414c4bb8
Fixed #13206 -- call super().__init__() in Model.__init__ to allow mixins to do things there.
|
14 жил өмнө |
model_inheritance_same_model_name
|
afd040d4d3
Updated test assertions that have been deprecated by the move to unittest2. In summary, this means:
|
14 жил өмнө |
model_package
|
c20f2f2ac9
Fixed #14473 -- converted the model_package tests from doctests to unitests. We have always been at war with doctests. Thanks to Gabriel Hurley for the patch.
|
14 жил өмнө |
mutually_referential
|
cdfbe79674
Migrated the mutually_referential doctests. Thanks to George Sakkis for the patch.
|
14 жил өмнө |
one_to_one
|
77ec3ce0c4
Migrated one_to_one doctests. Thanks to George Sakkis for the patch. (We have always been at war with doctests)
|
14 жил өмнө |
or_lookups
|
7408f5098b
Converted or_lookups tests from doctests to unittests. We have always been at war with doctests. Thanks to Paul Tax for the patch.
|
14 жил өмнө |
order_with_respect_to
|
ccc43508e3
Fixed #13241. order_with_respect_to now works with ForeignKeys who refer to their model lazily (i.e. with a string). Thanks to Gabriel Grant for the patch.
|
14 жил өмнө |
ordering
|
39595a9e0e
Converted ordering tests from doctests to unittests. We have always been at war with doctests.
|
14 жил өмнө |
pagination
|
103a201449
Fixed #14444 -- Convert the pagination doctests to unittests. We have always been at war with doctests. Thanks to Gabriel Hurley for the patch.
|
14 жил өмнө |
properties
|
c830dbe39f
Migrated properties doctests. Thanks to George Sakkis for the patch.
|
14 жил өмнө |
proxy_model_inheritance
|
afd040d4d3
Updated test assertions that have been deprecated by the move to unittest2. In summary, this means:
|
14 жил өмнө |
proxy_models
|
17c097b166
Migrated proxy_models doctests. Thanks to Eric Florenzano.
|
14 жил өмнө |
raw_query
|
afd040d4d3
Updated test assertions that have been deprecated by the move to unittest2. In summary, this means:
|
14 жил өмнө |
reserved_names
|
b7cd1682f5
Migrated reserved_names doctests. Thanks to Eric Florenzano.
|
14 жил өмнө |
reverse_lookup
|
1080937a62
Migrated reverse_lookup doctests. Thanks to Eric Florenzano
|
14 жил өмнө |
save_delete_hooks
|
3879c59074
Converted save_delete_hooks tests from doctests to unittests. We have always been at war with doctests.
|
14 жил өмнө |
select_related
|
cd847db17f
Fixed result ordering assumptions in the select_related tests.
|
14 жил өмнө |
serializers
|
afd040d4d3
Updated test assertions that have been deprecated by the move to unittest2. In summary, this means:
|
14 жил өмнө |
signals
|
5bc0ec4ec4
Removed all usages of deprecated TestCase methods (self.fail*). This removed most of the Warnings emitted (with -Wall) during the test suite.
|
14 жил өмнө |
str
|
2055fdbe97
Migrated str doctests. Thanks to Eric Florenzano.
|
14 жил өмнө |
test_client
|
afd040d4d3
Updated test assertions that have been deprecated by the move to unittest2. In summary, this means:
|
14 жил өмнө |
transactions
|
01e2be557b
Fixed #14550 -- fixed the behavior of commit_on_success to exit the transaction properly. This was a bug introduced in [14288]. Thanks to Justin for the report and Florian Apolloner for help debugging.
|
14 жил өмнө |
unmanaged_models
|
afd040d4d3
Updated test assertions that have been deprecated by the move to unittest2. In summary, this means:
|
14 жил өмнө |
update
|
5bc0ec4ec4
Removed all usages of deprecated TestCase methods (self.fail*). This removed most of the Warnings emitted (with -Wall) during the test suite.
|
14 жил өмнө |
user_commands
|
afd040d4d3
Updated test assertions that have been deprecated by the move to unittest2. In summary, this means:
|
14 жил өмнө |
validation
|
afd040d4d3
Updated test assertions that have been deprecated by the move to unittest2. In summary, this means:
|
14 жил өмнө |
validators
|
afd040d4d3
Updated test assertions that have been deprecated by the move to unittest2. In summary, this means:
|
14 жил өмнө |
__init__.py
|
f69cf70ed8
MERGED MAGIC-REMOVAL BRANCH TO TRUNK. This change is highly backwards-incompatible. Please read http://code.djangoproject.com/wiki/RemovingTheMagic for upgrade instructions.
|
19 жил өмнө |