Commit graph

286 commits

Author SHA1 Message Date
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
bfcf68fe63 Bundle authors list. 2011-08-15 13:09:29 +02:00
Jannis Leidel
6c08984118 Updated docs. 2011-08-15 13:08:46 +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
49eb36775b Typo fix.
Signed-off-by: Stephan Peijnik <spe@anexia.at>
2011-08-15 12:48:16 +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
29cedc5271 Merge branch 'release/1.1.1' into develop 2011-07-08 15:01:22 +02:00
Jannis Leidel
88f6c54c83 Bumped version up a bit. 2011-07-08 15:00:28 +02:00
Jannis Leidel
7449de7483 Extended docs about using the Loader class instead of the previously available function. Fixes #11. 2011-07-08 14:56:24 +02:00
Jannis Leidel
692a77725d Added links to the repo on Github. Fixes #10. 2011-07-08 14:53:11 +02:00
Jannis Leidel
0379c8cf39 Fixed cache loading. Fixes #13. 2011-07-08 14:46:41 +02:00
Jannis Leidel
75bf2f3c3b Merge branch 'release/1.1' into develop 2011-07-06 21:28:46 +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
e5cb4fd2d7 Fixed Transifex configuration. 2011-07-06 21:19:21 +02:00
Jannis Leidel
a3cc44c069 Removed trailing whitespace. 2011-07-06 21:16:16 +02:00
Jannis Leidel
fd82a6b1ab Merge branch 'develop' of github.com:jezdez/django-dbtemplates into develop 2011-07-06 21:15:22 +02:00
Jannis Leidel
c2a21533fd Prepared changelog for release. 2011-07-06 21:15:08 +02:00
Jannis Leidel
19801a4592 Removed unneeded requirement from example project. 2011-07-06 21:07:03 +02:00
Jannis Leidel
ed665e2cab Merge pull request #9 from flashingpumpkin/develop
Fixes template names being cut off when using sync_templates:
2011-07-06 10:13:16 -07: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
e3986a3e08 Extended changelog. 2011-07-01 15:45:09 +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
2c814889ed 1.1 isn't supported anymore. 2011-07-01 14:27:32 +02:00
Jannis Leidel
6caa401c7c Use current example project. 2011-06-15 16:20:40 +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
8049569be6 Forgot to update changelog. 2011-04-14 13:57:30 +02:00
Jannis Leidel
c530146dd5 Merge branch 'hotfix/cache-fixes' into develop 2011-04-14 13:46:30 +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
8c28bcf52d Use the class based loader in the docs. 2011-04-14 13:45:06 +02:00