Commit graph

147 commits

Author SHA1 Message Date
Jannis Leidel
d5be3e42d5 Use django-appconf. 2011-09-06 12:31:28 +02:00
dfalk
9e81e53099 using ugettext 2011-08-26 01:28:49 +04:00
Jannis Leidel
e12c6e8ece Updated translations. 2011-08-15 13:23:48 +02:00
Jannis Leidel
362af384a6 Updated base translation files. 2011-08-15 13:13:37 +02:00
Jannis Leidel
f6ea762ed4 Bumped to 1.2 and extended Trove classifiers. 2011-08-15 13:12:47 +02:00
Jannis Leidel
e55e52156f Slight corrections to loader. 2011-08-15 13:08:38 +02:00
Jannis Leidel
52528648ba Fixed tests. 2011-08-15 13:05:34 +02:00
Jannis Leidel
ede4013fad Renamed admin action to be less ambiguous. 2011-08-15 13:05:26 +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
88f6c54c83 Bumped version up a bit. 2011-07-08 15:00:28 +02:00
Jannis Leidel
0379c8cf39 Fixed cache loading. Fixes #13. 2011-07-08 14:46:41 +02:00
Jannis Leidel
99188bb92c Bumped version and copyright year. 2011-07-06 21:25:17 +02:00
Jannis Leidel
d5de8390ac Updated translations. 2011-07-06 21:23:41 +02:00
Jannis Leidel
a3cc44c069 Removed trailing whitespace. 2011-07-06 21:16:16 +02:00
Alen Mujezinovic
8c5e1b95b3 Fixes template names being cut off when using sync_templates:
http://cl.ly/0R092W1H3n3m19120j1x
2011-07-06 18:11:05 +01: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
olivergeorge
fb1fdcbd84 Extended sync_templates command to make exporting changes out to file easier. 2011-07-06 17:00:44 +02:00
Jannis Leidel
7473b54bb1 Added tests for sync_templates command. 2011-07-06 15:40:56 +02:00
Jannis Leidel
05b109ec5a A bunch of flake8 fixees. 2011-07-01 15:50:04 +02:00
Jannis Leidel
2804cd527f Refactored loader to be class based only. 2011-07-01 15:44:23 +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
Jannis Leidel
519ad3763a Fixed import. 2011-06-15 16:20:30 +02:00
Jason Mayfield
825e3b95ff allow blank sites
Signed-off-by: Jannis Leidel <jannis@leidel.info>
2011-06-15 16:17:47 +02:00
Jason Mayfield
1415896b3d allow save as for templates to easily copy templates for another site
Signed-off-by: Jannis Leidel <jannis@leidel.info>
2011-06-15 16:16:29 +02:00
Jason Mayfield
dd15deab60 filter horizontal the sites
Signed-off-by: Jannis Leidel <jannis@leidel.info>
2011-06-15 16:16:21 +02:00
Jason Mayfield
587b66232c typo 2011-06-15 16:16:09 +02:00
Jason Mayfield
e694b3dfb8 remove name uniqueness, with migration
Signed-off-by: Jannis Leidel <jannis@leidel.info>
2011-06-15 16:15:31 +02:00
Jannis Leidel
4507b02ed5 Relaxed the cache setting handling a bit. Fixes #7. 2011-06-15 15:59:29 +02:00
Jannis Leidel
1dc6580b67 Bumped to 1.0.1. 2011-04-14 13:46:15 +02:00
Jannis Leidel
ae6818f745 Fixed cache setting handling. Fixes issue #4. 2011-04-14 13:45:22 +02:00
Jannis Leidel
e11c2ee71d Only check for old-style caches if the value is a string (e.g. locmem://). 2011-04-14 13:45:16 +02:00
Jannis Leidel
5dd6bf991d Added PEP386 helper code. 2011-04-11 23:33:47 +02:00
Jannis Leidel
baa451ea22 Updated code to pass more Pyflakes. 2011-04-11 23:16:21 +02:00
Jannis Leidel
5c8d2eefde Fall back to MEDIA_URL actually, to make sure we don't hit an AttributeError with the default value of None. 2011-04-11 22:38:17 +02:00
Jannis Leidel
c11afa37ad Removed unneeded import. 2011-04-11 19:31:08 +02:00
Jannis Leidel
a11006849d Fixed ImportError. 2011-04-11 19:29:49 +02:00
Jannis Leidel
5f69f71584 BACKWARDS INCOMPATIBLE CHANGE. Use STATIC_URL by default. 2011-04-11 19:19:39 +02:00
Jannis Leidel
5190186f3b BACKWARDS INCOMPATIBLE CHANGE. Refactored caching to just use Django's caching system, instead of its own. 2011-04-11 19:19:00 +02:00
Jannis Leidel
04f6372d68 Moved media/* to static/* for new staticfiles compatibility. 2011-04-11 18:00:48 +02:00
Jannis Leidel
256d957c4a Updated PO file a bit. 2011-01-31 11:15:15 +01:00
Jannis Leidel
139121098a Updated a few gettext metadata items. 2011-01-31 11:12:21 +01:00
Jannis Leidel
153a6f1368 Bumped to 0.8.0. 2010-11-07 00:25:57 +01:00
Jannis Leidel
2d1c45376b Updated sync_templates management command slightly. 2010-11-07 00:22:13 +01:00
Jannis Leidel
5f0471e67f Merge branch 'develop' of github.com:jezdez/django-dbtemplates into develop 2010-11-07 00:03:29 +01:00
Jannis Leidel
c87af1888d Updated English base translation. 2010-11-07 00:02:50 +01:00
Jannis Leidel
89e82f07dd Updated German translation. 2010-11-07 00:02:10 +01:00