Bas Peschier 23a5d64f40 Fixed #13525 -- Added tests and docs for nested parameters in URL patterns. 10 年之前
..
absolute_url_overrides c32bc1a7a7 Fixed #11775 -- Made ABSOLUTE_URL_OVERRIDES work with models that don't define get_absolute_url(). 10 年之前
admin_autodiscover 0ed7d15563 Sorted imports with isort; refs #23860. 10 年之前
admin_changelist eb5ebcc2d0 Fixed #24285 -- Made for_user argument optional for {% get_admin_log %} tag 10 年之前
admin_checks 19188826b4 Fixed #24146 -- Allowed model._meta.get_field() to be used after apps.models_ready 10 年之前
admin_custom_urls 39a7eed1bb Converted test fixtures to setUpTestData methods 10 年之前
admin_docs 39a7eed1bb Converted test fixtures to setUpTestData methods 10 年之前
admin_filters 0ed7d15563 Sorted imports with isort; refs #23860. 10 年之前
admin_inlines 82f7bee1d5 Fixed admin selenium tests broken by removal of fixtures. 10 年之前
admin_ordering 0ed7d15563 Sorted imports with isort; refs #23860. 10 年之前
admin_registration 0ed7d15563 Sorted imports with isort; refs #23860. 10 年之前
admin_scripts 934400759d Guaranteed removal of temporary files during tests. 10 年之前
admin_utils 0ed7d15563 Sorted imports with isort; refs #23860. 10 年之前
admin_views aea02ddfb7 Fixed #24490 -- Set LogEntry.change_message when adding an object. 10 年之前
admin_widgets 82f7bee1d5 Fixed admin selenium tests broken by removal of fixtures. 10 年之前
aggregation 39a7eed1bb Converted test fixtures to setUpTestData methods 10 年之前
aggregation_regress fb146193c4 Fixed #24171 -- Fixed failure with complex aggregate query and expressions 10 年之前
annotations 02a2943e4c Fixed #24485 -- Allowed combined expressions to set output_field 10 年之前
app_loading 0ed7d15563 Sorted imports with isort; refs #23860. 10 年之前
apps 307c0f299a Refs #24324 -- Fixed Python 2 test failures when path to Django source contains non-ASCII characters. 10 年之前
auth_tests 0ed20d5cc4 Fixed #23926 -- Improved validation error for custom permissions that are too long. 10 年之前
backends 3adc5f1ee6 Fixed #24335 -- Bumped required psycopg2 version to 2.4.5 (2.5 for contrib.postgres). 10 年之前
base 1716b7ce5a Renamed AppCache to Apps. 11 年之前
bash_completion 7e8cf74dc7 Removed support for syncing apps without migrations per deprecation timeline. 10 年之前
basic 5cf96b49e4 Fixed #24418 -- Prevented crash in refresh_from_db with null fk 10 年之前
builtin_server 0ed7d15563 Sorted imports with isort; refs #23860. 10 年之前
bulk_create 0ed7d15563 Sorted imports with isort; refs #23860. 10 年之前
cache 34fb909180 Fixed #12982 -- Added a get_or_set() method to the BaseCache backend. 10 年之前
check_framework c970018f41 Removed Django 1.7 MIDDLEWARE_CLASSES upgrade check. 10 年之前
choices 0ed7d15563 Sorted imports with isort; refs #23860. 10 年之前
conditional_processing 0ed7d15563 Sorted imports with isort; refs #23860. 10 年之前
contenttypes_tests 81e1a35c36 Fixed #24495 -- Allowed unsaved model instance assignment check to be bypassed. 10 年之前
context_processors 0ed7d15563 Sorted imports with isort; refs #23860. 10 年之前
createsuperuser 494ba051bb Made testing of stdout and stderr more consistent. 10 年之前
csrf_tests 668d53cd12 Fixed #21495 -- Added settings.CSRF_HEADER_NAME 10 年之前
custom_columns 0ed7d15563 Sorted imports with isort; refs #23860. 10 年之前
custom_lookups 0ed7d15563 Sorted imports with isort; refs #23860. 10 年之前
custom_managers 0ed7d15563 Sorted imports with isort; refs #23860. 10 年之前
custom_methods 2f3a4cd573 Removed numbering from the models.py header of some test packages. 10 年之前
custom_migration_operations 862ea825b5 Fixed #24093 -- Prevented MigrationWriter to write operation kwargs that are not explicitly deconstructed 10 年之前
custom_pk 32d4db66b9 Update converters to take a consistent set of parameters. 10 年之前
datatypes f7969b0920 Fixed #23620 -- Used more specific assertions in the Django test suite. 10 年之前
dates 0ed7d15563 Sorted imports with isort; refs #23860. 10 年之前
datetimes 0ed7d15563 Sorted imports with isort; refs #23860. 10 年之前
db_functions e2d6e14662 Refs #14030 -- Improved expression support for python values 10 年之前
db_typecasts 0ed7d15563 Sorted imports with isort; refs #23860. 10 年之前
dbshell 01801edd37 Fixed #22646: Added support for the MySQL ssl-ca option to dbshell. 10 年之前
decorators 0ed7d15563 Sorted imports with isort; refs #23860. 10 年之前
defer 0ed7d15563 Sorted imports with isort; refs #23860. 10 年之前
defer_regress 0ed7d15563 Sorted imports with isort; refs #23860. 10 年之前
delete 81c2d9f60b Fixed #15579 -- Added ability to delete only child models in multi-table inheritance. 10 年之前
delete_regress 0ed7d15563 Sorted imports with isort; refs #23860. 10 年之前
deprecation f0a1df0b01 Removed deprecated Chinese language codes; refs #18149. 10 年之前
dispatch 0ed7d15563 Sorted imports with isort; refs #23860. 10 年之前
distinct_on_fields 0ed7d15563 Sorted imports with isort; refs #23860. 10 年之前
empty f7969b0920 Fixed #23620 -- Used more specific assertions in the Django test suite. 10 年之前
expressions 02a2943e4c Fixed #24485 -- Allowed combined expressions to set output_field 10 年之前
expressions_case ceaf31adff Fixed #24420 -- Allowed ordering by case expressions 10 年之前
extra_regress 0ed7d15563 Sorted imports with isort; refs #23860. 10 年之前
field_deconstruction b4a56ed4f5 Refs #24483 -- Added a test for deconstruction of Field.choices 10 年之前
field_defaults f7969b0920 Fixed #23620 -- Used more specific assertions in the Django test suite. 10 年之前
field_subclassing 0ed7d15563 Sorted imports with isort; refs #23860. 10 年之前
file_storage 934400759d Guaranteed removal of temporary files during tests. 10 年之前
file_uploads a8fe12417f Normalized usage of the tempfile module. 10 年之前
files 934400759d Guaranteed removal of temporary files during tests. 10 年之前
fixtures 90b069c33f Prevented some tests from writing in the CWD. 10 年之前
fixtures_model_package 4aa089a9a9 Removed support for custom SQL per deprecation timeline. 10 年之前
fixtures_regress b8d6cdbcc9 Refs #24324 -- Skipped fixtures_regress tests that fail on Python 2 on a non-ASCII path. 10 年之前
flatpages_tests 0339844b70 Fixed #24476 -- Added context manager/decorator for overriding script prefix. 10 年之前
force_insert_update 0ed7d15563 Sorted imports with isort; refs #23860. 10 年之前
foreign_object 0ed7d15563 Sorted imports with isort; refs #23860. 10 年之前
forms_tests 28986da4ca Fixed #5986 -- Added ability to customize order of Form fields 10 年之前
from_db_value 32d4db66b9 Update converters to take a consistent set of parameters. 10 年之前
generic_inline_admin 39a7eed1bb Converted test fixtures to setUpTestData methods 10 年之前
generic_relations 0ed7d15563 Sorted imports with isort; refs #23860. 10 年之前
generic_relations_regress 0ed7d15563 Sorted imports with isort; refs #23860. 10 年之前
generic_views a0c2eb46dd Fixed #23960 -- Removed http.fix_location_header 10 年之前
get_earliest_or_latest 0ed7d15563 Sorted imports with isort; refs #23860. 10 年之前
get_object_or_404 0ed7d15563 Sorted imports with isort; refs #23860. 10 年之前
get_or_create 0ed7d15563 Sorted imports with isort; refs #23860. 10 年之前
gis_tests a6bada1ee0 Revert "Removed unneeded app_label definitions in gis_tests" 10 年之前
handlers 336512fae7 Fixed #23173 -- Fixed incorrect stripping of SCRIPT_URL 10 年之前
http_utils a0c2eb46dd Fixed #23960 -- Removed http.fix_location_header 10 年之前
httpwrappers efb1f99f94 Fixed #20889 -- Prevented BadHeaderError when Python inserts newline 10 年之前
humanize_tests 8192a164de Moved contrib.humanize tests out of contrib. 10 年之前
i18n 9e83f30cd3 Fixed #24515 -- Fixed DjangoTranslation plural handling 10 年之前
import_error_package c0cc8f69e7 Refactored tests that rely on an ImportError for Python 3.5 compatibility 10 年之前
indexes 8ca35d7c6a Fixed Oracle build failure introduced by refs #24390. 10 年之前
inline_formsets 0ed7d15563 Sorted imports with isort; refs #23860. 10 年之前
inspectdb 33457cd3b0 Removed IPAddressField per deprecation timeline; refs #20439. 10 年之前
introspection db77915c9f Fixed E265 comment style 10 年之前
invalid_models_tests f2e4d39a71 Switched to use assertEqual instead of assertEquals. 10 年之前
known_related_objects 39a7eed1bb Converted test fixtures to setUpTestData methods 10 年之前
logging_tests 0ed7d15563 Sorted imports with isort; refs #23860. 10 年之前
lookup 0ed7d15563 Sorted imports with isort; refs #23860. 10 年之前
m2m_and_m2o 0ed7d15563 Sorted imports with isort; refs #23860. 10 年之前
m2m_intermediary 0ed7d15563 Sorted imports with isort; refs #23860. 10 年之前
m2m_multiple 2f3a4cd573 Removed numbering from the models.py header of some test packages. 10 年之前
m2m_recursive 2f3a4cd573 Removed numbering from the models.py header of some test packages. 10 年之前
m2m_regress 0ed7d15563 Sorted imports with isort; refs #23860. 10 年之前
m2m_signals 82ec05fcc9 Refs #18586 -- Split up tests/m2m_signals 10 年之前
m2m_through 0ed7d15563 Sorted imports with isort; refs #23860. 10 年之前
m2m_through_regress 0ed7d15563 Sorted imports with isort; refs #23860. 10 年之前
m2o_recursive 2f3a4cd573 Removed numbering from the models.py header of some test packages. 10 年之前
mail a3e75f6bed Removed unused imports. 10 年之前
managers_regress 0ed7d15563 Sorted imports with isort; refs #23860. 10 年之前
many_to_many c5a77721e2 Merged ManyRelatedObjectsDescriptor and ReverseManyRelatedObjectsDescriptor 10 年之前
many_to_one 81e1a35c36 Fixed #24495 -- Allowed unsaved model instance assignment check to be bypassed. 10 年之前
many_to_one_null 71ada3a8e6 Fixed #6707 -- Added RelatedManager.set() and made descriptors' __set__ use it. 10 年之前
max_lengths 0ed7d15563 Sorted imports with isort; refs #23860. 10 年之前
messages_tests b3cd9e0d07 Moved contrib.messages tests out of contrib. 10 年之前
middleware a0c2eb46dd Fixed #23960 -- Removed http.fix_location_header 10 年之前
middleware_exceptions 0ed7d15563 Sorted imports with isort; refs #23860. 10 年之前
migrate_signals 0ed7d15563 Sorted imports with isort; refs #23860. 10 年之前
migration_test_data_persistence 0ed7d15563 Sorted imports with isort; refs #23860. 10 年之前
migrations 8758a63ddb Fixed #24427 -- Stopped writing migration files in dry run mode when merging. 10 年之前
migrations2 d7ab2cefb7 Revert "Fixed #23474 -- Prevented migrating backwards from unapplying the wrong migrations." 10 年之前
model_fields 934400759d Guaranteed removal of temporary files during tests. 10 年之前
model_forms b4a1bb8669 Updated test to be date-independent 10 年之前
model_formsets 4c2f546b55 Fixed #24395 -- Ensured inline ModelsForms have an updated related instance. 10 年之前
model_formsets_regress 0ed7d15563 Sorted imports with isort; refs #23860. 10 年之前
model_inheritance 0ed7d15563 Sorted imports with isort; refs #23860. 10 年之前
model_inheritance_regress 0ed7d15563 Sorted imports with isort; refs #23860. 10 年之前
model_meta bad5f262bf Fixed #24328 -- cleaned up Options._get_fields() implementation 10 年之前
model_options 0ed7d15563 Sorted imports with isort; refs #23860. 10 年之前
model_package 0ed7d15563 Sorted imports with isort; refs #23860. 10 年之前
model_permalink 0ed7d15563 Sorted imports with isort; refs #23860. 10 年之前
model_regress a8fe12417f Normalized usage of the tempfile module. 10 年之前
model_validation 0ed7d15563 Sorted imports with isort; refs #23860. 10 年之前
modeladmin 0ed7d15563 Sorted imports with isort; refs #23860. 10 年之前
multiple_database fa5f936b48 Fixed allow_migrate signature in one of the tests. 10 年之前
mutually_referential 2f3a4cd573 Removed numbering from the models.py header of some test packages. 10 年之前
nested_foreign_keys 0ed7d15563 Sorted imports with isort; refs #23860. 10 年之前
no_models 1716b7ce5a Renamed AppCache to Apps. 11 年之前
null_fk 0ed7d15563 Sorted imports with isort; refs #23860. 10 年之前
null_fk_ordering 0ed7d15563 Sorted imports with isort; refs #23860. 10 年之前
null_queries 0ed7d15563 Sorted imports with isort; refs #23860. 10 年之前
one_to_one 81e1a35c36 Fixed #24495 -- Allowed unsaved model instance assignment check to be bypassed. 10 年之前
or_lookups 2f3a4cd573 Removed numbering from the models.py header of some test packages. 10 年之前
order_with_respect_to 0ed7d15563 Sorted imports with isort; refs #23860. 10 年之前
ordering f218a2ff45 Refs #24060 -- Added a test demonstrating reverse order isn't mutable 10 年之前
pagination 0ed7d15563 Sorted imports with isort; refs #23860. 10 年之前
postgres_tests 1d1d5d1c31 Fixed #24341 -- Added specific error messages to RangeField subclasses 10 年之前
prefetch_related db77915c9f Fixed E265 comment style 10 年之前
project_template 50c1d8f24b Added a test to verify headers set by default middleware; refs #23939. 10 年之前
properties 2f3a4cd573 Removed numbering from the models.py header of some test packages. 10 年之前
proxy_model_inheritance 0ed7d15563 Sorted imports with isort; refs #23860. 10 年之前
proxy_models 39a7eed1bb Converted test fixtures to setUpTestData methods 10 年之前
queries 0ed7d15563 Sorted imports with isort; refs #23860. 10 年之前
queryset_pickle f95122e541 Fixed #24381 -- removed ForeignObjectRel opts and to_opts 10 年之前
raw_query 39a7eed1bb Converted test fixtures to setUpTestData methods 10 年之前
redirects_tests 00da46091a Moved contrib.redirects tests out of contrib. 10 年之前
requests 0ed7d15563 Sorted imports with isort; refs #23860. 10 年之前
requirements 3adc5f1ee6 Fixed #24335 -- Bumped required psycopg2 version to 2.4.5 (2.5 for contrib.postgres). 10 年之前
reserved_names 2f3a4cd573 Removed numbering from the models.py header of some test packages. 10 年之前
resolve_url 0ed7d15563 Sorted imports with isort; refs #23860. 10 年之前
responses d861f95c44 Fixed #24139 -- Changed HttpResponse.reason_phrase to evaluate based on status_code. 10 年之前
reverse_lookup 0ed7d15563 Sorted imports with isort; refs #23860. 10 年之前
save_delete_hooks 2f3a4cd573 Removed numbering from the models.py header of some test packages. 10 年之前
schema f4f0060fea Fixed #24447 -- Made migrations add FK constraints for existing columns 10 年之前
select_for_update 0ed7d15563 Sorted imports with isort; refs #23860. 10 年之前
select_related 0ed7d15563 Sorted imports with isort; refs #23860. 10 年之前
select_related_onetoone 0ed7d15563 Sorted imports with isort; refs #23860. 10 年之前
select_related_regress 0ed7d15563 Sorted imports with isort; refs #23860. 10 年之前
serializers 32d4db66b9 Update converters to take a consistent set of parameters. 10 年之前
serializers_regress 5c995dcfc2 Fixed #24320 - Used field.value_to_string() in serialization of foreign key. 10 年之前
servers c8074d62f8 Fixed typo in error message in the test. 10 年之前
sessions_tests 8a481498aa Fixed #24468 -- Made signed cookies cache backend resilient to unpickling exceptions. 10 年之前
settings_tests 0ed7d15563 Sorted imports with isort; refs #23860. 10 年之前
shortcuts 0ed7d15563 Sorted imports with isort; refs #23860. 10 年之前
signals f957e2b04c Added a test for model pre/post_init signals. 10 年之前
signed_cookies_tests 994d6137a2 Fixed #23792 -- Added test.utils.freeze_time() context manager. 10 年之前
signing 0ed7d15563 Sorted imports with isort; refs #23860. 10 年之前
sitemaps_tests f668bac9d2 Fixed #24345 -- Isolated sitemaps_tests from contenttypes_tests; refs #11505 10 年之前
sites_framework 0ed7d15563 Sorted imports with isort; refs #23860. 10 年之前
sites_tests 818182b514 Fixed #24488 -- Made create_default_site() use default pk of 1. 10 年之前
staticfiles_tests 389baccac5 Fixed staticfiles test on Windows; refs #23986. 10 年之前
str 2f3a4cd573 Removed numbering from the models.py header of some test packages. 10 年之前
string_lookup 0ed7d15563 Sorted imports with isort; refs #23860. 10 年之前
swappable_models 0ed7d15563 Sorted imports with isort; refs #23860. 10 年之前
syndication_tests 39a7eed1bb Converted test fixtures to setUpTestData methods 10 年之前
template_backends 6bff343989 Refs #24469 -- Fixed escaping of forms, fields, and media in non-Django templates. 10 年之前
template_loader 0ed7d15563 Sorted imports with isort; refs #23860. 10 年之前
template_tests 55f12f8709 Cleaned up the template debug implementation. 10 年之前
templates 1827aa9024 Cleaned up template loader tests. 10 年之前
test_client a0c2eb46dd Fixed #23960 -- Removed http.fix_location_header 10 年之前
test_client_regress a0c2eb46dd Fixed #23960 -- Removed http.fix_location_header 10 年之前
test_discovery_sample bc6caa5d45 Made a doctest compatible with Python 2 10 年之前
test_discovery_sample2 e22c64dfc0 Fixed #23742 -- Added an option to reverse tests order. 10 年之前
test_exceptions cfa26f29bd Reduced reduce() usage; refs #23796. 10 年之前
test_runner 307c0f299a Refs #24324 -- Fixed Python 2 test failures when path to Django source contains non-ASCII characters. 10 年之前
test_runner_deprecation_app 0c6a339952 Avoided changing raw DeprecationWarning filter behavior 11 年之前
test_utils 0ed7d15563 Sorted imports with isort; refs #23860. 10 年之前
timezones 39a7eed1bb Converted test fixtures to setUpTestData methods 10 年之前
transactions 0ed7d15563 Sorted imports with isort; refs #23860. 10 年之前
unmanaged_models 0ed7d15563 Sorted imports with isort; refs #23860. 10 年之前
update 0ed7d15563 Sorted imports with isort; refs #23860. 10 年之前
update_only_fields 0ed7d15563 Sorted imports with isort; refs #23860. 10 年之前
urlpatterns_reverse 23a5d64f40 Fixed #13525 -- Added tests and docs for nested parameters in URL patterns. 10 年之前
user_commands 197dd4b8f1 Prevented some test commands from needlessly running system checks. 10 年之前
utils_tests 011a54315e Made is_safe_url() reject URLs that start with control characters. 10 年之前
validation 0ed7d15563 Sorted imports with isort; refs #23860. 10 年之前
validators 0ed7d15563 Sorted imports with isort; refs #23860. 10 年之前
version 66ec9ee441 Fixed #22378 -- Updated \d to [0-9]+ in urlpatterns of docs and tests. 11 年之前
view_tests 6bb2175ed6 Fixed #22106 -- Allowed using more than one instance of javascript_catalog per project. 10 年之前
webdesign_tests 8ec306a3a9 Moved contrib.webdesign tests out of contrib. 10 年之前
wsgi 0ed7d15563 Sorted imports with isort; refs #23860. 10 年之前
.coveragerc 41f0d3d3bc Removed FastCGI support per deprecation timeline; refs #20766. 10 年之前
README.rst 82e4f956e3 Fixed #23289 -- Added mock as a test dependency. 10 年之前
runtests.py 934400759d Guaranteed removal of temporary files during tests. 10 年之前
test_sqlite.py 23a5ec0782 Added trailing comma. 10 年之前
urls.py d73d0e071c Fixed #22218 -- Deprecated django.conf.urls.patterns. 11 年之前

README.rst

To run the test suite::

$ cd tests
$ pip install -r requirements/py3.txt # or py2.txt
$ PYTHONPATH=..:$PYTHONPATH ./runtests.py

For more information about the test suite, see
https://docs.djangoproject.com/en/dev/internals/contributing/writing-code/unit-tests/.