Django-dbtemplates-iplweb

Latest version: v4.1

Safety actively analyzes 693883 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 7

1.3

-----------------

* 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 ``DBTEMPLATES_USE_TINYMCE``).

* Fixed compatibility to Django 1.4's handling of the ``DATABASES``
setting. 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

.. _nose: https://nose.readthedocs.io/
.. _Travis: http://travis-ci.org

1.2.1

-------------------

* Fixed a wrong use of the non-lazy localization tools.

* Fixed bugs in the documentation.

* Make use of django-appconf and versiontools.

1.2

-----------------

* Refactored the template loader to be even more cache effective.

* Added ``check_template_syntax`` management command and admin action
to make sure the saved templates are valid Django templates.

1.1.1

-------------------

* Fixed bug in cache loading (again).

* Fixed bugs in the documentation.

.. note::

Since ``dbtemplates`` removed support for Django lower than 1.2 you
have to use the template loader class in the ``TEMPLATE_LOADERS``
(``'dbtemplates.loader.Loader'``) and **not** the previosly included
function that ended with ``load_template_source``.

1.1

-----------------

* **BACKWARDS-INCOMPATIBLE** Requires Django 1.2 or higher.
For previous Django versions use an older versions of ``dbtemplates``,
e.g.::

$ pip install "django-dbtemplates<1.1"

* Added South migrations.

.. note::

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 ``name`` field of the ``Template`` model. This is
needed because there isn't a ``unique_together`` for M2M fields in Django
such as the ``sites`` field in the ``Template`` model.

* Made the ``sites`` field optional to support a way to apply a template to
all sites.

* Added ``--delete`` option to ``sync_templates`` managment command to delete
the file or database entry after syncing (depending on used ``--overwrite``
mode).

* Updated translations.

* Fixed issue with incorrectly splitting paths in ``sync_templates``.

* Extended tests.

* Fixed issue with cache settings handling.

1.0.1

-------------------

* Minor bugfixes with regard to the new cache handling.

Page 2 of 7

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.