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
33c1197ad1
Merge pull request #30 from bmihelac/fix-27-MultipleObjectsReturned
...
Fix 27 multiple objects returned
2012-03-30 06:31:55 -07:00
Bojan Mihelac
3aa3132255
Fix for #28
2012-03-30 15:25:45 +02:00
Bojan Mihelac
29f08281d7
Fix #27 .
...
dbtemplates tries to find template from database which is associated
with current site, and if that fails then template from database which
is not associated with any site.
2012-03-30 15:14:21 +02:00
Bojan Mihelac
f503013b0f
Add failing tests for #27 .
...
Raises MultipleObjectsReturned with sites
2012-03-30 15:11:57 +02:00
Jannis Leidel
832b000c49
Merge pull request #21 from markstahler/develop
...
django-tinymce support
2012-03-19 14:18:49 -07:00
Jure Cuhalev
0cfd927938
fix for tests when dbtemplates template loader is not in main settings.py
2012-02-25 22:47:05 +01:00
Jannis Leidel
ad7b258308
Force an encoding when writing the content to the file.
2012-02-24 23:35:51 +01:00
Mark Stahler
68d4342df4
removed urls.py which is not required if django-tinymce is installed
...
properly. fixed new bug relating to codemirror introduced by tinymce
2012-01-18 08:33:13 -05:00
Mark Stahler
edaf6ea258
respect column widths
2012-01-17 22:11:08 -05:00
Mark Stahler
e866e52074
fixed tinyMce not appearing in admin area
2012-01-17 21:58:47 -05:00
Mark Stahler
02aaad635a
Added TinyMCE support via django-tinymce
2012-01-17 21:22:22 -05:00
Jannis Leidel
4ae9392e08
Use django-jenkins for tests and prepare it for ci.enn.io.
2012-01-09 00:01:17 +01:00
Jannis Leidel
b6d5bfa226
Use better testrunner.
2011-09-06 15:00:30 +02:00
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