This is a backwards-incompatible release!
- Moved maintenance to the Jazzband
- Dropped support for Python 2.6
- Added support for Python 3.4 and 3.5
- Dropped support for Django < 1.8
- Removed South migrations. Please use Django’s native migration system instead
- Removed the example project since it’s out-of-date quickly
- support for Django 1.8 (not full, but usable)
- support for RedactorJS
thanks for contrib - @eculver, @kmooney, @volksman
- Dropped support for Django < 1.3 backwards incompatible
- Dropped using versiontools in favor of home made solution.
- Added optional support for TinyMCE editor instead of the CodeMirror
editor (just enable
- Fixed compatibility to Django 1.4’s handling of the
DATABASESsetting. Should also respect database routers now.
- Fixed an issue of the cache key generation in combination with memcache’s inability to stomach spaces.
- Moved test runner to use nose and a hosted CI project at Travis: http://travis-ci.org/jazzband/django-dbtemplates
- Fixed a wrong use of the non-lazy localization tools.
- Fixed bugs in the documentation.
- Make use of django-appconf and versiontools.
- Refactored the template loader to be even more cache effective.
check_template_syntaxmanagement command and admin action to make sure the saved templates are valid Django templates.
- Fixed bug in cache loading (again).
- Fixed bugs in the documentation.
dbtemplates removed support for Django lower than 1.2 you
have to use the template loader class in the
'dbtemplates.loader.Loader') and not the previosly included
function that ended with
BACKWARDS-INCOMPATIBLE Requires Django 1.2 or higher. For previous Django versions use an older versions of
$ pip install "django-dbtemplates<1.1"
Added South migrations.
If you are using South in your Django project, you can easily enable
dbtemplates’ migrations, faking the first migration by using the
--fake option of South’s
migrate management command:
$ manage.py migrate --fake 0001 dbtemplates
Then run the rest of the migrations:
$ manage.py migrate dbtemplates
- Removed uniqueness on the
namefield of the
Templatemodel. This is needed because there isn’t a
unique_togetherfor M2M fields in Django such as the
sitesfield in the
- Made the
sitesfield optional to support a way to apply a template to all sites.
sync_templatesmanagment command to delete the file or database entry after syncing (depending on used
- Updated translations.
- Fixed issue with incorrectly splitting paths in
- Extended tests.
- Fixed issue with cache settings handling.
- Minor bugfixes with regard to the new cache handling.
This is the first stable release of django-dbtemplates which comes with a series of backwards incompatible changes.
- Removed own caching mechanism in favor of Django based caching mechanism.
DBTEMPLATES_CACHE_BACKENDis expected to be a valid cache backend URI, just like Django’s own
CACHE_BACKENDsetting. In Django >= 1.3 an
'dbtemplates'entry in the
CACHESsetting is also considered valid.
- Added tox configuration to test
dbtemplateson Python 2.5, 2.6 and 2.7 with Django 1.1.X, 1.2.X and 1.3.X.
- Added Transifex configuration.
STATIC_URLsetting instead of
MEDIA_URLfor the media prefix. Also moved files from media/* to static/* to follow convention introduced in Django 1.3.
- Use ReadTheDocs for documentation hosting.
- Added Finnish translation (by jholster)
- Added –overwrite and –app-first options to sync_templates command (by Alex Kamedov).
- Fixed tests.
DBTEMPLATES_AUTO_POPULATE_CONTENTsetting to be able to disable to auto-populating of template content.
- Fixed cosmetic issue in admin with collapsable fields.
- Moved to Github again. Sigh.
Fixed problem with the CodeMirror textarea, which wasn’t completely disabled before.
Fixed problem with the
DBTEMPLATES_MEDIA_PREFIXsetting, which defaults now to
In other words, if you don’t specify a
DBTEMPLATES_MEDIA_PREFIXsetting and have the CodeMirror textarea enabled, dbtemplates will look in a subdirectory of your site’s
MEDIA_ROOTfor the CodeMirror media files.
- Added CodeMirror-based syntax highlighting textarea, based on the amaxing
work by Nic Pottier. Set the
Trueto enable it.
- Make use of the full width in plain textarea mode.
- Added Chinese translation
- Added support for Django 1.2
- Updated French translation
DBTEMPLATES_USE_REVERSIONsetting to be able to explicitely enable reversion support. (Default:
- Fixed issue with default site of a template, added ability to disable
default site (
- Updated and added locales (Danish, Brazilian Portuguese)
- Fixes an ambiguity problem with the cache invalidation
- Added Sphinx documentation
- Updates to the docs
- switch back to Bitbucket
- fixed tests
- Added Italian translation
- list of sites the template is used on
- fixed bug in
- Made loader and cache backends site-aware.
- The filesystem cache backend now saves the files under
- 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).
- Removed automatic creation of 404.html and 50v0.html templates and added a
new management command for those cases called
- Also reverted move to Bitbucket
- Fixed a problem with
django.contrib.siteswhen its table hasn’t been populated yet on initialization of dbtemplates. Thanks for the report, Kevin Fricovsky
- Added an example Django project and docs for it
- Removed unneeded code that registered the model with reversion.
- Updated docs a bit.
- Moved codebase to Bitbucket.
- Removed legacy
django-admin.py sync_templatesfrom now on.
- Minor bugfix
- Minor doc change and PyPI support
- fixed the –force option of the sync_templates command
- removed oldforms code
- added Hebrew translation (by mkriheli)
- added French (by Roland Frederic) and German locale
- adds better support for newforms-admin
- don’t forget to load the dbtemplates.admin, e.g. by using django.contrib.admin.autodiscover() in you urls.py
- adds a new management command sync_templates for bidirectional syncing between filesystem and database (backwards-compatible) and FilesystemCaching (thanks, Arne Brodowski!)
- adds support for newforms-admin
Please leave your questions and messages on the designated site: