/
vshmidt
/
django
ОбзорДокументацияВойти
/
vshmidt
/
django
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
ДокументацияПоддержка
Политика конфиденциальностиПользовательское соглашениеПолитика использования «cookies»Согласие субъекта персональных данных
2026 ©
django/
tests/
..
absolute_url_overrides

Refs #33476 -- Reformatted code with Black.

5 лет назад
admin_autodiscover

Refs #33476 -- Reformatted code with Black.

5 лет назад
admin_changelist

Fixed #36926 -- Made admin use boolean icons for related BooleanFields in list_display.

5 месяцев назад
admin_checks

Refs #36500 -- Rewrapped long docstrings and block comments via a script.

год назад
admin_custom_urls

Removed double spaces after periods and within phrases.

год назад
admin_default_site

Refs #33476 -- Reformatted code with Black.

5 лет назад
admin_docs

Refs #36005 -- Bumped minimum supported versions of docutils to 0.22.

10 месяцев назад
admin_filters

Modified tests to format PKs with %s rather than %d.

6 месяцев назад
admin_inlines

Fixed #36914 -- Fixed background-color to also apply to select options in TabularInline.

5 месяцев назад
admin_ordering

Fixed #9602 -- Added AdminSite.get_model_admin().

3 года назад
admin_registration

Fixed #373 -- Added CompositePrimaryKey.

2 года назад
admin_scripts

Refs #36936 - Adjusted tests to set PYTHON_COLORS environment variable.

5 месяцев назад
admin_utils

Fixed #36127 -- Applied default empty display value to links otherwise containing only whitespace in admin.

6 месяцев назад
admin_views

Refs CVE-2026-4292 -- Isolated new test in AdminViewListEditable.

4 месяца назад
admin_widgets

Fixed #34643 -- Moved inputs beneath labels and errors in admin forms.

5 месяцев назад
aggregation

Fixed #37028 -- Added BitAnd(), BitOr(), and BitXor() aggregates.

4 месяца назад
aggregation_regress

Fixed #37047 -- Fixed crash in Query.orderby_issubset_groupby for descending and random order_by strings.

4 месяца назад
annotations

Refs #36795 -- Removed unnecessary prohibits_dollar_signs_in_column_aliases feature flag.

5 месяцев назад
app_loading

Used addCleanup() in tests where appropriate.

3 года назад
apps

Fixed #36369 -- Cleared additional cached properties in apps.clear_cache().

год назад
asgi

Fixed CVE-2026-33034 -- Enforced DATA_UPLOAD_MAX_MEMORY_SIZE on body size in ASGI requests.

4 месяца назад
async

Refs #34118 -- Removed asgiref coroutine detection shims.

6 месяцев назад
auth_tests

Fixed #37021 -- Added Permission.user_perm_str property.

4 месяца назад
backends

Fixed #36946 -- Respected test database name when running tests in parallel on SQLite.

5 месяцев назад
base

Sorted imports per isort 4.2.9.

9 лет назад
bash_completion

Applied Black's 2024 stable style.

3 года назад
basic

Refs #28586 - Copied fetch mode in QuerySet.create().

10 месяцев назад
builtin_server

Fixed #33865 -- Optimized LimitedStream wrapper.

4 года назад
bulk_create

Fixed #36702 -- Made bulk_create() return pk values set by an expression.

9 месяцев назад
cache

Refs #36879, #36936 -- Fixed typo in RedisCacheTests.test_client_driver_info.

6 месяцев назад
check_framework

Fixed #36903 -- Fixed further NameErrors when inspecting functions with deferred annotations.

6 месяцев назад
composite_pk

Fixed #20024 -- Fixed handling of __in lookups with None in exclude().

4 месяца назад
conditional_processing

Fixed a typo in tests/conditional_processing/tests.py.

5 месяцев назад
constraints

Fixed #36808 -- Required name argument in UniqueConstraint signature.

8 месяцев назад
contenttypes_tests

Fixed #36839 -- Warned when model renames encounter conflicts from stale ContentTypes.

