Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/django/templatetags/cache.py
Commit message (Collapse)AuthorAgeFilesLines
* Sorted imports with isort; refs #23860.Tim Graham2015-02-061-2/+4
|
* A handful of flake8 fixesAlex Gaynor2013-11-231-1/+1
|
* Fixed #21012 -- New API to access cache backends.Curtis Maloney2013-11-231-10/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 all E261 warningscoagulant2013-11-021-1/+1
|
* More attacking E302 violatorsAlex Gaynor2013-11-021-0/+1
|
* Added missing newline in docstring; refs #20945.Tim Graham2013-10-241-0/+1
|
* Fixed #20945 -- Allowed cache tag to use a specific cache.Curtis Maloney2013-10-241-3/+31
|
* Fixed assorted flake8 errors.Tim Graham2013-10-111-1/+1
|
* Fixed #20130 -- Regression in {% cache %} template tag.Baptiste Mispelon2013-03-301-1/+1
|
* Fixed #19253 -- Extracted template cache key building logicTomek Paczkowski2013-02-241-7/+3
| | | | | | Introduced a public function django.core.cache.utils.make_template_fragment_key Thanks @chrismedrela for fruitful cooperation.
* Used token.split_contents() for tokenisation in template ↵Baptiste Mispelon2013-02-231-6/+8
| | | | | | tags accepting variables. Fixed #6271, #18260.
* Replaced many smart_bytes by force_bytesClaude Paroz2012-08-291-3/+3
| | | | | | In all those occurrences, we didn't care about preserving the lazy status of the strings, but we really wanted to obtain a real bytestring.
* [py3] Always pass bytes to hashlib.md5.Florian Apolloner2012-08-151-2/+4
|
* Fixed #18269 -- Applied unicode_literals for Python 3 ↵Claude Paroz2012-06-071-2/+4
| | | | | | | compatibility. Thanks Vinay Sajip for the support of his django3 branch and Jannis Leidel for the review.
* Fixed #16225 -- Removed unused imports. Many thanks to ↵Jannis Leidel2011-07-131-1/+0
| | | | | | Aymeric Augustin for the work on the patch and Alex for reviewing. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16539 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Replaced old-style with new-style decorator syntax.Jannis Leidel2011-05-011-2/+1
| | | | git-svn-id: http://code.djangoproject.com/svn/django/trunk@16138 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Removed a bunch more Python 2.4 workarounds now that we ↵Adrian Holovaty2011-03-281-2/+2
| | | | | | don't support that version. Refs #15702 -- thanks to jonash for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15927 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #13453: Corrected typo in template syntax error ↵Karen Tracey2010-05-011-1/+1
| | | | | | message. Thanks jheasly. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13061 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #11270 -- Modified cache template tag to prevent ↵Russell Keith-Magee2009-06-181-1/+3
| | | | | | the creation of very long cache keys. Thanks to 235 for the report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11068 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #7460 -- Made the "cache" template tag always ↵Malcolm Tredinnick2008-08-251-1/+2
| | | | | | | | | | generate keys that can be used with the memcache backend (which has the strongest restriction on keys). Based on a patch from trbs. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8533 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #6201 -- Improved the {% cache %} template tag to ↵Adrian Holovaty2008-06-261-11/+14
| | | | | | allow the timeout to be a template variable. Inspired by the patch by zz and edrik git-svn-id: http://code.djangoproject.com/svn/django/trunk@7754 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Removed a bunch of DOS line endings. Somehow I didn't ↵Malcolm Tredinnick2007-10-231-57/+57
| | | | | | | | | convert this correctly in [6580]. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6598 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #1065 -- Added a "cache" template tag. Thanks, Ian ↵Malcolm Tredinnick2007-10-211-0/+57
Maurer and, particularly, Nick Lane. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6580 bcc190cf-cafb-0310-a4f2-bffc1f526a37