Commit graph

263 commits

Author SHA1 Message Date
Jannis Leidel
a2547a90be Getting ready for 0.6.0 2009-10-09 15:01:57 +02:00
Jannis Leidel
bd214ad336 Compiled translations 2009-10-09 14:12:48 +02:00
Jannis Leidel
62caa94e14 Updated locales after latest changes 2009-10-09 14:03:26 +02:00
Jannis Leidel
62b371d1ee Added admin actions to invalidate and repopulate template cache 2009-10-09 14:01:57 +02:00
Jannis Leidel
991367c3c8 Compiled danish and pt_BR locales 2009-09-20 16:55:51 +02:00
Jannis Leidel
73c756ed47 Updated locales again 2009-09-20 16:55:11 +02:00
Jannis Leidel
5cc3dc62a6 Updated locales and added empty en locale 2009-09-20 16:54:05 +02:00
Jannis Leidel
4222c43190 Merge. 2009-09-20 16:53:51 +02:00
Jannis Leidel
88999da27d Updated locales and added empty en locale 2009-09-20 16:51:38 +02:00
Diego Búrigo Zacarão
5f198ee276 l10n: Added Brazilian Portuguese translation
Transmitted-via: Transifex (www.transifex.net)
2009-09-10 18:46:38 +00:00
Jannis Leidel
2129bb1361 l10n: Added Danish locale, thanks illio. Fixed issue #2.
Transmitted-via: Transifex (www.transifex.net)
2009-09-04 15:15:23 +00:00
Alex
abf6d70a1f l10n: Updates to Hebrew (he) translation
Transmitted-via: Transifex (www.transifex.net)
2009-08-25 17:43:09 +00:00
Jannis Leidel
ac0932fb59 l10n: Updates to German (de) translation
Transmitted-via: Transifex (www.transifex.net)
2009-08-25 09:11:14 +00:00
Jannis Leidel
74c30f1eec Fixes an ambiguity problem with the cache invalidation 2009-08-19 20:55:07 +02:00
Jannis Leidel
5585c5320f Bumped version up to 0.5.9 and added dev flag 2009-08-19 20:51:26 +02:00
Jannis Leidel
3da20729b5 Exlucde example app from installation, bumped to 0.5.8 2009-05-26 19:54:27 +02:00
Jannis Leidel
394c69c4cc Changed docs and setup.py to use new location at Bitbucket. Added hgignore, remove .gitignore 2009-05-20 14:08:59 +02:00
Jannis Leidel
fc8b4e148a Bumped to version 0.5.6
committer: Jannis Leidel <jannis@leidel.info>

--HG--
extra : convert_revision : ed792bd5fbc13aaf9eb307144c65c5f36cddcbd0
2009-04-11 11:13:47 +02:00
Jannis Leidel
c2c7f1da62 Moved doctests to own file, updated to actually work :)
committer: Jannis Leidel <jannis@leidel.info>

--HG--
extra : convert_revision : 0fc4c5c27f0b59f985a37668ea80f545fcfcb36f
2009-04-11 11:13:33 +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
Jannis Leidel
078985d629 Changed setup.py to use setuptools because it has a with zip_safe attribute which prevents creating zipped installations.
committer: Jannis Leidel <jannis@leidel.info>

--HG--
extra : convert_revision : 5e5b1e2202d8e4b2354e52273e468a829f173508
2009-03-01 01:04:19 +01:00
Jannis Leidel
25cb0a3bfb Added Italian translation (thanks marcoberi) and updated other locales with latest string additions.
committer: Jannis Leidel <jannis@leidel.info>

--HG--
extra : convert_revision : 1a243ff6fe2587ee309b8aa00154fc5b6bb93a8f
2009-03-01 01:04:10 +01:00
leidel
50bc53488b Removed superfluous imports
git-svn-id: https://django-dbtemplates.googlecode.com/svn/trunk@93 cfb8ba98-e953-0410-9cff-959ffddf5974

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

--HG--
extra : convert_revision : 8fb9234f876ad589d244a6d082b7c40e4bf5e8c1
2009-01-21 10:45:39 +00:00
leidel
92ec88352a Fix typo
git-svn-id: https://django-dbtemplates.googlecode.com/svn/trunk@92 cfb8ba98-e953-0410-9cff-959ffddf5974

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