6 месяцев назад
context_processors

Fixed #15727 -- Added Content Security Policy (CSP) support.

год назад
csrf_tests

Applied Black's 2026 stable style.

7 месяцев назад
custom_columns

Refs #33990 -- Renamed TransactionTestCase.assertQuerysetEqual() to assertQuerySetEqual().

4 года назад
custom_lookups

Refs #35972 -- Returned params in a tuple in further lookups.

9 месяцев назад
custom_managers

Refs #36500 -- Rewrapped long docstrings and block comments via a script.

год назад
custom_methods

Refs #33990 -- Renamed TransactionTestCase.assertQuerysetEqual() to assertQuerySetEqual().

4 года назад
custom_migration_operations

Fixed #35175 -- Made migraton writer preserve keyword-only arguments.

3 года назад
custom_pk

Refs #10785 -- Added missing __hash__() method to custom pk test model.

год назад
datatypes

Refs #36500 -- Rewrapped long docstrings and block comments via a script.

год назад
dates

Replaced assertQuerysetEqual() to assertSequenceEqual()/assertCountEqual() where appropriate.

4 года назад
datetimes

Refs #32365 -- Removed support for pytz timezones per deprecation timeline.

4 года назад
db_functions

Refs #36735 -- Adjusted UUID7 assertions for timezone shifts.

5 месяцев назад
db_typecasts

Refs #33476 -- Reformatted code with Black.

5 лет назад
db_utils

Applied Black's 2024 stable style.

3 года назад
dbshell

Fixed #18392 -- Changed default mysql encoding to "utf8mb4".

2 года назад
decorators

Fixed #36293 -- Avoided buffering streaming responses in GZipMiddleware.

5 месяцев назад
defer

Fixed #37036 -- Added missing flat=True arg in DeferredAttribute.fetch_many().

4 месяца назад
defer_regress

Refs #36500 -- Rewrapped long docstrings and block comments via a script.

год назад
delete

Refs #21961 -- Added required_db_features to delete's RelatedDbOptionParent.

9 месяцев назад
delete_regress

Fixed #35073 -- Avoided unnecessary calling of callables used by SET/SET_DEFAULT in Collector.collect().

3 года назад
deprecation

Fixed #36961 -- Fixed TypeError in deprecation warnings if Django is imported by namespace.

5 месяцев назад
dispatch

Refs #36500 -- Rewrapped long docstrings and block comments via a script.

год назад
distinct_on_fields

Fixed #36683 -- Added error message on QuerySet.update() following distinct(*fields).

10 месяцев назад
empty

Fixed #23620 -- Used more specific assertions in the Django test suite.

12 лет назад
empty_models

Refs #33476 -- Reformatted code with Black.

5 лет назад
expressions

Refs #35972 -- Returned params in a tuple in further expressions.

5 месяцев назад
expressions_case

Fixed #37016 -- Avoided propagating invalid arguments from When() to Q().

4 месяца назад
expressions_window

Refs #36500 -- Rewrapped long docstrings and block comments via a script.

год назад
extra_regress

Refs #36500 -- Rewrapped long docstrings and block comments via a script.

год назад
field_deconstruction

Refs #36500 -- Rewrapped long docstrings and block comments via a script.

год назад
field_defaults

Refs #470 -- Fixed further field_defaults test failures due to year-end boundary conditions.

5 месяцев назад
field_subclassing

Refs #33476 -- Reformatted code with Black.

5 лет назад
file_storage

Closed temporary files in OverwritingStorageTests.test_save_overwrite_behavior_temp_file().

8 месяцев назад
file_uploads

Modified tests to format PKs with %s rather than %d.

6 месяцев назад
files

Fixed #27150 -- Made base File objects truthy by default.

4 месяца назад
filtered_relation

Fixed #36795 -- Enforced quoting of all database object names.

5 месяцев назад
fixtures

Refs #36769 -- Raised SuspiciousOperation for unexpected nested tags in XML Deserializer.

