Commit graph

32 commits

Author SHA1 Message Date
Giovanni B
2b747bc4af
Fixes #113 (#115)
* Fixes #113

* Update tox.ini

Co-authored-by: Jannis Leidel <jannis@leidel.info>

Co-authored-by: Jannis Leidel <jannis@leidel.info>
2021-10-21 17:35:56 +02:00
Jannis Leidel
012fe061a8
Migrate to GitHub Actions. (#112)
* Add GitHub Actions test workflow.

* Update version map.

* Fix flake8

* Write coverage file.

* Fix typo.

* Add release workflow.

* Removed Travis cruft and updated other files.

* Update trove classifiers.

* Black setup.

* Remove unneeded twine check.

* Extend changelog.

* Fix six issue.

* Update tox.ini

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>

* Add 3.9.

* Add base python

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2020-12-09 09:55:35 +01:00
Kaustubh Bhalerao
68ac54a72b
Django 3.0.4 (#107)
Co-authored-by: Kaustubh Bhalerao <bhalerao@soildiagnostics.com>
2020-06-15 14:17:18 +07:00
John Vandenberg
1d53b25cc2
Merge pull request #102 from nschlemm/nschlemm-patch-help_text 2020-05-06 00:31:10 +07:00
John Vandenberg
ae97ad7e24
Merge pull request #100 from nschlemm/nschlemm-patch-raw_input 2020-05-05 20:36:54 +07:00
Nikolaus Schlemm
230157640c let's keep flake8 silent until we can throw this backwards-compatibility hack out completely 2019-06-19 12:50:02 +02:00
Nikolaus Schlemm
f443f29047
Fixes #101 by expanding the help text default value 2019-06-19 12:34:03 +02:00
Nikolaus Schlemm
79d1d3986f
Fixes #99 by replacing raw_input with input
added (propably obsolete) backwards compatability as django already threw out six
2019-06-19 12:15:59 +02:00
Nikolaus Schlemm
73a33361d3
Fixes #82 TypeError: can only concatenate list (not "tuple") to list 2019-01-28 02:07:52 +01:00
Jannis Leidel
bc206765fa
Appease flake8. 2017-11-22 11:01:02 +01:00
Jannis Leidel
8c1e33de72 Use io instead of codecs 2016-09-20 11:34:28 +02:00
Jannis Leidel
d7ecd93cce Port to Python 3 and removed legacy code 2016-09-20 10:34:59 +02:00
Michael Kutý
c8a048352e Fix some Python 3 issues - thanks @vikingco 2015-08-19 11:42:39 +02:00
Michael Kutý
201077e11b properly collect template dirs for all available template engines in dj 1.8 and prettify readme 2015-06-15 23:10:41 +02:00
Michael Kutý
99ed8b2ce3 fix app dirs on django 1.8 2015-06-15 22:44:44 +02:00
Jannis Leidel
4b024de965 Minor cosmetic changes to please flake8. 2013-04-04 11:33:00 +02:00
Jannis Leidel
842e08cf2e Switched to using nose and django-nose for easy test running. 2012-05-07 14:06:54 +02:00
Jannis Leidel
ad7b258308 Force an encoding when writing the content to the file. 2012-02-24 23:35:51 +01:00
Jannis Leidel
a3cc44c069 Removed trailing whitespace. 2011-07-06 21:16:16 +02:00
Alen Mujezinovic
8c5e1b95b3 Fixes template names being cut off when using sync_templates:
http://cl.ly/0R092W1H3n3m19120j1x
2011-07-06 18:11:05 +01:00
olivergeorge
fb1fdcbd84 Extended sync_templates command to make exporting changes out to file easier. 2011-07-06 17:00:44 +02:00
Jannis Leidel
7473b54bb1 Added tests for sync_templates command. 2011-07-06 15:40:56 +02:00
Jannis Leidel
a40204def7 Moved setttings over to use AppSettings class. 2011-07-01 15:44:09 +02:00
Jannis Leidel
baa451ea22 Updated code to pass more Pyflakes. 2011-04-11 23:16:21 +02:00
Jannis Leidel
2d1c45376b Updated sync_templates management command slightly. 2010-11-07 00:22:13 +01:00
Alex Kamedov
d095052518 add --app_first option to sync_templates management command to process templates from app directories before templates from settings.TEMPLATE_DIRS 2010-11-07 06:57:17 +08:00
Alex Kamedov
91bb9e9095 add --overwrite option to sync_templates command 2010-11-07 06:57:08 +08: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
c9277e9c84 Removed automatic creation of 404.html and 500.html templates and added a new management command for those cases called "create_error_templates". Also made reverted move to Bitbucket.
git-svn-id: https://django-dbtemplates.googlecode.com/svn/trunk@84 cfb8ba98-e953-0410-9cff-959ffddf5974

committer: leidel <leidel@cfb8ba98-e953-0410-9cff-959ffddf5974>

--HG--
extra : convert_revision : b03959a7322a1acd040dad721d80d7bbd680f16d
2008-11-28 13:06:34 +00:00
leidel
56c4701737 actually implemented the --force option of sync_templates command, thanks Martin Mahner
git-svn-id: https://django-dbtemplates.googlecode.com/svn/trunk@49 cfb8ba98-e953-0410-9cff-959ffddf5974

committer: leidel <leidel@cfb8ba98-e953-0410-9cff-959ffddf5974>

--HG--
extra : convert_revision : 249d1af3375b0be74f37e5190475733898545ef5
2008-09-02 13:21:46 +00:00
leidel
d594550d51 stuuupid bug
git-svn-id: https://django-dbtemplates.googlecode.com/svn/trunk@29 cfb8ba98-e953-0410-9cff-959ffddf5974

committer: leidel <leidel@cfb8ba98-e953-0410-9cff-959ffddf5974>

--HG--
extra : convert_revision : 19f084ae369edadf799d81d8bc0de60ab0b85de7
2008-05-13 23:07:29 +00:00
leidel
a9df6d73b1 new management command 'sync_templates' for syncing the templates bidirectional
git-svn-id: https://django-dbtemplates.googlecode.com/svn/trunk@27 cfb8ba98-e953-0410-9cff-959ffddf5974

committer: leidel <leidel@cfb8ba98-e953-0410-9cff-959ffddf5974>

--HG--
extra : convert_revision : 252aa837acd100f5a4588f12d7ea33c5adf30b3c
2008-05-13 22:34:38 +00:00