Commit graph

14 commits

Author SHA1 Message Date
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
8cec9c24b0
Refactoring for constance cli command (#561) 2024-07-03 19:51:11 +05:00
Alexandr Artemyev
57083bbed2
Add ruff format & lint (isort only) (#560) 2024-07-03 19:21:33 +05:00
Rotzbua
eb5aef2554
chore: migrate to f-string
fix: use str() instead of f-string

credit: tool pyupgrade
Co-Authored-By: Alexandr Artemyev <mogost@gmail.com>
2024-06-09 21:07:07 +02: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
Jair Henrique
08a20c1bbe
Use gettext_lazy instead of ugettext_lazy (#421)
Co-authored-by: Camilo Nova <camilo.nova@gmail.com>
2020-11-18 11:14:05 -05:00
Yurchenko Sergey
8f20ca3111 command-to-delete-stale-records (#355)
* command-to-delete-stale-records
2020-01-27 14:24:32 -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
Jürgen Ryannel
6cc9ebfb67 Added support for django 2.1
* in django>=2.1 cmd was removed as parameter to add_parser

* add tox support for django >= 2.1

* introduce helper function to remove cmd paramter form add_parsers when
django >= 2.1

* remove unecessary lines

* fix issues when cmd may be missing in kwargs
2018-08-29 10:18:22 -05:00
Mariusz Felisiak
46b7a02365
Removed unnecessary bytes encode. 2017-01-31 18:08:04 +01:00
John Carter
81b723c91b Fix handling of MultiValueField's (eg SplitDateTimeField) on the command line. Fixes #186 (#190)
* Added failing test for setting a datetime with cli

Issue #186

* Adding myself to AUTHORS

* Handle MultiValueField in manage command, resolves #186

* newline at end
2017-01-11 09:52:19 +01:00
John Carter
e3ea904116 Backport command functonality from django-constance-cli (squashed) 2016-11-27 18:55:21 +13:00