7 месяцев назад
fixtures_model_package

Refs #33990 -- Renamed TransactionTestCase.assertQuerysetEqual() to assertQuerySetEqual().

4 года назад
fixtures_regress

Added various missing test skips observed on MongoDB.

6 месяцев назад
flatpages_tests

Refs #36500 -- Rewrapped long docstrings and block comments via a script.

год назад
force_insert_update

Fixed #33579 -- Specialized exception raised on forced update failures.

год назад
foreign_object

Fixed #36795 -- Enforced quoting of all database object names.

5 месяцев назад
forms_tests

Refs #36913 -- Maintained error message determinism in MultipleChoiceField.validate().

4 месяца назад
from_db_value

Refs #33476 -- Reformatted code with Black.

5 лет назад
generic_inline_admin

Fixed CVE-2026-4277 -- Checked add permissions in GenericInlineModelAdmin.

4 месяца назад
generic_relations

Applied Black's 2026 stable style.

7 месяцев назад
generic_relations_regress

Refs #36500 -- Rewrapped long docstrings and block comments via a script.

год назад
generic_views

Modified tests to format PKs with %s rather than %d.

6 месяцев назад
get_earliest_or_latest

Fixed #36644 -- Enabled empty order_by() to avoid pk ordering by first()/last().

6 месяцев назад
get_object_or_404

Refs #33476 -- Refactored code to strictly match 88 characters line length.

5 лет назад
get_or_create

Refs #36500 -- Rewrapped long docstrings and block comments via a script.

год назад
gis_tests

Fixed #36929 -- Dropped support for GEOS 3.9.

6 месяцев назад
handlers

Fixed #36940 -- Fixed script name edge case in ASGIRequest.path_info.

5 месяцев назад
httpwrappers

Fixed #36743 -- Increased URL max length enforced in HttpResponseRedirectBase.

8 месяцев назад
humanize_tests

Refs #28877 -- Added special ordinal context when humanizing value 1.

5 месяцев назад
i18n

Fixed #36679 -- Fixed Basque date formats to use parenthetical declension suffixes.

5 месяцев назад
import_error_package

Refactored tests that rely on an ImportError for Python 3.5 compatibility

12 лет назад
indexes

Fixed #35469 -- Removed deferred SQL to create index removed by AlterField operation.

2 года назад
inline_formsets

Refs #36500 -- Rewrapped long docstrings and block comments via a script.

год назад
inspectdb

Added DatabaseFeatures.supports_inspectdb.

6 месяцев назад
introspection

Refs #21961 -- Added DatabaseFeatures.supports_on_delete_db_(cascade/null) feature flags.

9 месяцев назад
invalid_models_tests

Fixed #36973 -- Made fields.E348 check detect further clashes between managers and related_names.

4 месяца назад
known_related_objects

Fixed #34227 -- Fixed QuerySet.select_related() with multi-level FilteredRelation.

4 года назад
logging_tests

Fixed #36958 -- Reloaded logging config when logging settings are changed in tests.

5 месяцев назад
lookup

Refs #36883 -- Split monolithic aggregation/lookup/queries tests.

5 месяцев назад
m2m_and_m2o

Applied Black's 2024 stable style.

3 года назад
m2m_intermediary

Applied Black's 2024 stable style.

3 года назад
m2m_multiple

Refs #33990 -- Renamed TransactionTestCase.assertQuerysetEqual() to assertQuerySetEqual().

4 года назад
m2m_recursive

Relaxed some query ordering assertions in various tests.

4 года назад
m2m_regress

Refs #36500 -- Rewrapped long docstrings and block comments via a script.

год назад
m2m_signals

Fixed #27380 -- Added "raw" argument to m2m_changed signals.

8 месяцев назад
m2m_through

Refs #36500 -- Rewrapped long docstrings and block comments via a script.

год назад
m2m_through_regress

Applied Black's 2026 stable style.

7 месяцев назад
m2o_recursive

Refs #33476 -- Reformatted code with Black.

