Thomas Güttler
10e7de2eda
Fix cache invalidation ( #131 )
2025-06-17 16:38:05 -07:00
Michał Pasternak
fa72b2771b
Flake8
2022-08-10 22:32:23 +02:00
Michał Pasternak
45e216b8ac
Remove compatibility wrapper
2022-08-10 22:28:21 +02:00
Michał Pasternak
b138cafcfa
Passing flake8
2022-08-08 00:49:40 +02:00
Michał Pasternak
2e3f009426
Merge branch 'master' into master
2022-08-08 00:36:05 +02:00
Hugo van Kemenade
9455b36281
Upgrade to f-strings with 'flynt .'
2022-06-15 15:54:51 +03:00
Hugo van Kemenade
e5e4e55d22
Upgrade Python syntax with pyupgrade --py37-plus
2022-06-15 15:47:52 +03:00
Michał Pasternak
e1e11c42cb
Django 4.x fixes
2022-06-15 14:25:32 +02:00
Bill Amberg
f45cd228f9
Get cache for Django>=3.2
2022-02-08 09:15:46 -05:00
Jannis Leidel
bc206765fa
Appease flake8.
2017-11-22 11:01:02 +01:00
Jannis Leidel
d7ecd93cce
Port to Python 3 and removed legacy code
2016-09-20 10:34:59 +02:00
Michael Kutý
9648555473
fix RemovedInDjango19Warning: 'get_cache' is deprecated in favor of 'caches'.
2015-09-17 21:15:10 +02:00
Selwin Ong
bb4e7ce36f
Fixed an issue where `get_cache_key` may produce invalid memcached
...
keys.
2012-05-06 20:52:17 +07:00
Jannis Leidel
09ece4a5e3
Some minor additions to the "performance speedup". Extends the list of authors, too.
2011-08-15 12:53:29 +02:00
Stephan Peijnik
7e93da6a94
Removed license headers, reverted LICENSE file and added a CONTRIBUTORS file.
2011-08-15 12:48:10 +02:00
Stephan Peijnik
2d46b418da
Use the cache to remember which templates were not found in the database.
...
Also reverse the logic of the database lookup. First check if there is
site-specific template in the database and only if that fails
try to load the global template.
This should cut down the number of database queries that need to be executed,
especially in a loop that includes a given template that does not exist
in the database.
Signed-off-by: Stephan Peijnik <spe@anexia.at>
2011-08-15 12:48:02 +02:00
Jannis Leidel
0379c8cf39
Fixed cache loading. Fixes #13 .
2011-07-08 14:46:41 +02:00
Jannis Leidel
05b109ec5a
A bunch of flake8 fixees.
2011-07-01 15:50:04 +02:00
Jannis Leidel
a40204def7
Moved setttings over to use AppSettings class.
2011-07-01 15:44:09 +02:00
Jannis Leidel
ca032e70cf
Split utils module.
2011-07-01 15:41:24 +02:00