Commit graph

20 commits

Author SHA1 Message Date
Bogdan Hodorog
30a470145f UNICORN-5222 pull from remotes/jezdez/tags/1.3 2012-09-19 11:03:13 +03:00
Matt Dorn
6c25da5301 Added template syntax checker admin actions. 2011-08-15 12:42:27 +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
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
a40204def7 Moved setttings over to use AppSettings class. 2011-07-01 15:44:09 +02:00
Jannis Leidel
baa451ea22 Updated code to pass more Pyflakes. 2011-04-11 23:16:21 +02:00
Jannis Leidel
2d1c45376b Updated sync_templates management command slightly. 2010-11-07 00:22:13 +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
a0797ec6f9 Don't print to stdout in when creating default error templates, if verbosity = 0. 2010-06-24 11:47:41 +02:00
Jannis Leidel
1d78802096 Fixed a stupid bug in the create_error_template command.
committer: Jannis Leidel <jannis@leidel.info>

--HG--
extra : convert_revision : 49a0d0c50120e909e222dac77eae7a9e2256178b
2009-04-11 11:12:32 +02:00
leidel
b7011dce7e Made loader and cache backends site-aware. The filesystem cache backend now saves the files under <dir>/<site_domain>/<file_name>. The Django cache backend the Site id in the cache key. Template is now saved explicitly to backend if not existent in cache (e.g. if deleted manually or invalidated). Bumped version to 0.5.4.
git-svn-id: https://django-dbtemplates.googlecode.com/svn/trunk@88 cfb8ba98-e953-0410-9cff-959ffddf5974

committer: leidel <leidel@cfb8ba98-e953-0410-9cff-959ffddf5974>

--HG--
extra : convert_revision : 564571948adb06cdda915b665aa61d00b3118ed0
2008-12-26 17:39:48 +00:00
leidel
c9277e9c84 Removed automatic creation of 404.html and 500.html templates and added a new management command for those cases called "create_error_templates". Also made reverted move to Bitbucket.
git-svn-id: https://django-dbtemplates.googlecode.com/svn/trunk@84 cfb8ba98-e953-0410-9cff-959ffddf5974

committer: leidel <leidel@cfb8ba98-e953-0410-9cff-959ffddf5974>

--HG--
extra : convert_revision : b03959a7322a1acd040dad721d80d7bbd680f16d
2008-11-28 13:06:34 +00:00
leidel
56c4701737 actually implemented the --force option of sync_templates command, thanks Martin Mahner
git-svn-id: https://django-dbtemplates.googlecode.com/svn/trunk@49 cfb8ba98-e953-0410-9cff-959ffddf5974

committer: leidel <leidel@cfb8ba98-e953-0410-9cff-959ffddf5974>

--HG--
extra : convert_revision : 249d1af3375b0be74f37e5190475733898545ef5
2008-09-02 13:21:46 +00:00
leidel
bf711587aa Updated signals code due to backwards incompatible change in Django r8223
git-svn-id: https://django-dbtemplates.googlecode.com/svn/trunk@36 cfb8ba98-e953-0410-9cff-959ffddf5974

committer: leidel <leidel@cfb8ba98-e953-0410-9cff-959ffddf5974>

--HG--
extra : convert_revision : b4d45fbcdf3e92e7e14ad18f8791af611b479fee
2008-08-06 21:15:06 +00:00
leidel
c369ef4a7f only creates default 404 and 500 templates if not exist
git-svn-id: https://django-dbtemplates.googlecode.com/svn/trunk@32 cfb8ba98-e953-0410-9cff-959ffddf5974

committer: leidel <leidel@cfb8ba98-e953-0410-9cff-959ffddf5974>

--HG--
extra : convert_revision : cf1463a650b3b4cd4776c8d8038bed0b3458f016
2008-05-24 19:43:17 +00:00
leidel
d594550d51 stuuupid bug
git-svn-id: https://django-dbtemplates.googlecode.com/svn/trunk@29 cfb8ba98-e953-0410-9cff-959ffddf5974

committer: leidel <leidel@cfb8ba98-e953-0410-9cff-959ffddf5974>

--HG--
extra : convert_revision : 19f084ae369edadf799d81d8bc0de60ab0b85de7
2008-05-13 23:07:29 +00:00
leidel
a9df6d73b1 new management command 'sync_templates' for syncing the templates bidirectional
git-svn-id: https://django-dbtemplates.googlecode.com/svn/trunk@27 cfb8ba98-e953-0410-9cff-959ffddf5974

committer: leidel <leidel@cfb8ba98-e953-0410-9cff-959ffddf5974>

--HG--
extra : convert_revision : 252aa837acd100f5a4588f12d7ea33c5adf30b3c
2008-05-13 22:34:38 +00:00