5 лет назад
mail

Fixed #36953 -- Split EmailBackend tests to separate file.

4 месяца назад
managers_regress

Refs #33476 -- Refactored code to strictly match 88 characters line length.

5 лет назад
many_to_many

Refs #28586 -- Copied fetch modes to related objects.

10 месяцев назад
many_to_one

Fixed #37036 -- Added missing flat=True arg in DeferredAttribute.fetch_many().

4 месяца назад
many_to_one_null

Refs #36500 -- Rewrapped long docstrings and block comments via a script.

год назад
max_lengths

Refs #33476 -- Reformatted code with Black.

5 лет назад
messages_tests

Refs #36500 -- Rewrapped long docstrings and block comments via a script.

год назад
middleware

Refs #35875 -- Added dark mode support in additional views.

7 месяцев назад
middleware_exceptions

Refs #34118 -- Removed asgiref coroutine detection shims.

6 месяцев назад
migrate_signals

Removed double spaces after periods and within phrases.

год назад
migration_test_data_persistence

Refs #36639 -- Updated test migrations to match models.

7 месяцев назад
migrations

Refs #12529, #22325 -- Fixed ExecutorTests.test_custom_user isolation.

5 месяцев назад
migrations2

Fixed #35122 -- Made migrate --prune option respect --app_label.

2 года назад
model_enums

Fixed #36005 -- Dropped support for Python 3.10 and 3.11.

2 года назад
model_fields

Refs #36494 -- Prevented crash in JSONField numeric lookups with expressions.

5 месяцев назад
model_forms

Modified tests to format PKs with %s rather than %d.

6 месяцев назад
model_formsets

Fixed #37004 -- Used QuerySet.totally_ordered in BaseModelFormSet.get_queryset() for stable ordering.

4 месяца назад
model_formsets_regress

Refs #36500 -- Rewrapped long docstrings and block comments via a script.

год назад
model_indexes

Fixed #33773 -- Made Index with multiple fields respect DEFAULT_INDEX_TABLESPACE.

4 года назад
model_inheritance

Refs #33579 -- Added extra tests for NotUpdated exception.

6 месяцев назад
model_inheritance_regress

Refs #28586 -- Copied fetch modes to related objects.

10 месяцев назад
model_meta

Refs #36500 -- Rewrapped long docstrings and block comments via a script.

год назад
model_options

Fixed #36564 -- Changed DEFAULT_AUTO_FIELD from AutoField to BigAutoField.

год назад
model_package

Refs #33476 -- Reformatted code with Black.

5 лет назад
model_regress

Fixed #36701 -- Fixed memory leak in ModelState.

8 месяцев назад
model_utils

Refs #33476 -- Reformatted code with Black.

5 лет назад
modeladmin

Refs #36949 -- Removed hardcoded pks in modeladmin tests.

4 месяца назад
multiple_database

Refs #36500 -- Rewrapped long docstrings and block comments via a script.

год назад
mutually_referential

Refs #33476 -- Reformatted code with Black.

5 лет назад
nested_foreign_keys

Refs #36500 -- Rewrapped long docstrings and block comments via a script.

год назад
no_models

Refs #33476 -- Reformatted code with Black.

5 лет назад
null_fk

Refs #36500 -- Rewrapped long docstrings and block comments via a script.

год назад
null_fk_ordering

Refs #36500 -- Rewrapped long docstrings and block comments via a script.

год назад
null_queries

Fixed #36821 -- Treated empty strings as NULL for iexact lookups on Oracle.

7 месяцев назад
one_to_one

Refs #28586 -- Copied fetch modes to related objects.

10 месяцев назад
or_lookups

Refs #33990 -- Renamed TransactionTestCase.assertQuerysetEqual() to assertQuerySetEqual().

4 года назад
order_with_respect_to

Refs #36500 -- Rewrapped long docstrings and block comments via a script.

год назад
ordering

Fixed #36857 -- Added QuerySet.totally_ordered property.

6 месяцев назад
pagination

