Eugene Prikazchikov
1c80410a5b
Update get_template_source utility function to use up-to-date template API
2017-12-09 21:38:42 +03: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ý
ca8841ce9c
Use native importlib.
2016-01-03 00:01:45 +01:00
Michael Kutý
9648555473
fix RemovedInDjango19Warning: 'get_cache' is deprecated in favor of 'caches'.
2015-09-17 21:15:10 +02:00
Michael Kutý
c8a048352e
Fix some Python 3 issues - thanks @vikingco
2015-08-19 11:42:39 +02:00
Michael Kutý
685c77e718
proper solution
2015-04-28 11:16:06 +02:00
Michael Kutý
50a877a7d5
fix name
2015-04-28 01:00:24 +02:00
Michael Kutý
c2d49e1d71
hot-fixed populating template djagno 1.8+
2015-04-27 23:40:42 +02:00
Jannis Leidel
4b024de965
Minor cosmetic changes to please flake8.
2013-04-04 11:33:00 +02:00
Jannis Leidel
842e08cf2e
Switched to using nose and django-nose for easy test running.
2012-05-07 14:06:54 +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
d5be3e42d5
Use django-appconf.
2011-09-06 12:31:28 +02: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
Matt Dorn
6c25da5301
Added template syntax checker admin actions.
2011-08-15 12:42:27 +02:00
Jannis Leidel
0379c8cf39
Fixed cache loading. Fixes #13 .
2011-07-08 14:46:41 +02:00
kmooney
c588e51e83
Change to skip template loaders whose load method is not implemented. This happens with the Django cached template loader, in particular.
2011-07-06 17:21:31 +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