.. |
aggregation
|
afd040d4d3
Updated test assertions that have been deprecated by the move to unittest2. In summary, this means:
|
il y a 14 ans |
basic
|
4a15719405
Migrated basic doctests. Thanks to Preston Timmons for the patch.
|
il y a 14 ans |
choices
|
7543eb95e6
Converted doctest to unittest. Patch by Alex Gaynor.
|
il y a 14 ans |
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.
|
il y a 14 ans |
custom_managers
|
ca90d158d2
Migrated the custom_managers tests. Thanks to Alex Gaynor.
|
il y a 14 ans |
custom_methods
|
b26f1d4664
Migrated custom_methods doctests. Thanks to Alex Gaynor.
|
il y a 14 ans |
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.
|
il y a 14 ans |
defer
|
eb8b5dc2d4
Migrated defer doctests. Thanks to Alex Gaynor.
|
il y a 14 ans |
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.
|
il y a 14 ans |
empty
|
45651dcb05
Migrated empty doctests. Thanks to Alex Gaynor.
|
il y a 14 ans |
expressions
|
93cda768ee
Migrated expressions doctests. Thanks to Alex Gaynor.
|
il y a 14 ans |
field_defaults
|
521be8cd9c
Migrated i18n and field_defaults doctests. Thanks to Alex Gaynor.
|
il y a 14 ans |
field_subclassing
|
f17fc56602
Fixed a bunch more tests that were failing in Oracle due to false assumptions about the primary keys of objects.
|
il y a 14 ans |
files
|
b700c3a918
Fixed #15364 -- Ensure files are closed correctly during file tests. Thanks to Mila for the report and patch.
|
il y a 14 ans |
fixtures
|
f17fc56602
Fixed a bunch more tests that were failing in Oracle due to false assumptions about the primary keys of objects.
|
il y a 14 ans |
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.
|
il y a 14 ans |
force_insert_update
|
f1f86e0173
Migrated the force_insert_update tests. Thanks to Alex Gaynor.
|
il y a 14 ans |
generic_relations
|
cd63ce077d
Corrected a suite of test failures when running under postgres.
|
il y a 14 ans |
get_latest
|
14a5e62f86
Migrate get_latest doctests. Thanks to Alex Gaynor.
|
il y a 14 ans |
get_object_or_404
|
19bd2b6f02
Migrated get_object_or_404 doctests. Thanks to Alex Gaynor.
|
il y a 14 ans |
get_or_create
|
80aa4432e6
Fixed #12979 -- allowed using savepoints in TestCase (i.e. tests with transactions disabled), convert the GetOrCreate tests to use this.
|
il y a 14 ans |
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.
|
il y a 14 ans |
lookup
|
9b432cb67b
Fixed #5768 -- Added support for ManyToManyFields and reverse relations in values() and values_list(). Thanks to mrmachine for the patch.
|
il y a 14 ans |
m2m_and_m2o
|
935aa4c6a1
Migrated m2m_intermediary doctests. Thanks to Alex Gaynor.
|
il y a 14 ans |
m2m_intermediary
|
935aa4c6a1
Migrated m2m_intermediary doctests. Thanks to Alex Gaynor.
|
il y a 14 ans |
m2m_multiple
|
21e7987c4c
Migrated m2m_multiple doctests. Thanks to Alex Gaynor.
|
il y a 14 ans |
m2m_recursive
|
2314fadabe
Convert m2m_recursive tests to unittests. We have always been at war with doctests.
|
il y a 14 ans |
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.
|
il y a 14 ans |
m2m_through
|
e0a1e474b6
Migrated m2m_through doctests. Thanks to the anonymous contributor.
|
il y a 14 ans |
m2o_recursive
|
539af4deec
Migrated m2o_recursive and m2o_recursive2 tests, merging them into a single package. Thanks to George Sakkis for the patches.
|
il y a 14 ans |
many_to_many
|
c0cb75ce64
Migrated many-to-many doctests. Thanks to George Sakkis for the patch.
|
il y a 14 ans |
many_to_one
|
634d0a92b8
Migrated many-to-one doctests. Thanks to George Sakkis for the patch.
|
il y a 14 ans |
many_to_one_null
|
9079ecf4d6
Tweak to many_to_one_null doctest to avoid primary key assumptions (causing breakage on PostgreSQL).
|
il y a 14 ans |
model_forms
|
f17fc56602
Fixed a bunch more tests that were failing in Oracle due to false assumptions about the primary keys of objects.
|
il y a 14 ans |
model_formsets
|
9e637d3061
Fixed a number of tests that were failing in Oracle due to false assumptions about the primary keys of objects.
|
il y a 14 ans |
model_inheritance
|
91414c4bb8
Fixed #13206 -- call super().__init__() in Model.__init__ to allow mixins to do things there.
|
il y a 14 ans |
model_inheritance_same_model_name
|
afd040d4d3
Updated test assertions that have been deprecated by the move to unittest2. In summary, this means:
|
il y a 14 ans |
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.
|
il y a 14 ans |
mutually_referential
|
cdfbe79674
Migrated the mutually_referential doctests. Thanks to George Sakkis for the patch.
|
il y a 14 ans |
one_to_one
|
77ec3ce0c4
Migrated one_to_one doctests. Thanks to George Sakkis for the patch. (We have always been at war with doctests)
|
il y a 14 ans |
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.
|
il y a 14 ans |
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.
|
il y a 14 ans |
ordering
|
39595a9e0e
Converted ordering tests from doctests to unittests. We have always been at war with doctests.
|
il y a 14 ans |
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.
|
il y a 14 ans |
properties
|
c830dbe39f
Migrated properties doctests. Thanks to George Sakkis for the patch.
|
il y a 14 ans |
proxy_model_inheritance
|
afd040d4d3
Updated test assertions that have been deprecated by the move to unittest2. In summary, this means:
|
il y a 14 ans |
proxy_models
|
f17fc56602
Fixed a bunch more tests that were failing in Oracle due to false assumptions about the primary keys of objects.
|
il y a 14 ans |
raw_query
|
fd2f18008c
Fixed #14733: no longer "validate" .raw() queries.
|
il y a 14 ans |
reserved_names
|
b7cd1682f5
Migrated reserved_names doctests. Thanks to Eric Florenzano.
|
il y a 14 ans |
reverse_lookup
|
1080937a62
Migrated reverse_lookup doctests. Thanks to Eric Florenzano
|
il y a 14 ans |
save_delete_hooks
|
3879c59074
Converted save_delete_hooks tests from doctests to unittests. We have always been at war with doctests.
|
il y a 14 ans |
select_related
|
cd847db17f
Fixed result ordering assumptions in the select_related tests.
|
il y a 14 ans |
serializers
|
afd040d4d3
Updated test assertions that have been deprecated by the move to unittest2. In summary, this means:
|
il y a 14 ans |
signals
|
5bc0ec4ec4
Removed all usages of deprecated TestCase methods (self.fail*). This removed most of the Warnings emitted (with -Wall) during the test suite.
|
il y a 14 ans |
str
|
2055fdbe97
Migrated str doctests. Thanks to Eric Florenzano.
|
il y a 14 ans |
test_client
|
afd040d4d3
Updated test assertions that have been deprecated by the move to unittest2. In summary, this means:
|
il y a 14 ans |
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.
|
il y a 14 ans |
unmanaged_models
|
afd040d4d3
Updated test assertions that have been deprecated by the move to unittest2. In summary, this means:
|
il y a 14 ans |
update
|
5bc0ec4ec4
Removed all usages of deprecated TestCase methods (self.fail*). This removed most of the Warnings emitted (with -Wall) during the test suite.
|
il y a 14 ans |
user_commands
|
afd040d4d3
Updated test assertions that have been deprecated by the move to unittest2. In summary, this means:
|
il y a 14 ans |
validation
|
afd040d4d3
Updated test assertions that have been deprecated by the move to unittest2. In summary, this means:
|
il y a 14 ans |
validators
|
afd040d4d3
Updated test assertions that have been deprecated by the move to unittest2. In summary, this means:
|
il y a 14 ans |
__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.
|
il y a 19 ans |