Django-dbtemplates

Latest version: v4.0

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

Scan your dependencies

Page 3 of 6

0.8.0

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

* Added Finnish translation (by jholster)

* Added --overwrite and --app-first options to sync_templates command (by Alex Kamedov).

0.7.4

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

* Fixed tests.

0.7.3

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

* 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

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

* Moved to Github again. Sigh.

0.7.1

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

* 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

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

* 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

Page 3 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.