Jannis Leidel
3da20729b5
Exlucde example app from installation, bumped to 0.5.8
2009-05-26 19:54:27 +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
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
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