Commit graph

32 commits

Author SHA1 Message Date
Philipp Thumfart
4ac1e546c7
Added async support (#656)
Some checks failed
Docs / docs (push) Has been cancelled
Test / ruff-format (push) Has been cancelled
Test / ruff-lint (push) Has been cancelled
Test / build (3.10) (push) Has been cancelled
Test / build (3.11) (push) Has been cancelled
Test / build (3.12) (push) Has been cancelled
Test / build (3.13) (push) Has been cancelled
Test / build (3.14) (push) Has been cancelled
Test / build (3.8) (push) Has been cancelled
Test / build (3.9) (push) Has been cancelled
* Added async logic

* Added tests and fixed async deadlock on aset

* Used abstract base class for backend to simplify code coverage

* Reordered try except block

* Added explicit thread safety

* Fixed linting error

* Worked on redis init block

* Fixed async test setup

* Added tests for redis instantiation

* Fixed linting errors
2026-03-04 16:37:37 -06:00
Ivan
520e20844a
create autofill_values dict with full_cachekey straight away (#650) 2025-11-24 12:16:02 +05:00
Rémy Hubscher
6d01cffbc0
Use double quotes 2025-10-07 11:26:18 +02:00
Alexandr Artemyev
bb0dc4676f
Collections support (#581)
---------

Co-authored-by: Sebastian Manger <manger@netcloud.ch>
2024-09-04 14:41:53 +05:00
Alexandr Artemyev
57083bbed2
Add ruff format & lint (isort only) (#560) 2024-07-03 19:21:33 +05:00
Alexandr Artemyev
590fa02eb3 Drop support py<3.5 django<2.2 (#359)
* Drop support py<3.5 django<2.2

* Remove admin_static
2019-12-23 16:20:41 -05:00
Dmitriy Tatarkin
299b3b1996 Fixed "can't compare offset-naive and offset-aware datetimes" (#337)
* Fixed "can't compare offset-naive and offset-aware datetimes" when USE_TZ = True

* Fixed case when `USE_TZ = False`
2019-08-12 11:00:07 -05:00
John Carter
d6ed427c33 Drop Django<1.11 and 2.0, fix tests vs Django 2.2b (#320)
Also added py37, pypy3 to tox, travis
2019-03-11 17:20:08 -05:00
Mariusz Felisiak
fc5a32f2ac
Fixed #211 -- Added datetime.timedelta support. 2017-05-25 13:50:27 +02:00
Mariusz Felisiak
9227d469eb Removed deprecated TEMPLATE_CONTEXT_PROCESSORS setting. (#206) 2017-05-08 09:10:41 +02:00
Laszlo Ratsko
3ba4780a13 Fix create_perm in apps.py to use database alias given by the post_migrate signal 2017-02-05 13:27:07 +01:00
Mariusz Felisiak
46b7a02365
Removed unnecessary bytes encode. 2017-01-31 18:08:04 +01:00
John Carter
e3ea904116 Backport command functonality from django-constance-cli (squashed) 2016-11-27 18:55:21 +13:00
John Carter
8941260617 Fix ChoiceField example - key should be None, not '-----' 2016-11-27 18:18:56 +13:00
Camilo Nova
b28385f501 Improved coding styles 2016-09-14 12:21:16 -05:00
John Carter
8101d7cc84 Make CONSTANCE_ADDITIONAL_FIELDS more flexible
Allow the field config to be a tuple, and allow the config dict to be omitted
2016-03-13 00:05:16 +13:00
Petr Dlouhý
55ddbad52c Merge remote-tracking branch 'jezdez/master' into custom_fields 2015-11-13 11:44:56 +01:00
Jannis Leidel
c82d76fc28 Fix #115 - stop shadowing the context processor's config variable when rendering the admin change list. 2015-10-01 18:16:39 +02:00
Jannis Leidel
e41710616b Allow line breaks in config descriptions - Fix #95 2015-09-24 12:21:29 +02:00
Petr Dlouhý
0e447ee3e2 add tests for custom additional fields 2015-06-14 17:34:53 +02:00
Jannis Leidel
52cbce7a08 Stop requiring six as a depdendency.
This is possible now that we require at least a version of Django that ships with six.

Signed-off-by: Jannis Leidel <jannis@leidel.info>
2014-11-27 17:53:01 +01:00
Jannis Leidel
fc930442a2 Simplified settings. 2014-11-25 22:20:06 +01:00
Jannis Leidel
8045678606 Test fixes to run on Django 1.7. 2014-11-21 16:37:12 +01:00
Jannis Leidel
4278f64ae1 Only use the external discover runner old Djangos. 2014-11-21 14:29:24 +01:00
Jannis Leidel
a64859e76b Actually set STATIC_ROOT. 2013-04-12 18:20:04 +02:00
Jannis Leidel
25d0296c0d Added some required settings. 2013-04-12 18:17:42 +02:00
Jannis Leidel
bc87847faa Added forgotten staticfiles. 2013-04-12 18:04:01 +02:00
Jannis Leidel
36a9c23500 More py3k changes. 2013-04-12 17:34:48 +02:00
Jannis Leidel
89b423fa65 First stab at Python 3 support. 2013-04-12 17:25:11 +02:00
Jannis Leidel
078cf11cd6 Use django-nose just to be a little less exotic. 2013-03-02 16:34:12 +01:00
Jannis Leidel
a622784d2d Create fake change_config permission to be able to check for it if needed. 2013-03-02 15:43:27 +01:00
Jannis Leidel
e144e4336f Refactored tests to use django-discover-runner and not an own testproject anymore. 2013-02-22 14:58:41 +01:00
Renamed from tests/testproject/settings.py (Browse further)