django/tests/regressiontests
Anssi Kääriäinen 29132ebdef Fixed #17788 -- Added batch_size argument to qs.bulk_create()
The qs.bulk_create() method did not work with large batches together
with SQLite3. This commit adds a way to split the bulk into smaller
batches. The default batch size is unlimited except for SQLite3 where
the batch size is limited to 999 SQL parameters per batch.

Thanks to everybody who participated in the discussions at Trac.
2012-07-17 15:24:41 +03:00
..
admin_changelist Avoid using a column named "date" in tests 2012-07-15 12:30:27 +03:00
admin_custom_urls Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. 2012-06-07 18:08:47 +02:00
admin_filters Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. 2012-06-07 18:08:47 +02:00
admin_inlines Fixed #18433 -- Fixed "View on Site" link in inline admin for models with custom PK 2012-06-07 21:08:36 +02:00
admin_ordering Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. 2012-06-07 18:08:47 +02:00
admin_registration Fixed #17090 -- Made the API specification for ModelAdmin.get_list_display() more consistent with that of ModelAdmin.list_display by separating out the admin action check boxes business. This is backwards-incompatible for those who have been using the still-unreleased get_list_display() method. Thanks to Ramiro Morales for the review. 2011-10-26 09:37:07 +00:00
admin_scripts Fixed #18318 -- Changed some tests to be 3rd party DB friendly 2012-05-22 23:33:42 +03:00
admin_util Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. 2012-06-07 18:08:47 +02:00
admin_validation Convert much of the regression tests to use absolute imports. There's still work to be done though. 2011-10-13 18:51:33 +00:00
admin_views Removed various unnecessary instances of mark_safe applied to URLs 2012-07-03 22:20:12 +01:00
admin_widgets Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. 2012-06-07 18:08:47 +02:00
aggregation_regress Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. 2012-06-07 18:08:47 +02:00
app_loading Fixed #18013 -- Use the new 'as' syntax for exceptions. 2012-04-29 20:57:15 +02:00
backends Fixed #18465 -- Set date formats correctly on Oracle 2012-06-26 19:39:14 +03:00
bash_completion Removed the deprecated reset and sqlreset management commands. 2012-03-31 12:38:11 +00:00
bug639 Made more extensive usage of context managers with open. 2012-05-05 14:06:36 +02:00
bug8245 Removed with_statement imports, useless in Python >= 2.6. Refs #17965. Thanks jonash for the patch. 2012-03-30 08:02:08 +00:00
builtin_server Updated test assertions that have been deprecated by the move to unittest2. In summary, this means: 2011-03-03 15:04:39 +00:00
bulk_create Fixed #17788 -- Added batch_size argument to qs.bulk_create() 2012-07-17 15:24:41 +03:00
cache Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. 2012-06-07 18:08:47 +02:00
comment_tests Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. 2012-06-07 18:08:47 +02:00
conditional_processing Fixed #17371 -- Made the test client more flexible 2012-05-25 19:03:15 +02:00
context_processors Convert much of the regression tests to use absolute imports. There's still work to be done though. 2011-10-13 18:51:33 +00:00
createsuperuser Replaced deprecated TestCase methods. Refs #17049. 2012-05-03 16:39:16 +02:00
csrf_tests Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. 2012-06-07 18:08:47 +02:00
custom_columns_regress Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. 2012-06-07 18:08:47 +02:00
custom_managers_regress Convert much of the regression tests to use absolute imports. There's still work to be done though. 2011-10-13 18:51:33 +00:00
datatypes Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. 2012-06-07 18:08:47 +02:00
dates Convert much of the regression tests to use absolute imports. There's still work to be done though. 2011-10-13 18:51:33 +00:00
db_typecasts Removed remains from times when tests could be run outside of runtests.py. 2011-10-26 21:03:18 +00:00
decorators Replaced im_func and im_self by __func__ and __self__. 2012-05-12 22:35:21 +02:00
defaultfilters Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. 2012-06-07 18:08:47 +02:00
defer_regress Fixed #17485 -- Made defer work with select_related 2012-06-26 18:08:42 +03:00
delete_regress Fixed #17918 - Handle proxy models correctly when sorting deletions for databases without deferred constraints. Thanks Nate Bragg for the report. 2012-03-17 01:24:39 +00:00
dispatch Fixed #18454 -- Added ability to pass a list of signals to receiver. 2012-06-23 16:31:16 +02:00
expressions_regress Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. 2012-06-07 18:08:47 +02:00
extra_regress Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. 2012-06-07 18:08:47 +02:00
file_storage Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. 2012-06-07 18:08:47 +02:00
file_uploads Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. 2012-06-07 18:08:47 +02:00
fixtures_regress Fixed #16317 -- Fixed dumpdata for self-referencing models and natural keys 2012-06-24 19:54:56 +02:00
forms Removed unneeded u prefixes 2012-06-19 17:37:28 +02:00
generic_inline_admin Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. 2012-06-07 18:08:47 +02:00
generic_relations_regress Convert the remainder of the relative imports in the tests to be absolute imports. 2011-10-13 21:34:56 +00:00
generic_views Fixed #16418 -- Made generic views work with ModelForms 2012-06-09 01:12:14 +03:00
get_or_create_regress Convert the remainder of the relative imports in the tests to be absolute imports. 2011-10-13 21:34:56 +00:00
handlers Marked bytestrings with b prefix. Refs #18269 2012-05-19 17:43:34 +02:00
httpwrappers Cleaned up the QueryDict implementation. 2012-07-14 14:07:11 -07:00
i18n Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. 2012-06-07 18:08:47 +02:00
initial_sql_regress Convert the remainder of the relative imports in the tests to be absolute imports. 2011-10-13 21:34:56 +00:00
inline_formsets Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. 2012-06-07 18:08:47 +02:00
inspectdb Removed debugging code added in last commit. 2012-06-01 21:50:06 -03:00
introspection Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. 2012-06-07 18:08:47 +02:00
localflavor Added supplementary check for CUIT number of ar localflavor 2012-07-09 14:10:54 +02:00
logging_tests Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. 2012-06-07 18:08:47 +02:00
m2m_regress Convert the remainder of the relative imports in the tests to be absolute imports. 2011-10-13 21:34:56 +00:00
m2m_through_regress Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. 2012-06-07 18:08:47 +02:00
mail Switch to using context managers for acquiring and releasing locks. 2012-06-23 08:11:15 -07:00
managers_regress Convert the remainder of the relative imports in the tests to be absolute imports. 2011-10-13 21:34:56 +00:00
many_to_one_regress Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. 2012-06-07 18:08:47 +02:00
max_lengths Convert the remainder of the relative imports in the tests to be absolute imports. 2011-10-13 21:34:56 +00:00
middleware Fixed #18013 -- Use the new 'as' syntax for exceptions. 2012-04-29 20:57:15 +02:00
middleware_exceptions Fixed #18013 -- Use the new 'as' syntax for exceptions. 2012-04-29 20:57:15 +02:00
model_fields Used skipIf decorator to skip image tests when PIL is not available 2012-07-06 11:20:07 +02:00
model_forms_regress Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. 2012-06-07 18:08:47 +02:00
model_formsets_regress Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. 2012-06-07 18:08:47 +02:00
model_inheritance_regress Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. 2012-06-07 18:08:47 +02:00
model_inheritance_select_related Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. 2012-06-07 18:08:47 +02:00
model_permalink Convert the remainder of the relative imports in the tests to be absolute imports. 2011-10-13 21:34:56 +00:00
model_regress Fixed #18432 -- Prevented the ForeignKey field from creating an invalid query when chained. Thanks, Jann Kleen. 2012-06-07 18:49:19 +02:00
modeladmin Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. 2012-06-07 18:08:47 +02:00
multiple_database Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. 2012-06-07 18:08:47 +02:00
null_fk Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. 2012-06-07 18:08:47 +02:00
null_fk_ordering Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. 2012-06-07 18:08:47 +02:00
null_queries Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. 2012-06-07 18:08:47 +02:00
one_to_one_regress Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. 2012-06-07 18:08:47 +02:00
pagination_regress Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. 2012-06-07 18:08:47 +02:00
queries Fixed #17788 -- Added batch_size argument to qs.bulk_create() 2012-07-17 15:24:41 +03:00
queryset_pickle Fixed #17776 - DoesNotExist is not picklable 2012-06-22 13:28:15 +01:00
requests Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. 2012-06-07 18:08:47 +02:00
reverse_single_related Convert the remainder of the relative imports in the tests to be absolute imports. 2011-10-13 21:34:56 +00:00
select_related_onetoone Made the caching of related and reverse related objects consistent in OneToOneFields. Fixed #13839. Refs #17439. 2012-04-10 12:29:25 +00:00
select_related_regress Fixed #17485 -- Made defer work with select_related 2012-06-26 18:08:42 +03:00
serializers_regress Fixed #15197 -- Fixed yaml serialization into HttpResponse 2012-06-28 16:29:29 +02:00
servers Fixed #18326 -- Stripped ending chars in LiveServerViews tests. 2012-05-17 11:10:48 +02:00
settings_tests Replaced deprecated TestCase methods. Refs #17049. 2012-05-03 16:39:16 +02:00
signals_regress Convert the remainder of the relative imports in the tests to be absolute imports. 2011-10-13 21:34:56 +00:00
signed_cookies_tests Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. 2012-06-07 18:08:47 +02:00
signing Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. 2012-06-07 18:08:47 +02:00
sites_framework Convert the remainder of the relative imports in the tests to be absolute imports. 2011-10-13 21:34:56 +00:00
special_headers Ensured tests pass using custom PASSWORD_HASHERS. 2012-04-30 22:10:27 +03:00
staticfiles_tests Fixed #18487 -- Made sure that protocol-relative URLs aren't processed by the cached staticfiles storage. Thanks to LukaszBalcerzak for the patch. 2012-07-08 18:25:12 +02:00
string_lookup Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. 2012-06-07 18:08:47 +02:00
syndication Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. 2012-06-07 18:08:47 +02:00
templates Fixed #18254 -- Added ability to the static template tags to store the result in a contextt variable. Many thanks to Andrei Antoukh for the initial patch. 2012-07-07 15:30:25 +02:00
test_client_regress Removed usage of mimetype kwarg of HttpResponse 2012-06-30 21:19:07 +02:00
test_runner Removed test of connection features before setting up databases 2012-06-09 17:22:24 +02:00
test_utils Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. 2012-06-07 18:08:47 +02:00
text Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. 2012-06-07 18:08:47 +02:00
transactions_regress Stylistic cleanup of Postgres autocommit tests 2012-07-03 10:22:13 +03:00
urlpatterns_reverse Fixed #18013 -- Use the new 'as' syntax for exceptions. 2012-04-29 20:57:15 +02:00
utils Remove DotExpandedDict, which was undocumented and unused. 2012-07-14 19:04:37 -07:00
version Fixed #18224 -- Changed the dev version number. 2012-04-29 13:40:10 +02:00
views Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. 2012-06-07 18:08:47 +02:00
wsgi Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. 2012-06-07 18:08:47 +02:00
__init__.py Added regressions tests to ensure that one-to-one and many-to-many fields 2006-06-20 05:29:19 +00:00