Justin Myers
19889239ad
Fix Django 5.1+ admin tests
2025-11-04 08:31:05 -08:00
Rémy Hubscher
6d01cffbc0
Use double quotes
2025-10-07 11:26:18 +02: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
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
2cb2ccd063
Refactor app and model
2023-03-10 20:38:31 +03:00
Dmitry
b6f8e2c5b8
"failed to update live settings" message ( #491 )
...
* "failed to update live settings" message
* Update constance/locale/ru/LC_MESSAGES/django.po
* test fix
* fix .po/.mo
Co-authored-by: Alexandr Artemyev <mogost@gmail.com>
2022-10-13 12:16:31 -05:00
Felippe Medeiros
b7da81451e
Forward the request when saving the form ( #499 )
2022-10-12 19:07:49 -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
utapyngo
73fa362e3f
Add test_newlines_normalization
2020-05-26 19:08:17 +07: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
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
Richard Morrison
2948dff3cc
Add a Django system check... ( #326 )
...
* Add a Django system check that CONFIG_FIELDSETS accounts for all of CONFIG
* Fix test (don't actually modify values when submitting form) and restore python2 compatibility
2019-04-06 09:13:55 -05:00
Mariusz Felisiak
fb2483ce8d
Fixed TestAdmin.test_linebreaks() due to linebreaksbr() behavior change on Django 2.1.
...
Changed in ff05de760c .
2018-03-31 18:32:46 +02:00
Anton Shurashov
40188c093a
add config labels
2018-03-06 23:41:53 +03:00
Jannis Leidel
8b8b6569d9
Use original path to constance settings in admin tests.
2017-06-02 10:52:42 +02:00
Bruno Alla
1cce582edc
Fix #187 : Preserve sorting from fieldset config ( #207 )
2017-06-02 10:52:16 +02:00
Jannis Leidel
e41710616b
Allow line breaks in config descriptions - Fix #95
2015-09-24 12:21:29 +02:00
Jannis Leidel
b36aaf8fa6
More test fixes.
2015-09-24 11:56:19 +02:00
Mario Rosa
e1f9e52a08
Compatibility changes.
...
Drop python 2.6, 3.2
Drop Django 1.4, 1.5, 1.6
Remove models.py under constance and move to an appconfig imported file.
2015-08-25 08:14:01 -04:00
Jannis Leidel
8045678606
Test fixes to run on Django 1.7.
2014-11-21 16:37:12 +01:00
Jannis Leidel
36a9c23500
More py3k changes.
2013-04-12 17:34:48 +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