Commit graph

130 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
Vincent Davis
886c00c1a2 Display correct version in docs 2025-12-30 08:25:26 -06:00
Rémy HUBSCHER
6a66c636c4
Merge pull request #637 from mahdirahimi1999/feature/django-5.2-support 2025-10-21 09:54:41 +02:00
Rémy Hubscher
6d01cffbc0
Use double quotes 2025-10-07 11:26:18 +02:00
Mahdi
4044d7dad9 Add Django 5.1 and 5.2 support
- Add Django 5.1 and 5.2 classifiers to pyproject.toml
- Update changelog to reflect Django 5.1 and 5.2 support
2025-10-04 17:02:23 +03:30
david
8563ba5ec6 Add documentation around the usage of collection types as field types 2025-08-02 21:31:39 +02:00
david
5a6a278c70 Fix for setting rst tags 2025-08-02 21:28:29 +02:00
Max Lyaskovskiy
0dc1321af3
Updated supported constant types (#584)
---------

Co-authored-by: Rémy HUBSCHER <hubscher.remy@gmail.com>
2025-01-08 13:46:06 +05:00
Rotzbua
82bd56650d
feat(docs): improve command line (#605)
update option descriptions according to current code
2025-01-07 08:36:24 -06:00
Rotzbua
f044a7d0fe
fix(docs): use sphinx note function (#604) 2025-01-07 08:34:32 -06:00
Alexandr Artemyev
05dfb5d3cf
Release notes are on GitHub (#580) 2024-09-04 15:07:22 -05:00
Alexandr Artemyev
bb0dc4676f
Collections support (#581)
---------

Co-authored-by: Sebastian Manger <manger@netcloud.ch>
2024-09-04 14:41:53 +05:00
Christian Clauss
e428387620
docs/index.rst: Fix typo newsletter (#567) 2024-08-23 17:07:24 +05:00
Alexandr Artemyev
2c827124cd
bump version (#565) 2024-08-20 16:46:25 -05:00
Alexandr Artemyev
3640eb228a
Replace pickle with JSON (#564)
* Replace pickle with JSON

Co-authored-by: Ivan Klass <klass.ivanklass@gmail.com>
2024-08-20 09:35:27 -05:00
Alexandr Artemyev
8c6552fdaf
Enable more rules for ruff (#562) 2024-07-05 19:38:26 +05:00
Alexandr Artemyev
57083bbed2
Add ruff format & lint (isort only) (#560) 2024-07-03 19:21:33 +05:00
Alexandr Artemyev
554eedc7c2
migate from setup.py to pyproject.toml & bump tox & declare support for python 3.12 (#557)
* migate from setup.py to pyproject.toml
* bump tox
* declare support for python 3.12
2024-07-03 13:30:29 +05:00
Rotzbua
ba530b9cc0
fix(docs): update links (#555) 2024-06-14 19:59:48 +05:00
Rotzbua
6976d8a5e9
feat(docs): migrate to sphinx 7 (#553)
* feat(docs): migrate to sphinx 7

feat(docs): add instant search
feat(docs): enable reproducible build with requirements.txt
fix(docs): warnings
WARNING: The pre-Sphinx 1.0 'intersphinx_mapping' format is deprecated and will be removed in Sphinx 8. Update to the current format as described in the documentation. Hint: "intersphinx_mapping = {'<name>': ('https://docs.python.org/', None)}".https://www.sphinx-doc.org/en/master/usage/extensions/intersphinx.html#confval-intersphinx_mapping

* feat(docs): add test build to GH CI
2024-06-14 19:57:30 +05:00
Camilo Nova
bc9707d618 Bump version 3.1.0 2023-08-21 16:20:18 -05:00
James Tiplady
6a5052e9f4
Adding support for using a subdirectory of MEDIA_ROOT for file fields (#475)
* Adding support for using a subdirectory of MEDIA_ROOT for file fields with CONSTANCE_FILE_ROOT setting

* Improving documentation for CONSTANCE_FILE_ROOT

* Updating PR branch to work with latest master
2023-07-29 11:35:38 -05:00
Camilo Nova
8317070890 Bump version 3.0.0 2023-06-27 15:53:30 -05:00
Bruno Alla
d65b916189
Add official support for Django 4.2 2023-04-18 11:04:48 +01:00
Bruno Alla
9cbd512d75
Fix formatting in changes.rst 2023-04-18 11:02:33 +01:00
Søren Howe Gersager
0047a781af
Fix constance management command without admin installed (#506)
* refactor out ConstanceForm and get_values into forms.py and utils.py respectively

* fix tests and documentation

* correct mock import

* fix merge
2023-04-07 08:16:39 -05:00
Sergei Iurchenko
b486056802
fix_ci (#512)
* fix_ci

Co-authored-by: Iurchenko Sergei
2023-03-11 08:58:13 -06:00
Sergei Iurchenko
2cb2ccd063
Refactor app and model 2023-03-10 20:38:31 +03:00
Ani Mehta
8b03012918
Fix "and and" in backends.rst (#509) 2023-01-11 11:46:55 -06:00
Felippe Medeiros
b7da81451e
Forward the request when saving the form (#499) 2022-10-12 19:07:49 -05:00
Ihor Sychevskyi
432ffc8f1c
update links (#502) 2022-10-11 00:08:54 +03:00
Rémy HUBSCHER
02c5fd5011
Preparing release 2.9.1 (#497) 2022-08-11 13:54:59 +02:00
Yuekui
4d7b904cd2
Fix text format for MultiValueField usage (#494) 2022-08-05 09:36:29 -05:00
alexkiro
55aed5d4d4
Add support for using gettext in fieldset headers (#489)
* Support tuples for CONFIG_FIELDSETS

* Add test for tuple CONFIG_FIELDSETS

* Preserve tuple fieldset sorting

* Add i18n example in the docs
2022-07-13 10:01:25 -05:00
Yuekui
b4bc9120d0
Fix typo in docs 2022-04-28 13:23:45 -07:00
Amit Garu
4899d1ce5c
Update index.rst
Typo fix for field access in template.
2022-04-24 12:08:50 +05:45
Camilo Nova
5de44eafb1 Bump version 2.9.0 2022-03-11 14:36:39 -06:00
horpto
8b34b63fd0
Add caching redis backend (#466)
* Add caching redis backend

* fix mget implementation

* fix lock
2022-01-06 15:45:11 -05:00
MansurAliKoroglu
dc83f99df0
Add documentation for constance_dbs config (#462)
Co-authored-by: Mansur Ali Koroglu <mansur@thorgate.eu>
2021-12-15 11:18:06 -05:00
Jacob Kaplan-Moss
b89f5ddb4e
Add a note about working around the locmem cache restriction (#448)
Per a conversation on twitter with @jezdez about this, here's a stab at some docs. I've tried to strike a balance: I want to tell people about this option, but not directly provide the code to avoid copy-paste without thinking.
2021-10-21 13:51:20 -05:00
johnthagen
7306c0f703
Improve formatting of the pip install command 2021-09-09 07:08:35 -04:00
Camilo Nova
f4732b97fb Bump version 2020-11-19 08:26:54 -05:00
Camilo Nova
96e95fcfe6 Bump version 2020-06-22 17:37:59 -05:00
Misha Behersky
9eccfe0386
Add memory backend (#394)
* Add simple backend

* Add test case for simple backend

* Add tests for mget backend method

* Fix redis mock mget implementation

* Make sure memory backend is thread safe

* Add docs section for memory backend

* Add test usage examples to docs

* Update docs for memory backend in testing

* Share memory storage between threads
2020-06-10 19:49:42 +02:00
Vladas Tamoshaitis
bd8041c55f
Allow override_config for pytest (#338)
* provides: base override class; unittest and pytest overrides

* raise invalid config error earlier

* update AUTHORS

* avoid AttributeError

* fix comment

* add tests

* fix tests, update docstring

* update docs, improve tests

* fix docs

* fix markdown

* refactor pytest override, use hidden fixture, refactor base and unittest classes

* improve docstring and error

* refactor pytest override to use hooks

* set minimum pytest version

* revert empty lines removal

* introduce pytest test runner for package, refactoring

* WIP

* Finalize tox config, refactor docs, add global fixture

* skip py35

* pytest command: remove unnecessary ignore

* address comments

* Update constance/test/pytest.py

* address comments

* add test for checking nested markers

Co-authored-by: Camilo Nova <camilo.nova@gmail.com>
Co-authored-by: Paweł Zarębski <ppjzarebski@gmail.com>
2020-04-04 11:38:22 -05:00
Ilya Chichak
4de4114bbd
Make groups of fieldsets collapsable. Fix #350 (#351)
* made results table responsive for Django 2 admin

* make fieldsets collapsable

* updated version via feature

* fixed codestyle according to requested changes

* made results table responsive for Django 2 admin

Co-authored-by: Camilo Nova <camilo.nova@axiacore.com>
2020-03-16 11:33:19 -05:00
Martey Dodoo
50287a3b2a
Simplify documentation installation section. (#378)
Make "Installation" section of documentation less fraught by only
including instructions to install django-constance with the default
Redis backend. This will reduce the chances of new users failing to
successfully install the database backend because it needs additional
configuration.

Fixes #375.
2020-02-18 09:24:37 -05:00
Martey Dodoo
12ead8fd1f
Improve grammar of documentation index file. (#377) 2020-02-12 14:23:11 -05:00
Camilo Nova
0ed37e4fce Bump version 2020-01-29 16:33:02 -05:00
Yurchenko Sergey
8f20ca3111 command-to-delete-stale-records (#355)
* command-to-delete-stale-records
2020-01-27 14:24:32 -05:00