mirror of
https://github.com/jazzband/django-dbtemplates.git
synced 2026-03-16 22:20:28 +00:00
242 lines
5.5 KiB
Text
242 lines
5.5 KiB
Text
Changelog
|
|
=========
|
|
|
|
1.0.0 (04-11-11)
|
|
----------------
|
|
|
|
.. warning::
|
|
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.
|
|
The ``DBTEMPLATES_CACHE_BACKEND`` is expected to be a valid cache backend
|
|
URI, just like Django's own ``CACHE_BACKEND`` setting. In Django >= 1.3
|
|
an ``'dbtemplates'`` entry in the ``CACHES`` setting is also considered
|
|
valid.
|
|
|
|
* Added tox configuration to test ``dbtemplates`` on Python 2.5, 2.6 and 2.7
|
|
with Django 1.1.X, 1.2.X and 1.3.X.
|
|
|
|
* Added Transifex configuration.
|
|
|
|
* Use ``STATIC_URL`` setting instead of ``MEDIA_URL`` for the media prefix.
|
|
Also moved files from media/* to static/* to follow convention introduced
|
|
in Django 1.3.
|
|
|
|
* Use ReadTheDocs for documentation hosting.
|
|
|
|
0.8.0 (11-07-10)
|
|
----------------
|
|
|
|
* Added Finnish translation (by jholster)
|
|
|
|
* Added --overwrite and --app-first options to sync_templates command (by Alex Kamedov).
|
|
|
|
0.7.4 (09-23-10)
|
|
----------------
|
|
|
|
* Fixed tests.
|
|
|
|
0.7.3 (09-21-10)
|
|
----------------
|
|
|
|
* Added ``DBTEMPLATES_AUTO_POPULATE_CONTENT`` setting to be able to disable
|
|
to auto-populating of template content.
|
|
|
|
* Fixed cosmetic issue in admin with collapsable fields.
|
|
|
|
0.7.2 (09-04-10)
|
|
----------------
|
|
|
|
* Moved to Github again. Sigh.
|
|
|
|
0.7.1 (07-07-10)
|
|
----------------
|
|
|
|
* Fixed problem with the CodeMirror textarea, which wasn't completely
|
|
disabled before.
|
|
|
|
* Fixed problem with the ``DBTEMPLATES_MEDIA_PREFIX`` setting, which defaults
|
|
now to ``os.path.join(settings.MEDIA_ROOT, 'dbtemplates')`` now.
|
|
|
|
In other words, if you don't specify a ``DBTEMPLATES_MEDIA_PREFIX`` setting
|
|
and have the CodeMirror textarea enabled, dbtemplates will look in a
|
|
subdirectory of your site's ``MEDIA_ROOT`` for the CodeMirror media files.
|
|
|
|
0.7.0 (06-24-10)
|
|
----------------
|
|
|
|
* Added CodeMirror_-based syntax highlighting textarea, based on the amaxing
|
|
work_ by `Nic Pottier`_. Set the ``DBTEMPLATES_USE_CODEMIRROR`` setting
|
|
to ``True`` to enable it.
|
|
|
|
* Make use of the full width in plain textarea mode.
|
|
|
|
* Added Chinese translation
|
|
|
|
* Added support for Django 1.2
|
|
|
|
* Updated French translation
|
|
|
|
* Added ``DBTEMPLATES_USE_REVERSION`` setting to be able to explicitely enable
|
|
reversion support. (Default: ``False``)
|
|
|
|
.. _CodeMirror: http://marijn.haverbeke.nl/codemirror/
|
|
.. _work: https://gist.github.com/368758/86bcafe53c438e2e2a0e3442c3b30f2c6011fbba
|
|
.. _`Nic Pottier`: http://github.com/nicpottier
|
|
|
|
0.6.1 (10-19-09):
|
|
-----------------
|
|
|
|
* Fixed issue with default site of a template, added ability to disable
|
|
default site (``DBTEMPLATES_ADD_DEFAULT_SITE``).
|
|
|
|
0.6.0 (10-09-09):
|
|
-----------------
|
|
|
|
* Updated and added locales (Danish, Brazilian Portuguese)
|
|
|
|
* Fixes an ambiguity problem with the cache invalidation
|
|
|
|
* Added ``invalidate_cache`` and ``repopulate_cache`` admin actions
|
|
|
|
* Added Sphinx documentation
|
|
|
|
0.5.7
|
|
-----
|
|
|
|
* Updates to the docs
|
|
|
|
* switch back to Bitbucket
|
|
|
|
* fixed tests
|
|
|
|
* Added Italian translation
|
|
|
|
* list of sites the template is used on
|
|
|
|
* fixed bug in ``create_error_template`` command.
|
|
|
|
0.5.4
|
|
-----
|
|
|
|
* 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).
|
|
|
|
0.5.3
|
|
-----
|
|
|
|
* Removed automatic creation of 404.html and 500.html templates and added a
|
|
new management command for those cases called ``create_error_templates``
|
|
|
|
* Also reverted move to Bitbucket
|
|
|
|
0.5.2
|
|
-----
|
|
|
|
* Fixed a problem with ``django.contrib.sites`` when 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
|
|
|
|
0.5.1
|
|
-----
|
|
|
|
* Removed unneeded code that registered the model with reversion.
|
|
|
|
* Updated docs a bit.
|
|
|
|
* Moved codebase to Bitbucket.
|
|
|
|
* Removed legacy ``sync_templates.py`` script, use ``django-admin.py
|
|
sync_templates`` from now on.
|
|
|
|
0.5.0
|
|
-----
|
|
|
|
* Added support for `django-reversion`_
|
|
|
|
* added feature that populates the content field automatically when left
|
|
empty by using Django's other template loaders
|
|
|
|
* added caching backend system with two default backends:
|
|
|
|
* ``FileSystemBackend``
|
|
* ``DjangoCacheBackend``
|
|
|
|
More about it in the `blog post`_ and in the docs.
|
|
|
|
.. _django-reversion: http://code.google.com/p/django-reversion/
|
|
.. _blog post: http://jannisleidel.com/2008/11/updates-to-django-dbtemplates-and-half-assed-promise/
|
|
|
|
0.4.7
|
|
-----
|
|
|
|
* Minor bugfix
|
|
|
|
0.4.6
|
|
-----
|
|
|
|
* Minor doc change and PyPI support
|
|
|
|
0.4.5
|
|
-----
|
|
|
|
* fixed the --force option of the sync_templates command
|
|
|
|
0.4.4
|
|
-----
|
|
|
|
* fixed error in custom model save() after changes in Django `r8670`_.
|
|
|
|
.. _r8670: http://code.djangoproject.com/changeset/8670
|
|
|
|
0.4.3
|
|
-----
|
|
|
|
* removed oldforms code
|
|
|
|
0.4.2
|
|
-----
|
|
|
|
* added Hebrew translation (by mkriheli)
|
|
|
|
0.4.1
|
|
-----
|
|
|
|
* added French (by Roland Frederic) and German locale
|
|
|
|
0.4.0
|
|
-----
|
|
|
|
* 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
|
|
|
|
0.3.1
|
|
-----
|
|
|
|
* adds a new management command *sync_templates* for bidirectional syncing
|
|
between filesystem and database (backwards-compatible) and
|
|
FilesystemCaching (thanks, Arne Brodowski!)
|
|
|
|
0.2.5
|
|
-----
|
|
|
|
* adds support for newforms-admin
|
|
|
|
Support
|
|
=======
|
|
|
|
Please leave your questions and messages on the designated site:
|
|
|
|
http://github.com/jezdez/django-dbtemplates/issues/
|