Alex Cucu
e559006f05
When changing template-site assignments, invalidate cached templates that belonged to sites that got unassigned
2012-10-08 16:46:15 +03:00
Bogdan Hodorog
30a470145f
UNICORN-5222 pull from remotes/jezdez/tags/1.3
2012-09-19 11:03:13 +03: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