Commit graph

131 commits

Author SHA1 Message Date
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
Jannis Leidel
696099d2e3 Added Finnish translation, thanks Jaakko Holster. 2010-11-07 00:01:05 +01:00
Alex Kamedov
d095052518 add --app_first option to sync_templates management command to process templates from app directories before templates from settings.TEMPLATE_DIRS 2010-11-07 06:57:17 +08:00
Alex Kamedov
91bb9e9095 add --overwrite option to sync_templates command 2010-11-07 06:57:08 +08:00
Jannis Leidel
b0e64ffd4c Bumped to 0.7.4. 2010-09-23 04:01:49 +02:00
Jannis Leidel
b91c23e15e Fixed issue 12 -- Make the test not break other tests. 2010-09-23 03:33:19 +02:00
Jannis Leidel
46ee615c3e Removed stray print statement. 2010-09-21 14:40:41 +02:00
Jannis Leidel
4629a998d8 Bumped version. 2010-09-21 14:40:34 +02:00
Jannis Leidel
975e0a4087 Added DBTEMPLATES_AUTO_POPULATE_CONTENT setting to be able to disable to auto populating of template content. 2010-09-21 14:25:14 +02:00
Jannis Leidel
e4cdd4a1c4 Don't collapse the advanced fields, cause sites is required. 2010-09-21 14:23:25 +02:00
Jannis Leidel
cab1f12cb8 Nicer settings in admin module. 2010-09-21 14:23:04 +02:00
Jannis Leidel
6d680a5100 Make sure of the correct backend when loading an initial version of a template. Possible fix for issue #8. 2010-09-21 14:21:30 +02:00
Jannis Leidel
72abb2f6f1 Bumped version to 0.7.2a1 2010-07-07 12:42:30 +02:00
Jannis Leidel
2237fcd00f Made DBTEMPLATES_MEDIA_PREFIX setting default to <MEDIA_ROOT>/dbtemplates instead of None. 2010-07-07 12:39:51 +02:00
Jannis Leidel
9953ac8069 Fixed disabling the CodeMirror textarea. 2010-07-07 12:38:54 +02:00
Jannis Leidel
19e03526a0 Bumped to 0.7.1a1. 2010-06-24 16:25:57 +02:00
Jannis Leidel
4a91d91cce Fixed silly versioning kerfuffle. 2010-06-24 16:24:36 +02:00