--HG--
extra : convert_revision : 8e5b8d2297bd82cdecd757019fdbe573dbae23a6
2009-01-21 10:43:47 +00:00
leidel
640720a341 Look in INSTALLED_APPS to find out if django-reversion is installed
git-svn-id: https://django-dbtemplates.googlecode.com/svn/trunk@91 cfb8ba98-e953-0410-9cff-959ffddf5974

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

--HG--
extra : convert_revision : 2dc4215694abff348b90ba7e63b39db86d74057d
2009-01-21 10:29:26 +00:00
leidel
e569b18386 Added a list to the admin list view that contains all site names that the template is used on.
git-svn-id: https://django-dbtemplates.googlecode.com/svn/trunk@89 cfb8ba98-e953-0410-9cff-959ffddf5974

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

--HG--
extra : convert_revision : 33a11e588fcee4fd9bdf6fa34065b68aced13c60
2009-01-03 11:55:22 +00: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
84dc3e0bcc Added hooks for __version__
git-svn-id: https://django-dbtemplates.googlecode.com/svn/trunk@83 cfb8ba98-e953-0410-9cff-959ffddf5974

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

--HG--
extra : convert_revision : 5c361908f79ffc41f9d88db684370b4a2e194028
2008-11-21 11:26:14 +00:00
leidel
631a2f871a Fixed problem when django.contrib.sites' table isn't populated yet on initialization of dbtemplates. Thanks for the report, Kevin Fricovsky
git-svn-id: https://django-dbtemplates.googlecode.com/svn/trunk@76 cfb8ba98-e953-0410-9cff-959ffddf5974

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

--HG--
extra : convert_revision : 42df3a04d82bc0957159d20fc8d666f420ab24a1
2008-11-16 02:02:30 +00:00
leidel
feb4aac05c Changed a translation string and updated locales
git-svn-id: https://django-dbtemplates.googlecode.com/svn/trunk@75 cfb8ba98-e953-0410-9cff-959ffddf5974

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

--HG--
extra : convert_revision : a6fcbc158c0be2148c2e4ef154410ced6737d048
2008-11-16 02:02:10 +00:00
leidel
d984b45540 Removed old sync_templates.py script, use the django-admin.py sync_templates please. Removes unneeded code that registers the model with django-reversion manually. Updated docs after move from Google Code to Bitbucket.
git-svn-id: https://django-dbtemplates.googlecode.com/svn/trunk@65 cfb8ba98-e953-0410-9cff-959ffddf5974

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

--HG--
extra : convert_revision : 49af8f284937e75d0878354684fb1ce9addb04a0
2008-11-09 13:55:20 +00:00
leidel
74482aca1e Updated German and Hebrew locales (Thanks to Alex Gaynor) and bumped version to 0.5.0
git-svn-id: https://django-dbtemplates.googlecode.com/svn/trunk@61 cfb8ba98-e953-0410-9cff-959ffddf5974

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

--HG--
extra : convert_revision : a116b77509c0cf53ff39b8052ec30dcbfeefeeb2
2008-11-02 00:06:16 +00:00
leidel
9f0d7a2564 Fixed docstring in template loader.
Fixed wrong return types in FileSystemBackend.

git-svn-id: https://django-dbtemplates.googlecode.com/svn/trunk@59 cfb8ba98-e953-0410-9cff-959ffddf5974

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

