Commit graph

263 commits

Author SHA1 Message Date
Thomas Güttler
10e7de2eda
Fix cache invalidation (#131) 2025-06-17 16:38:05 -07:00
blag
8e284b54d8
Revert "Split out an AbstractTemplate model for easier reuse" (#154)
This reverts commit 46be8fc748.
2025-05-29 23:31:49 +02:00
blag
05f1ee1193
Split out an AbstractTemplate model for easier reuse (#150) 2025-05-26 22:09:25 +02:00
blag
303bd0cabe
Add missing migration for creation_date and last_changed changes (#151) 2025-05-26 22:08:21 +02:00
Łukasz Chojnacki
64d112cc4f
Add explicit id field to avoid creating migration with DEFAULT_AUTO_FIELD set to BigAutoField (#142)
Co-authored-by: blag <blag@users.noreply.github.com>
2025-05-26 20:13:03 +02:00
blag
a7f4e0bbe8
Make creation_date and last_updated fields readonly in admin (#144) 2025-05-26 19:59:50 +02:00
blag
218b28b7aa
Let Django handle creation_date and last_changed (#145) 2025-05-26 19:59:18 +02:00
blag
602717af95
Add default_auto_field to AppConfig (#146) 2025-05-26 19:53:42 +02:00
Viktor Kálmán
ac740e06f3
Support for Python 3.12 and up (#143)
* support for Python 3.12 and up

* removed unused deprecated ugettext imports

* fix django main being Python 3.12+

* missed some copypaste
2025-02-16 21:08:16 +01:00
Michał Pasternak
fa72b2771b Flake8 2022-08-10 22:32:23 +02:00
Michał Pasternak
45e216b8ac Remove compatibility wrapper 2022-08-10 22:28:21 +02:00
Michał Pasternak
98bc9921b0 Remove trailing whitespace 2022-08-09 17:41:44 +02:00
Michał Pasternak
b6b0bf48ba Django 4.0 i18n fixes 2022-08-09 17:38:47 +02:00
Michał Pasternak
36fbb80fc0 Update to Django 4.0 i18n style 2022-08-09 17:38:39 +02:00
Michał Pasternak
b138cafcfa Passing flake8 2022-08-08 00:49:40 +02:00
Michał Pasternak
2e3f009426
Merge branch 'master' into master 2022-08-08 00:36:05 +02:00
Hugo van Kemenade
9455b36281 Upgrade to f-strings with 'flynt .' 2022-06-15 15:54:51 +03:00
Hugo van Kemenade
a3054c7724 Fix Flake8 2022-06-15 15:47:52 +03:00
Hugo van Kemenade
e5e4e55d22 Upgrade Python syntax with pyupgrade --py37-plus 2022-06-15 15:47:52 +03:00
Michał Pasternak
e1e11c42cb Django 4.x fixes 2022-06-15 14:25:32 +02:00
Michał Pasternak
9f664ea43c Django 4.x fix 2022-06-15 14:22:48 +02:00
Bill Amberg
8cd8a17bc1 Use strings explicitly for template directories 2022-02-08 09:15:46 -05:00
Bill Amberg
f45cd228f9 Get cache for Django>=3.2 2022-02-08 09:15:46 -05:00
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
Nikolaus Schlemm
7ea4655b57 integrate with django-reversion-compare to offer a history compare view in admin 2020-06-15 13:08:47 +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
81ba1364f8
Merge pull request #103 from nschlemm/update-tox 2020-05-05 20:47:13 +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
50f02a50bc added django 2.2, dropped django 2.0 and python 3.4
keeping in sync with https://www.djangoproject.com/download/#supported-versions
2019-06-19 13:37:44 +02: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
78ca3f48dd
Bump version to 3.0. 2019-01-27 22:26:41 +01:00
Jannis Leidel
df358a53dd
Merge pull request #88 from m-vdb/mvdb/fix-migration
Fix bytes string migration (python3)
2019-01-27 22:02:31 +01:00
Jannis Leidel
f5b9e36fc7
Merge pull request #89 from m-vdb/mvdb/fix-str-representation
Fix Template string representation for python3
2019-01-27 21:58:28 +01:00
Jannis Leidel
16afa49831
Use django.utils.six instead of six directly. 2019-01-27 21:54:57 +01:00
Nikolaus Schlemm
28bde8c32d
Fix flake8 W504 line break after binary operator
and thereby hopefully allow for closing https://github.com/jazzband/django-dbtemplates/issues/95 ?
2019-01-26 01:18:32 +01:00
Waldecir Santos
149a16e308
bump version 2018-10-01 18:53:22 +01:00
Waldecir Santos
92e0e1ca0c
Merge pull request #87 from eprikazc/master
Add support for Django2.0, drop 1.8
2018-10-01 18:52:35 +01:00
Eugene Prikazchikov
34e34b7259 Add renderer parameter to CodeMirrorTextArea.render
According to django2.1
2018-09-13 23:37:41 +03:00
m-vdb
db5e4ec4b6 fix Template string representation for python3 2018-02-12 20:12:38 +01:00
m-vdb
3ba01f425c remove byte string from migration file 2018-02-12 20:02:23 +01:00
Jannis Leidel
77d8fc4e33
Merge pull request #83 from paulgueltekin/master
fixed method call with named argument
2017-12-09 23:49:08 +01:00
Jannis Leidel
3939947a0e
Merge pull request #86 from kammato/russian_locale_fix
Recompiled russian locale correctly
2017-12-09 23:46:11 +01:00
Eugene Prikazchikov
1c80410a5b Update get_template_source utility function to use up-to-date template API 2017-12-09 21:38:42 +03:00
Eugene Prikazchikov
e3318658a5 Update Loader class to up-to-date template loader API
load_template_sources is deprecated in Django 1.9 ad removed in Django2.0
see https://docs.djangoproject.com/en/1.9/releases/1.9/#template-loader-apis-have-changed
2017-12-09 20:40:57 +03:00
Jannis Leidel
9a84b1af86
Fix test matrix. 2017-11-22 15:43:19 +01:00