Commit graph

107 commits

Author SHA1 Message Date
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
Elisey Zanko
b62206da57 Resolve #367: Set pickle protocol version for the Redis backend (#369) 2020-01-14 15:46:27 -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
Camilo Nova
886f6d5235 Improve documentation. Fixes #304 2019-12-23 14:17:42 -05:00
Camilo Nova
0e94d13b2a Bump version 2019-12-23 14:07:28 -05:00
Camilo Nova
c965db1bd9 Bump version 2019-03-16 12:25:10 -05:00
Camilo Nova
ce565ecd8a Bump version 2018-09-20 07:31:31 -05:00
Camilo Nova
678916bcc2 Bump version 2018-09-13 15:16:17 -05:00
Dmitriy Sokolov
18d6a48e7e
Update index.rst
Fixed note about signals
2018-08-29 14:48:07 +03:00
Martey Dodoo
2f4618cf96 Fix spelling issues in CONTRIBUTING and changelog.
Fix misspelled words in contributing guidelines and changelog. Fix
formatting of multi-line changelog entry.
2018-05-22 22:36:05 -04:00
Camilo Nova
566f1e386e
Merge pull request #269 from ajinkya-bhosale/patch-1
Update index.rst
2018-04-02 18:55:51 -05:00
ajinkya bhosale
cfbc8cd8d7
Update index.rst 2018-04-02 08:01:25 +05:30
Ivan
d3e21abde4 Documented use with admin extensions 2018-04-01 09:41:13 +02:00
ajinkya bhosale
94a6d3a7f3
Update index.rst
Added note CONSTANCE_CONFIG_FIELDSETS must contain all fields from CONSTANCE_CONFIG
2018-03-29 09:00:07 +05:30
Camilo Nova
40c009d2d3 Bump version 2018-03-23 08:35:02 -05:00
Jannis Leidel
f75c7fd24e
Fix rST formatting. 2018-02-07 17:02:47 +01:00
Camilo Nova
bc9b11b8fa Bump version 2018-02-07 09:05:51 -05:00
Camilo Nova
8e42d2102f Improve docs 2017-11-06 11:40:53 -05:00
Josh Kelley
da9d504b76 Fix link and grammar 2017-10-18 22:24:03 -04:00
Josh Kelley
0bd88e2d49 Update information on template context processors
TEMPLATE_CONTEXT_PROCESSORS is deprecated in Django 1.8. This updates the documentation to match.
2017-10-17 21:20:20 -04:00
Camilo Nova
161c1d34be Bump version 2017-02-17 08:16:34 -05:00
Camilo Nova
a946f92ab3 Happy 2007 2017-02-17 08:06:06 -05:00
Camilo Nova
6da21af5ae Merge pull request #195 from jazzband/updated_signal
Added the old value to the config_updated signal
2017-02-16 16:07:34 -05:00
Martin Pépin
cb3df533c8 typo 2017-02-14 02:28:47 +01:00