django/tests
Jim Bailey 539e3693d4 Fixed #20849 -- ModelForms do not work well with prefetch_related.
model_to_dict() (used when rendering forms) queries the database
to get the list of primary keys for ManyToMany fields. This is
unnecessary if the field queryset has been prefetched, all the
keys are already in memory and can be obtained with a simple
iteration.
2013-11-03 12:27:54 +02:00
..
admin_changelist Fixed all E261 warnings 2013-11-02 18:20:39 -04:00
admin_custom_urls Fixed #21302 -- Fixed unused imports and import *. 2013-11-02 15:24:56 -04:00
admin_docs Fixed #6681 -- Don't break docutils when rendering reStructuredText. 2013-10-04 13:27:08 -04:00
admin_filters Fixed all E261 warnings 2013-11-02 18:20:39 -04:00
admin_inlines Fixed all E261 warnings 2013-11-02 18:20:39 -04:00
admin_ordering Fixed all E261 warnings 2013-11-02 18:20:39 -04:00
admin_registration Fixed typo in exception message; refs #19414 2013-09-19 06:24:12 -04:00
admin_scripts Fixed #21302 -- Fixed unused imports and import *. 2013-11-02 15:24:56 -04:00
admin_util Fixed E221 pep8 warnings. 2013-10-22 09:51:39 -04:00
admin_validation Fixed #21302 -- Fixed unused imports and import *. 2013-11-02 15:24:56 -04:00
admin_views Fixed all E261 warnings 2013-11-02 18:20:39 -04:00
admin_widgets Merge pull request #1853 from loic/dst 2013-11-03 01:14:17 -07:00
aggregation Start attacking E231 violations 2013-10-24 10:30:03 -07:00
aggregation_regress Fixed all E261 warnings 2013-11-02 18:20:39 -04:00
app_cache Make multi-app-cache tests work again 2013-07-22 19:36:03 +01:00
app_loading Fixed #21302 -- Fixed unused imports and import *. 2013-11-02 15:24:56 -04:00
backends Fixed E225 pep8 warnings. 2013-10-23 06:09:29 -04:00
base Fixed "redefinition of unused 'foo' from line X" pyflakes warnings. 2013-10-10 11:09:42 -04:00
bash_completion Whitespace cleanup. 2013-10-10 16:49:20 -04:00
basic Fix all violators of E231 2013-10-26 12:15:03 -07:00
bug639 Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
bug8245 Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
builtin_server Stopped using django.utils.unittest in the test suite. 2013-07-01 14:29:33 +02:00
bulk_create Fixed #21285 -- Fixed E121,E122 pep8 warnings 2013-10-17 20:20:11 -04:00
cache Fixed all E261 warnings 2013-11-02 18:20:39 -04:00
check Refs #21197 -- Clarified upgrade check message. 2013-10-08 10:00:39 +08:00
choices Whitespace cleanup. 2013-10-10 16:49:20 -04:00
commands_sql Fixed #19657 -- Made sql commands honor allow_migrate 2013-10-16 18:02:32 +02:00
comment_tests Fixed all E261 warnings 2013-11-02 18:20:39 -04:00
conditional_processing Whitespace cleanup. 2013-10-10 16:49:20 -04:00
contenttypes_tests Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
context_processors Fixed #21302 -- Fixed unused imports and import *. 2013-11-02 15:24:56 -04:00
createsuperuser Whitespace cleanup. 2013-10-10 16:49:20 -04:00
csrf_tests Fix all violators of E231 2013-10-26 12:15:03 -07:00
custom_columns Fix all violators of E231 2013-10-26 12:15:03 -07:00
custom_columns_regress Fix all violators of E231 2013-10-26 12:15:03 -07:00
custom_managers Fixed #21268 -- Fixed E303 pep8 warnings 2013-10-18 01:46:24 +01:00
custom_managers_regress Whitespace cleanup. 2013-10-10 16:49:20 -04:00
custom_methods Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
custom_pk Fixed #21298 -- Fixed E301 pep8 warnings 2013-10-23 13:45:03 +01:00
datatypes Fixed all E261 warnings 2013-11-02 18:20:39 -04:00
dates Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
datetimes Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
db_backends Fixed #13813 -- Comparison of DatabaseWrappers doesn't raise errors. 2013-07-08 09:35:08 +10:00
db_typecasts Fixed #17627 -- Renamed util.py files to utils.py 2013-09-16 12:52:05 -04:00
decorators Fix all violators of E231 2013-10-26 12:15:03 -07:00
defaultfilters Fix all violators of E231 2013-10-26 12:15:03 -07:00
defer Fixed E225 pep8 warnings. 2013-10-23 06:09:29 -04:00
defer_regress Fixed #20922 -- Allowed customizing the serializer used by contrib.sessions 2013-08-22 13:58:26 -04:00
delete Fixed #21302 -- Fixed unused imports and import *. 2013-11-02 15:24:56 -04:00
delete_regress Fix all violators of E231 2013-10-26 12:15:03 -07:00
deprecation Fixed #21302 -- Fixed unused imports and import *. 2013-11-02 15:24:56 -04:00
dispatch Fix all violators of E231 2013-10-26 12:15:03 -07:00
distinct_on_fields Fix all violators of E231 2013-10-26 12:15:03 -07:00
empty Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
expressions Fixed #21298 -- Fixed E301 pep8 warnings 2013-10-23 13:45:03 +01:00
expressions_regress Fixed E225 pep8 warnings. 2013-10-23 06:09:29 -04:00
extra_regress Fixed flake8 E241 2013-11-02 21:45:40 +02:00
field_deconstruction Removed unused local variables in tests. 2013-10-19 08:31:38 -04:00
field_defaults Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
field_subclassing Fixed #12568 -- no error when accessing custom field's descriptor 2013-09-18 10:03:52 +03:00
file_storage Fixed #21302 -- Fixed unused imports and import *. 2013-11-02 15:24:56 -04:00
file_uploads Fixed all E261 warnings 2013-11-02 18:20:39 -04:00
files Fixed #21302 -- Fixed unused imports and import *. 2013-11-02 15:24:56 -04:00
fixtures Fixed #21298 -- Fixed E301 pep8 warnings 2013-10-23 13:45:03 +01:00
fixtures_model_package Fix all violators of E231 2013-10-26 12:15:03 -07:00
fixtures_regress Fixed #21287 -- Fixed E123 pep8 warnings 2013-10-18 10:07:39 +01:00
force_insert_update Fixed #21134 -- Prevented queries in broken transactions. 2013-09-30 09:42:27 +02:00
foreign_object Fixed #20874 -- bump_prefix() in nested subqueries 2013-08-13 14:11:52 +03:00
forms_tests Fixed all E261 warnings 2013-11-02 18:20:39 -04:00
generic_inline_admin Fixed all E261 warnings 2013-11-02 18:20:39 -04:00
generic_relations Fixed #21288 -- Fixed E126 pep8 warnings 2013-10-21 08:31:30 -04:00
generic_relations_regress Fixed #21298 -- Fixed E301 pep8 warnings 2013-10-23 13:45:03 +01:00
generic_views Fixed flake8 E241 2013-11-02 21:45:40 +02:00
get_earliest_or_latest Removed unused local variables in tests. 2013-10-19 08:31:38 -04:00
get_object_or_404 Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
get_or_create Removed unused local variables in tests. 2013-10-19 08:31:38 -04:00
get_or_create_regress Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
handlers Fixed #20530 -- Properly decoded non-ASCII query strings on Python 3. 2013-09-07 11:47:38 -05:00
http_utils Fixed #21268 -- Fixed E303 pep8 warnings 2013-10-18 01:46:24 +01:00
httpwrappers Fixed all E261 warnings 2013-11-02 18:20:39 -04:00
i18n Fixed all E261 warnings 2013-11-02 18:20:39 -04:00
indexes Stopped using django.utils.unittest in the test suite. 2013-07-01 14:29:33 +02:00
initial_sql_regress Whitespace cleanup. 2013-10-10 16:49:20 -04:00
inline_formsets Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
inspectdb Fix all violators of E231 2013-10-26 12:15:03 -07:00
introspection Fixed #21097 - Added DatabaseFeature.can_introspect_autofield 2013-09-14 09:48:59 +03:00
invalid_models Fixed all E261 warnings 2013-11-02 18:20:39 -04:00
known_related_objects Whitespace cleanup. 2013-10-10 16:49:20 -04:00
logging_tests Fixed #21302 -- Fixed unused imports and import *. 2013-11-02 15:24:56 -04:00
lookup Fix all violators of E231 2013-10-26 12:15:03 -07:00
m2m_and_m2o Fixed all E261 warnings 2013-11-02 18:20:39 -04:00
m2m_intermediary Whitespace cleanup. 2013-10-10 16:49:20 -04:00
m2m_multiple Fixed "indentation is not a multiple of four" pep8 issues. 2013-09-03 14:22:21 -04:00
m2m_recursive Fix all violators of E231 2013-10-26 12:15:03 -07:00
m2m_regress Whitespace cleanup. 2013-10-10 16:49:20 -04:00
m2m_signals Fix all violators of E231 2013-10-26 12:15:03 -07:00
m2m_through Fix all violators of E231 2013-10-26 12:15:03 -07:00
m2m_through_regress Fix all violators of E231 2013-10-26 12:15:03 -07:00
m2o_recursive Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
mail Undelete the login() call inadvertantly removed in 4e0a2fe59c 2013-10-25 11:23:19 +02:00
managers_regress Fixed #21302 -- Fixed unused imports and import *. 2013-11-02 15:24:56 -04:00
many_to_many Fix all violators of E231 2013-10-26 12:15:03 -07:00
many_to_one Fix all violators of E231 2013-10-26 12:15:03 -07:00
many_to_one_null Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
many_to_one_regress Fixed #21302 -- Fixed unused imports and import *. 2013-11-02 15:24:56 -04:00
max_lengths Fixed all E261 warnings 2013-11-02 18:20:39 -04:00
middleware Fixed #21302 -- Fixed unused imports and import *. 2013-11-02 15:24:56 -04:00
middleware_exceptions Fixed flake8 E241 2013-11-02 21:45:40 +02:00
migrate_signals Updated syncdb -> migrate in tests. 2013-09-03 11:51:34 -04:00
migrations Fixed #21302 -- Fixed unused imports and import *. 2013-11-02 15:24:56 -04:00
model_fields Fixed #21288 -- Fixed E126 pep8 warnings 2013-10-21 08:31:30 -04:00
model_forms Fixed #20849 -- ModelForms do not work well with prefetch_related. 2013-11-03 12:27:54 +02:00
model_forms_regress Fix all violators of E231 2013-10-26 12:15:03 -07:00
model_formsets Fixed all E261 warnings 2013-11-02 18:20:39 -04:00
model_formsets_regress Fixed #14877 -- repeated deletion using formsets 2013-10-30 22:40:15 +02:00
model_inheritance Fixed #20946 -- model inheritance + m2m failure 2013-08-21 22:32:04 +01:00
model_inheritance_regress Fix all violators of E231 2013-10-26 12:15:03 -07:00
model_inheritance_same_model_name Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
model_inheritance_select_related Removed unused local variables in tests. 2013-10-19 08:31:38 -04:00
model_package Fixed #21302 -- Fixed unused imports and import *. 2013-11-02 15:24:56 -04:00
model_permalink Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
model_regress Fixed #21288 -- Fixed E126 pep8 warnings 2013-10-21 08:31:30 -04:00
model_validation Fixed #21375 -- related_name='+' clashed with other '+' names 2013-11-02 21:18:35 +02:00
modeladmin Fixed all E261 warnings 2013-11-02 18:20:39 -04:00
multiple_database Fixed all E261 warnings 2013-11-02 18:20:39 -04:00
mutually_referential Removed unused local variables in tests. 2013-10-19 08:31:38 -04:00
nested_foreign_keys Removed unused local variables in tests. 2013-10-19 08:31:38 -04:00
null_fk Fixed all E261 warnings 2013-11-02 18:20:39 -04:00
null_fk_ordering Removed unused local variables in tests. 2013-10-19 08:31:38 -04:00
null_queries Fixed #21288 -- Fixed E126 pep8 warnings 2013-10-21 08:31:30 -04:00
one_to_one Fixed #21298 -- Fixed E301 pep8 warnings 2013-10-23 13:45:03 +01:00
one_to_one_regress Fixed #21216 -- Allow `OneToOneField` reverse accessor to be hidden. 2013-10-03 13:20:05 -04:00
or_lookups Fixed #21268 -- Fixed E303 pep8 warnings 2013-10-18 01:46:24 +01:00
order_with_respect_to Removed unused local variables in tests. 2013-10-19 08:31:38 -04:00
ordering Fixed #21298 -- Fixed E301 pep8 warnings 2013-10-23 13:45:03 +01:00
pagination Fixed #21288 -- Fixed E126 pep8 warnings 2013-10-21 08:31:30 -04:00
prefetch_related Fix all violators of E231 2013-10-26 12:15:03 -07:00
properties Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
proxy_model_inheritance Updated syncdb -> migrate in tests. 2013-09-03 11:51:34 -04:00
proxy_models Fixed #21302 -- Fixed unused imports and import *. 2013-11-02 15:24:56 -04:00
queries Fixed all E261 warnings 2013-11-02 18:20:39 -04:00
queryset_pickle Fixed all E261 warnings 2013-11-02 18:20:39 -04:00
raw_query Fix all violators of E231 2013-10-26 12:15:03 -07:00
requests Fixed all E261 warnings 2013-11-02 18:20:39 -04:00
requirements Fixed #21032 -- pip 1.4 can't install pytz. 2013-09-06 22:11:55 -05:00
reserved_names Removed unused local variables in tests. 2013-10-19 08:31:38 -04:00
resolve_url Whitespace cleanup. 2013-10-10 16:49:20 -04:00
responses Fixed #12747 -- Made reason phrases customizable. 2013-05-19 13:14:54 +02:00
reverse_lookup Removed unused local variables in tests. 2013-10-19 08:31:38 -04:00
reverse_single_related Fixed #21288 -- Fixed E126 pep8 warnings 2013-10-21 08:31:30 -04:00
save_delete_hooks Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
schema Removed unused local variables in tests. 2013-10-19 08:31:38 -04:00
select_for_update Fixed #21302 -- Fixed unused imports and import *. 2013-11-02 15:24:56 -04:00
select_related Fixed #21298 -- Fixed E301 pep8 warnings 2013-10-23 13:45:03 +01:00
select_related_onetoone Fixed flake8 E241 2013-11-02 21:45:40 +02:00
select_related_regress Fixed #21302 -- Fixed unused imports and import *. 2013-11-02 15:24:56 -04:00
serializers Fixed #21302 -- Fixed unused imports and import *. 2013-11-02 15:24:56 -04:00
serializers_regress Fixed all E261 warnings 2013-11-02 18:20:39 -04:00
servers Fixed "Address already in use" from liveserver. 2013-09-22 22:02:59 +02:00
settings_tests Fixed #21302 -- Fixed unused imports and import *. 2013-11-02 15:24:56 -04:00
signals Removed unused local variables in tests. 2013-10-19 08:31:38 -04:00
signals_regress Fixed #21285 -- Fixed E121,E122 pep8 warnings 2013-10-17 20:20:11 -04:00
signed_cookies_tests Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
signing Fixed #21288 -- Fixed E126 pep8 warnings 2013-10-21 08:31:30 -04:00
sites_framework Removed unused local variables in tests. 2013-10-19 08:31:38 -04:00
staticfiles_tests Fixed #21219 -- Added a way to set different permission for static files. 2013-10-24 17:40:01 -04:00
str Fixed #21198 -- Prevented invalid use of @python_2_unicode_compatible. 2013-10-13 18:14:04 +02:00
string_lookup Fixed #20439 -- Started deprecation of IPAddressField 2013-09-28 10:55:32 +02:00
swappable_models Fixed assorted flake8 errors. 2013-10-11 07:25:14 -04:00
syndication Fixed #21165 -- Fix test for syndication feed timestamp field on Windows. 2013-10-02 23:29:48 -03:00
tablespaces Fixed #21302 -- Fixed unused imports and import *. 2013-11-02 15:24:56 -04:00
template_tests Fixed all E261 warnings 2013-11-02 18:20:39 -04:00
templates Added a test for AdminSite.app_index_template; refs #8498. 2013-07-31 06:59:15 -04:00
test_client Fixed all E261 warnings 2013-11-02 18:20:39 -04:00
test_client_regress Fixed all E261 warnings 2013-11-02 18:20:39 -04:00
test_discovery_sample Removed tests for django.utils.unittest vs. unittest. 2013-07-01 21:49:11 +02:00
test_discovery_sample2 Fixed #17365, #17366, #18727 -- Switched to discovery test runner. 2013-05-10 23:08:45 -04:00
test_runner Fixed #21302 -- Fixed unused imports and import *. 2013-11-02 15:24:56 -04:00
test_runner_deprecation_app Fixed #21302 -- Fixed unused imports and import *. 2013-11-02 15:24:56 -04:00
test_runner_invalid_app Fixed #17365, #17366, #18727 -- Switched to discovery test runner. 2013-05-10 23:08:45 -04:00
test_suite_override Removed tests for django.utils.unittest vs. unittest. 2013-07-01 21:49:11 +02:00
test_utils Fixed all the E203 violations 2013-10-26 18:27:42 -07:00
text Fixed #20231 -- Don't use allow_lazy on smart_split 2013-04-10 13:05:29 +02:00
timezones Fixed flake8 E241 2013-11-02 21:45:40 +02:00
transactions Fixed #21288 -- Fixed E126 pep8 warnings 2013-10-21 08:31:30 -04:00
transactions_regress Fixed #21298 -- Fixed E301 pep8 warnings 2013-10-23 13:45:03 +01:00
unmanaged_models Removed unneeded imports in tests's __init__.py and unified them. 2013-09-09 23:01:07 +02:00
update Fixed #11521 -- usage of field.attname in .update() 2013-07-31 16:02:36 +03:00
update_only_fields Fix all violators of E231 2013-10-26 12:15:03 -07:00
urlpatterns_reverse Fixed flake8 E241 2013-11-02 21:45:40 +02:00
user_commands Made (make|compile)messages check for availability of gettext commands. 2013-03-10 17:31:11 -03:00
utils_tests Fixed #21302 -- Fixed unused imports and import *. 2013-11-02 15:24:56 -04:00
validation Fix all violators of E231 2013-10-26 12:15:03 -07:00
validators Fixed #12027 -- Fixed EmailValidator to reject a trailing dot. 2013-10-23 12:22:14 -04:00
version Fixed #21302 -- Fixed unused imports and import *. 2013-11-02 15:24:56 -04:00
view_tests Fixed all E261 warnings 2013-11-02 18:20:39 -04:00
wsgi Fixed #21298 -- Fixed E301 pep8 warnings 2013-10-23 13:45:03 +01:00
.coveragerc Made coverage ignore files without associated source code. 2013-08-25 22:29:43 -03:00
runtests.py Fixed #19941 -- Removed sys.path hack when running the test suite. 2013-10-23 18:27:06 -04:00
test_sqlite.py Updated an inaccurate comment. 2013-02-26 10:00:14 +01:00
urls.py Renamed some tests and removed references to modeltests/regressiontests. 2013-02-26 14:36:57 +01:00