Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/cache
Commit message (Collapse)AuthorAgeFilesLines
...
* flake8 fixesAlex Gaynor2013-11-251-4/+5
|
* Properly closed cache connections at the end of the request.Florian Apolloner2013-11-241-1/+19
| | | | | | This only affects the new cache api and not the deprecated get_cache. Refs #21012
* Fixed flake8 error (5 space identation!!!)Alex Gaynor2013-11-241-3/+3
|
* Don't fail if there is no memcached backend active.Florian Apolloner2013-11-241-1/+1
|
* Fixed regression from ↵Florian Apolloner2013-11-241-6/+12
| | | | | | | ffc37e2343a93cf6d44247e20cd263b41f931716. This (hopefully) ensures that the cache are created the same way as before the offending commit.
* Randomized KEY_PREFIX in caches test to prevent failures ↵Florian Apolloner2013-11-241-1/+1
| | | | during parallel testruns.
* Don't fail if cPickle doesn't exist.Florian Apolloner2013-11-231-1/+5
| | | | Today is not my day :(
* Follow up to e112654fc81ddb3fbffbb8382b004d69367a85feFlorian Apolloner2013-11-231-1/+1
| | | | Actually comitted the code now :þ
* Fixed #21200 -- Consistantly raise errors across all ↵Florian Apolloner2013-11-231-0/+15
| | | | | | cache backends. Thanks to tchaumeny for the patch.
* A handful of flake8 fixesAlex Gaynor2013-11-231-5/+4
|
* Allowed running the test suite without memcached (!)Aymeric Augustin2013-11-231-2/+2
|
* Fixed #21012 -- New API to access cache backends.Curtis Maloney2013-11-231-528/+552
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Thanks Curtis Malony and Florian Apolloner. Squashed commit of the following: commit 3380495e93f5e81b80a251b03ddb0a80b17685f5 Author: Aymeric Augustin <aymeric.augustin@m4x.org> Date: Sat Nov 23 14:18:07 2013 +0100 Looked up the template_fragments cache at runtime. commit 905a74f52b24a198f802520ff06290a94dedc687 Author: Aymeric Augustin <aymeric.augustin@m4x.org> Date: Sat Nov 23 14:19:48 2013 +0100 Removed all uses of create_cache. Refactored the cache tests significantly. Made it safe to override the CACHES setting. commit 35e289fe9285feffed3c60657af9279a6a2cfccc Author: Aymeric Augustin <aymeric.augustin@m4x.org> Date: Sat Nov 23 12:23:57 2013 +0100 Removed create_cache function. commit 8e274f747a1f1c0c0e6c37873e29067f7fa022e8 Author: Aymeric Augustin <aymeric.augustin@m4x.org> Date: Sat Nov 23 12:04:52 2013 +0100 Updated docs to describe a simplified cache backend API. commit ee7eb0f73e6d4699edcf5d357dce715224525cf6 Author: Curtis Maloney <curtis@tinbrain.net> Date: Sat Oct 19 09:49:24 2013 +1100 Fixed #21012 -- Thread-local caches, like databases.
* Fixed some flake8 issuesAlex Gaynor2013-11-221-2/+1
|
* Fixed #21476 -- Cache tests make an incorrect use of ↵Unai Zalakain2013-11-211-99/+48
| | | | | | | `HttpRequest` Using `django.test.client.RequestFactory` solves the problem and cleans up all the `get_request` mess.
* Fixed a couple flake8 warnings.Tim Graham2013-11-081-1/+0
|
* Fixed #20536 -- rewrite of the file based cache backendJaap Roes2013-11-071-22/+24
| | | | | | | | | * Safer for use in multiprocess environments * Better random culling * Cache files use less disk space * Safer delete behavior Also fixed #15806, fixed #15825.
* Fixed all E226 violationsAlex Gaynor2013-11-031-4/+4
|
* PEP8 cleanupJason Myers2013-11-034-0/+9
| | | | Signed-off-by: Jason Myers <jason@jasonamyers.com>
* Fixed all E261 warningscoagulant2013-11-031-3/+3
|
* Fixed all the E203 violationsAlex Gaynor2013-10-271-26/+26
|
* Fix all violators of E231Alex Gaynor2013-10-261-24/+24
|
* Fixed #21298 -- Fixed E301 pep8 warningsAlasdair Nicol2013-10-231-0/+1
|
* Fixed E225 pep8 warnings.Tim Graham2013-10-231-2/+2
|
* Fixed #21288 -- Fixed E126 pep8 warningsAlasdair Nicol2013-10-211-59/+59
|
* Fixed #21287 -- Fixed E123 pep8 warningsAlasdair Nicol2013-10-181-2/+2
|
* Fixed #21268 -- Fixed E303 pep8 warningsAlasdair Nicol2013-10-181-2/+0
|
* Fixed #21285 -- Fixed E121,E122 pep8 warningsAlasdair Nicol2013-10-181-1/+1
|
* Fixed #21266 -- Fixed E201,E202 pep8 warnings.Larry O'Neill2013-10-151-1/+1
|
* Fixed #15888 -- Made tablename argument of ↵Claude Paroz2013-10-141-15/+48
| | | | | | | createcachetable optional Thanks Aymeric Augustin for the report and the documentation and Tim Graham for the review.
* Fixed assorted flake8 errors.Tim Graham2013-10-111-3/+3
|
* Whitespace cleanup.Tim Graham2013-10-102-2/+0
| | | | | | | * Removed trailing whitespace. * Added newline to EOF if missing. * Removed blank lines at EOF. * Removed some stray tabs.
* Fixed #21125 -- Removed support for cache URI syntaxCurtis Maloney2013-09-191-17/+1
|
* Removed some more unused local varsAlex Gaynor2013-09-081-4/+4
|
* Merge remote-tracking branch 'core/master' into ↵Andrew Godwin2013-08-091-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | schema-alteration Conflicts: django/core/management/commands/flush.py django/core/management/commands/syncdb.py django/db/models/loading.py docs/internals/deprecation.txt docs/ref/django-admin.txt docs/releases/1.7.txt
| * Removed most of absolute_import importsClaude Paroz2013-07-291-1/+1
| | | | | | | | | | Should be unneeded with Python 2.7 and up. Added some unicode_literals along the way.
* | Rename allow_syncdb to allow_migrateAndrew Godwin2013-07-301-1/+1
|/
* Fixed a few more imports of django.utils.unittest.Aymeric Augustin2013-07-011-2/+5
| | | | One import per line please! Refs #20680.
* Advanced deprecation warnings for Django 1.7.Aymeric Augustin2013-06-291-2/+2
|
* Added cache to available_apps in cache testsAnssi Kääriäinen2013-06-141-1/+1
|
* Defined available_apps in relevant tests.Aymeric Augustin2013-06-101-0/+2
| | | | Fixed #20483.
* Use assertIsInstance in tests.Marc Tamlyn2013-05-211-4/+4
| | | | Gives much nicer errors when it fails.
* Fixed #15201: Marked CACHE_MIDDLEWARE_ANONYMOUS_ONLY as ↵Łukasz Langa2013-05-181-3/+5
| | | | deprecated
* Fixed #9595 -- Allow non-expiring cache timeouts.Jacob Burch2013-05-181-0/+28
| | | | Also, streamline the use of 0 and None between cache backends.
* [py3] Always fed hashlib with bytes.Łukasz Langa2013-02-271-11/+11
|
* Renamed some tests and removed references to ↵Florian Apolloner2013-02-261-7/+7
| | | | modeltests/regressiontests.
* Merged regressiontests and modeltests into the test root.Florian Apolloner2013-02-265-0/+1935