Refs #36500 -- Rewrapped long docstrings and block comments via a script.

год назад
postgres_tests

Fixed #37028 -- Added BitAnd(), BitOr(), and BitXor() aggregates.

4 месяца назад
prefetch_related

Fixed #36987 -- Observed prepared argument in UUIDField.get_db_prep_value().

5 месяцев назад
project_template

Refs #33476 -- Reformatted code with Black.

5 лет назад
properties

Refs #33476 -- Reformatted code with Black.

5 лет назад
proxy_model_inheritance

Refs #36500 -- Rewrapped long docstrings and block comments via a script.

год назад
proxy_models

Refs #33579 -- Added extra tests for NotUpdated exception.

6 месяцев назад
queries

Fixed #20024 -- Fixed handling of __in lookups with None in exclude().

4 месяца назад
queryset_pickle

Refs #33579 -- Added extra tests for NotUpdated exception.

6 месяцев назад
raw_query

Fixed #28586 -- Added model field fetch modes.

10 месяцев назад
redirects_tests

Refs #33476 -- Reformatted code with Black.

5 лет назад
requests_tests

Fixed CVE-2026-33033 -- Mitigated potential DoS in MultiPartParser.

4 месяца назад
requirements

Applied Black's 2026 stable style.

7 месяцев назад
reserved_names

Refs #33476 -- Reformatted code with Black.

5 лет назад
resolve_url

Refs #30515 -- Added tests for resolve_url() with view callables and arguments.

7 месяцев назад
responses

Refs #36005 -- Used datetime.UTC alias instead of datetime.timezone.utc.

год назад
reverse_lookup

Refs #33476 -- Reformatted code with Black.

5 лет назад
save_delete_hooks

Applied Black's 2024 stable style.

3 года назад
schema

Added supports_expression_indexes skip to nulls_distinct test.

6 месяцев назад
select_for_update

Refs #36500 -- Rewrapped long docstrings and block comments via a script.

год назад
select_related

Fixed #36674 -- Fixed memory leak in select_related().

10 месяцев назад
select_related_onetoone

Fixed #34612 -- Fixed QuerySet.only() crash on reverse relationships.

3 года назад
select_related_regress

Refs #36500 -- Rewrapped long docstrings and block comments via a script.

год назад
serializers

Fixed #37023 -- Made XML serializer put each ManyToManyField object on its own line.

4 месяца назад
servers

Refs #36770 -- Skipped test_in_memory_database_lock().

4 месяца назад
sessions_tests

Fixed #36899 -- Implemented SessionBase.__bool__.

6 месяцев назад
settings_tests

Refs #36500 -- Rewrapped long docstrings and block comments via a script.

год назад
shell

Refs #35680 -- Sorted shell default autoimports to prevent isort mismatches.

год назад
shortcuts

Fixed #35784 -- Added support for preserving the HTTP request method in HttpResponseRedirectBase.

2 года назад
signals

Refs #34118 -- Removed asgiref coroutine detection shims.

6 месяцев назад
signed_cookies_tests

Fixed #33562 -- Made HttpResponse.set_cookie() support timedelta for the max_age argument.

4 года назад
signing

Refs #33199 -- Removed support for passing positional arguments to Signer/TimestampSigner.

3 года назад
sitemaps_tests

Applied Black's 2026 stable style.

7 месяцев назад
sites_framework

Refs #36639 -- Updated test migrations to match models.

7 месяцев назад
sites_tests

Fixed #37024 -- Made SITE_ID system check validation use Site._meta.pk.

4 месяца назад
sphinx

Applied Black's 2026 stable style.

7 месяцев назад
staticfiles_tests

Fixed #36968 -- Improved error message when collectstatic can't find a referenced file.

5 месяцев назад
str

Refs #33476 -- Reformatted code with Black.

5 лет назад
string_lookup

Refs #36500 -- Rewrapped long docstrings and block comments via a script.

год назад
swappable_models

Refs #33476 -- Applied Black's 2023 stable style.

4 года назад
syndication_tests