--HG--
extra : convert_revision : 7ea05e043c43c23fbf846bc9ddd80400519631e2
2008-11-02 00:05:48 +00:00
leidel
41ff350628 Refactored template loader to use new backend architecture, that populates the cache by using signals.
Adds a BaseCacheBackend class with a simple API (load, save, remove) to be subclassed and specified in the DBTEMPLATES_CACHE_BACKEND settings.
Adds DjangoCacheBackend (uses Django's own caching mechanism) and FileSystemBackend (simple approach to filesystem saving).

git-svn-id: https://django-dbtemplates.googlecode.com/svn/trunk@58 cfb8ba98-e953-0410-9cff-959ffddf5974

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

--HG--
extra : convert_revision : fde60d8ab2e834d898d9f662cf013d5546370eeb
2008-11-02 00:05:38 +00:00
leidel
391b00c655 Added support for django-reversion to versionize Template instances. Enabled only if django-reversion is installed.
Makes the template textarea appear larger and use monospace fonts.
Enables filtering by sites in the changelist view.

git-svn-id: https://django-dbtemplates.googlecode.com/svn/trunk@57 cfb8ba98-e953-0410-9cff-959ffddf5974

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

--HG--
extra : convert_revision : b1e31a43061323c6935659312f86f32084a54b9e
2008-11-02 00:05:26 +00:00
Alexander Artemenko
a63dcabe08 Fill template with existing one, in case, if 'content' was leaved empty.
committer: Alexander Artemenko <svetlyak.40wt@gmail.com>

--HG--
extra : convert_revision : 36266b5b8a3ab9aba21ba3590b39b6854fe29262
2008-10-24 11:56:51 +04:00
leidel
a079b5a68d Made save() mathod arguments magic
git-svn-id: https://django-dbtemplates.googlecode.com/svn/trunk@52 cfb8ba98-e953-0410-9cff-959ffddf5974

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

--HG--
extra : convert_revision : 85e57e88ea1aa4b00a06de45db8ff30bbe07d950
2008-10-04 10:01:49 +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
9434a10e69 fixed error in custom model save() after changes in Django r8670, bumped version to 0.4.4
git-svn-id: https://django-dbtemplates.googlecode.com/svn/trunk@48 cfb8ba98-e953-0410-9cff-959ffddf5974

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

--HG--
extra : convert_revision : 9c0c8140843173ac78d682c467fc824b311a6e92
2008-09-02 13:03:51 +00:00
leidel
39446c08b3 remove oldforms stuff
git-svn-id: https://django-dbtemplates.googlecode.com/svn/trunk@46 cfb8ba98-e953-0410-9cff-959ffddf5974

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

--HG--
extra : convert_revision : c4a85e403e270c4749b620f8d4f1602ac8533164
2008-08-27 09:50:02 +00:00
leidel
32a25d8524 Added Hebrew translation, thanks mkriheli
git-svn-id: https://django-dbtemplates.googlecode.com/svn/trunk@43 cfb8ba98-e953-0410-9cff-959ffddf5974

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

--HG--
extra : convert_revision : f75b729367d58618ba8670166236938f760e2633
2008-08-23 22:12:17 +00:00
leidel
b354e423b7 changed german locale
git-svn-id: https://django-dbtemplates.googlecode.com/svn/trunk@39 cfb8ba98-e953-0410-9cff-959ffddf5974

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

--HG--
extra : convert_revision : e6bf3858195a02c06ac0ce5267d45d5cd0a8755b
2008-08-19 15:16:28 +00:00
leidel
052e7ae0fb added french locale, thanks to Roland Frédéric. changed german locale
git-svn-id: https://django-dbtemplates.googlecode.com/svn/trunk@38 cfb8ba98-e953-0410-9cff-959ffddf5974

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

--HG--
extra : convert_revision : 5911dc3ecd0c373c4764b0b7a9ad0347955bb50f
2008-08-19 15:16:09 +00:00
leidel
49b5772b57 added german locale
git-svn-id: https://django-dbtemplates.googlecode.com/svn/trunk@37 cfb8ba98-e953-0410-9cff-959ffddf5974

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

--HG--
extra : convert_revision : 46dfd958898663cc052048bce6361768bc5c6a69
2008-08-19 15:15:43 +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
2187c10537 added support for newforms-admin
git-svn-id: https://django-dbtemplates.googlecode.com/svn/trunk@35 cfb8ba98-e953-0410-9cff-959ffddf5974

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

--HG--
extra : convert_revision : 3be7558f64d204bc9cbb445cb6e1b8ae84369a82
2008-07-19 10:48:07 +00:00
leidel
b92b8d8749 updated tests to be not as old as the hills
git-svn-id: https://django-dbtemplates.googlecode.com/svn/trunk@33 cfb8ba98-e953-0410-9cff-959ffddf5974

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

--HG--
extra : convert_revision : 7873faa6befd6882a220cd1b5c3e8e78021ff4c0
2008-05-24 19:56:30 +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
11f73a007b stuuupid bug
git-svn-id: https://django-dbtemplates.googlecode.com/svn/trunk@30 cfb8ba98-e953-0410-9cff-959ffddf5974

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

--HG--
extra : convert_revision : eced669baec4919151e2c7c8f7834a7318fbc4a0
2008-05-13 23:42:57 +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
arne@rcs4u.de
b0e61f5ba6 fix for templates which have (multiple) directories in their name
git-svn-id: https://django-dbtemplates.googlecode.com/svn/trunk@25 cfb8ba98-e953-0410-9cff-959ffddf5974

committer: arne@rcs4u.de <arne@rcs4u.de@cfb8ba98-e953-0410-9cff-959ffddf5974>

--HG--
extra : convert_revision : 71ab553013820fadcb623a2039d0c51a7ff7f271
2008-04-17 12:52:57 +00:00
arne@rcs4u.de
06dfbb4402 added some docstrings, fixed operation for the case, that settings.DBTEMPLATE_CACHE_DIR is not set. code-cleanup needed ...
git-svn-id: https://django-dbtemplates.googlecode.com/svn/trunk@23 cfb8ba98-e953-0410-9cff-959ffddf5974

committer: arne@rcs4u.de <arne@rcs4u.de@cfb8ba98-e953-0410-9cff-959ffddf5974>

--HG--
extra : convert_revision : a20626f69228166f0dac31a250f00efbaca378db
2008-04-17 10:44:20 +00:00
arne@rcs4u.de
dae109748b added filesystem-based caching of dbtemplates (configured via settings.DBTEMPLATES_CACHE_DIR). docs and tests still missing.
git-svn-id: https://django-dbtemplates.googlecode.com/svn/trunk@22 cfb8ba98-e953-0410-9cff-959ffddf5974

committer: arne@rcs4u.de <arne@rcs4u.de@cfb8ba98-e953-0410-9cff-959ffddf5974>

--HG--
extra : convert_revision : 633aadf3de216f42398f8c57a93d68c28946da3a
2008-04-17 10:20:09 +00:00
leidel
d4a634ecb3 added support for newforms-admin with patch by simon.hedberg, thanks
git-svn-id: https://django-dbtemplates.googlecode.com/svn/trunk@21 cfb8ba98-e953-0410-9cff-959ffddf5974

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

--HG--
extra : convert_revision : 8127ffb5265757b42f66a548c30def925506411c
2008-02-27 19:03:22 +00:00
leidel
dbbca437f2 cosmetic changes
git-svn-id: https://django-dbtemplates.googlecode.com/svn/trunk@19 cfb8ba98-e953-0410-9cff-959ffddf5974

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

--HG--
extra : convert_revision : 16c23faf8bc2f69fb7a59a9521934f5cc875db2e
2007-07-30 20:50:06 +00:00
leidel
91e756856e changed __str__ to __unicode__ in Template model
git-svn-id: https://django-dbtemplates.googlecode.com/svn/trunk@18 cfb8ba98-e953-0410-9cff-959ffddf5974

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

--HG--
extra : convert_revision : e81cee8e9bbe7af0651193ab5165f3287a77af77
2007-07-30 20:39:37 +00:00
leidel
371ada2ae2 sync_templates.py now sync correctly and has some command line options
git-svn-id: https://django-dbtemplates.googlecode.com/svn/trunk@17 cfb8ba98-e953-0410-9cff-959ffddf5974

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

--HG--
extra : convert_revision : e67e7d92fbb75c5b02c7378dade7fc94587bc038
2007-07-30 20:00:52 +00:00
leidel
df651dd7e7 next try to make sync_templates.py useful for every day action
git-svn-id: https://django-dbtemplates.googlecode.com/svn/trunk@16 cfb8ba98-e953-0410-9cff-959ffddf5974

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

--HG--
extra : convert_revision : 106911378c63deb096872456c557b5427465150c
2007-07-30 18:56:04 +00:00
leidel
a8df7a4130 made sync_template.py a script which installs in python's bin dir
git-svn-id: https://django-dbtemplates.googlecode.com/svn/trunk@15 cfb8ba98-e953-0410-9cff-959ffddf5974

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

--HG--
extra : convert_revision : 79849b9391562f13975e52b5f9a18f2712ef95ea
2007-07-30 17:54:00 +00:00
leidel
e59bb89f6c again: refactoring as a standalone application
git-svn-id: https://django-dbtemplates.googlecode.com/svn/trunk@13 cfb8ba98-e953-0410-9cff-959ffddf5974

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

--HG--
extra : convert_revision : 7974964ff8ace563a81a23cd6308934a2461e5fb
2007-07-20 14:52:00 +00:00
leidel
bbc00a779b again: refactoring as a standalone application
git-svn-id: https://django-dbtemplates.googlecode.com/svn/trunk@12 cfb8ba98-e953-0410-9cff-959ffddf5974

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

--HG--
extra : convert_revision : 5fc12102108671ddb3b9890c9091bd39cb446728
2007-07-20 14:30:48 +00:00