django/tests
Anssi Kääriäinen 23ca3a0194 Fixed #16759 -- Remove use of __deepcopy__ in qs.clone()
The original problem was that queryset cloning was really expensive
when filtering with F() clauses. The __deepcopy__ went too deep copying
_meta attributes of the models used. To fix this the use of
__deepcopy__ in qs cloning was removed.

This commit results in some speed improvements across the djangobench
benchmark suite. Most query_* tests are 20-30% faster, save() is 50%
faster and finally complex filtering situations can see 2x to order
of magnitude improvments.

Thanks to Suor, Alex and lrekucki for valuable feedback.
2013-01-08 19:17:13 +02:00
..
modeltests Tests for various emptyqs tickets 2013-01-06 19:18:29 +02:00
regressiontests Fixed #16759 -- Remove use of __deepcopy__ in qs.clone() 2013-01-08 19:17:13 +02:00
templates Fixed #18807 -- Made 404.html and 500.html optional 2012-09-30 23:16:19 +02:00
.coveragerc Fixed #16817 - Added a guide of code coverage to contributing docs. 2012-10-11 06:11:52 -04:00
runtests.py Removed django.contrib.databrowse. 2012-12-29 21:58:12 +01:00
test_sqlite.py Use faster password hasher in sqlite tests 2012-04-30 22:10:27 +03:00
urls.py Made sure the new project template functionality works when the template 2011-12-29 17:03:38 +00:00