Fixed #36733 -- Escaped attributes in Stylesheet.__str__().

9 месяцев назад
tasks

Fixed #36816 -- Allowed **kwargs in @task decorator.

4 месяца назад
template_backends

Fixed #35837 -- Added missing alters_data=True to QuerySet and UserManager methods.

2 года назад
template_loader

Refs #33476 -- Reformatted code with Black.

5 лет назад
template_tests

Fixed #36903 -- Fixed further NameErrors when inspecting functions with deferred annotations.

6 месяцев назад
templates

Fixed #31080 -- Removed redundant type="text/javascript" attribute from <script> tags.

7 лет назад
test_client

Fixed #36966 -- Fixed ValueError when `query_params` and `follow` are used on test client.

5 месяцев назад
test_client_regress

Fixed #36280 -- Replaced exception checks with assertRaisesMessage().

8 месяцев назад
test_exceptions

Refs #33476 -- Reformatted code with Black.

5 лет назад
test_runner

Refs #36936 - Adjusted tests to set PYTHON_COLORS environment variable.

5 месяцев назад
test_runner_apps

Refs #36500 -- Rewrapped long docstrings and block comments via a script.

год назад
test_utils

Fixed #36859 -- Made assertContains and assertNotContains idempotent for streaming responses.

5 месяцев назад
timezones

Refs #36500 -- Rewrapped long docstrings and block comments via a script.

год назад
transaction_hooks

Added various missing test skips observed on MongoDB.

6 месяцев назад
transactions

Added various missing test skips observed on MongoDB.

6 месяцев назад
unmanaged_models

Refs #36500 -- Rewrapped long docstrings and block comments via a script.

год назад
update

Fixed #35453 -- Made ManyToManyField.concrete False.

год назад
update_only_fields

Fixed #27222 -- Refreshed model field values assigned expressions on save().

год назад
urlpatterns

Fixed #36796 -- Handled lazy routes correctly in RoutePattern.match().

7 месяцев назад
urlpatterns_reverse

Refs #36500 -- Rewrapped long docstrings and block comments via a script.

год назад
user_commands

Fixed #36376 -- Fixed --no-color for command help in Python 3.14+.

8 месяцев назад
utils_tests

Fixed #36943 -- Preserved any exception from URLconf module in autoreloader.

5 месяцев назад
validation

Fixed #35638 -- Updated validate_constraints to consider db_default.

2 года назад
validators

Fixed #36098 -- Fixed validate_ipv6_address()/validate_ipv46_address() crash for non-string values.

2 года назад
version

Refs #33476 -- Reformatted code with Black.

5 лет назад
view_tests

Refs #28526 -- Provided URLResolver namespace in technical 404 template.

10 месяцев назад
wsgi

Fixed #36467 -- Removed leading whitespaces from Set-Cookie header values in WSGIHandler.

год назад
xor_lookups

Fixed #34604 -- Corrected fallback SQL for n-ary logical XOR.

3 года назад
.coveragerc

Fixed #34810 -- Measured test coverage on django-admin commands.

3 года назад
README.rst

Fixed #30367 -- Changed "pip install" to "python -m pip install" in docs, comments and hints.

7 лет назад
runtests.py

Refs #27890 -- Avoided overwriting TMPDIR in runtests.py under forkserver mode.

8 месяцев назад
sitecustomize.py

Fixed #34810 -- Measured test coverage on django-admin commands.

3 года назад
test_sqlite.py

Fixed #36564 -- Changed DEFAULT_AUTO_FIELD from AutoField to BigAutoField.

год назад
urls.py

Applied Black's 2024 stable style.

3 года назад
README.rst
To run the test suite, first, create and activate a virtual environment. Then
install some requirements and run the tests::
 
$ cd tests
$ python -m pip install -e ..
$ python -m pip install -r requirements/py3.txt
$ ./runtests.py
 
For more information about the test suite, see
https://docs.djangoproject.com/en/dev/internals/contributing/writing-code/unit-tests/.