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
Camilo Nova
5e91a92431
Allow concurrent calls to set() method ( #384 )
2020-03-05 18:04:55 -05:00
Yurchenko Sergey
fa6ae65594
delete south migrations ( #371 )
2020-01-30 11:56:12 -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
0e94d13b2a
Bump version
2019-12-23 14:07:28 -05:00
Özcan Yarımdunya
288ca7c5e4
Add Turkish language support ( #353 )
...
* Add Turkish language
2019-12-23 13:55:58 -05:00
Alexandr Artemyev
e069ddb91a
Fix #341
2019-09-16 11:51:18 +03: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
riazanovslv
98800c0671
ConstanceForm save method tweak ( #333 )
...
We need to store the actual name of the file, which the storage's save method provides. Otherwise, if we upload a new file with the same name as the already stored file has, the Constance config will keep a link to the old file.
2019-07-19 13:25:33 -05:00
Kirill Goncharov
1e751f1afa
Optimizations for database backend ( #329 )
...
* Add test for database backend with query count assertions
* Rewrite set() method of database backend to reduce number of queries
2019-06-08 09:14:58 -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
Ilya Chichak
d495f1b3bf
made results table responsive for Django 2 admin ( #325 )
2019-03-28 15:04:24 -05:00
Camilo Nova
c965db1bd9
Bump version
2019-03-16 12:25:10 -05:00
Tyler Kennedy
5e422cfd54
Allow null & blank for PickleField. ( #315 )
...
The default behaviour of PickleField was changed from null=True to
null=False. This causes issues with fields such as an image_field which
will try storing a NULL when unset.
2019-03-16 09:47:43 -05:00
Marc-Antoine Lemieux
a31d6f195f
Use default_storage to save file ( #319 )
2019-03-13 19:11:25 -05:00
Moetaz
533c3cb594
fixed "Reset to default" button with constants whose name contains a space. closes #321 ( #322 )
2019-03-13 19:04:33 -05:00
horida
286edca505
show not existing fields in field_list ( #309 )
2018-10-11 12:18:39 -05:00
Camilo Nova
ce565ecd8a
Bump version
2018-09-20 07:31:31 -05:00
Erivânio Vasconcelos
a188c65281
Remove duplicated } ( #302 )
2018-09-19 18:49:03 -05:00
Camilo Nova
678916bcc2
Bump version
2018-09-13 15:16:17 -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
Imran Iqbal
c9916c7e26
Improve consistency of reset value handling for date
...
* Consistent implementation re: `datetime`
* Consistent reset using `DATE_INPUT_FORMAT`, i.e.
- Works whether `USE_L10N` setting is active or not
2018-05-07 17:55:43 +01:00
ykh
887ee92e62
fix bug of can't change permission chang_config's name
2018-04-20 17:50:20 +08:00
ykh
b032f8f72b
update Chinese translation
2018-04-19 11:53:33 +08:00
Dmitry Karamin
45da6edd28
fix(admin): date type
2018-04-16 21:41:18 +03:00
0bit
6abc66b2d7
add zh_Hans
2018-03-26 10:12:12 +08:00
Camilo Nova
40c009d2d3
Bump version
2018-03-23 08:35:02 -05:00
Camilo Nova
61356da3fb
Merge pull request #258 from ownaginatious/constance_dbs_setting
...
Workaround to make `django-constance` work in multi-DB project
2018-03-15 13:49:25 -05:00
Si Feng
1bec11477f
Fix CONSTANCE_CONFIG_FIELDSETS mismatch issue
2018-03-13 16:56:00 -07:00
Paolo Melchiorre
e390248bf0
Updated italian translations
2018-03-13 15:27:39 +01:00
Anton Shurashov
40188c093a
add config labels
2018-03-06 23:41:53 +03:00
Dillon Dixon
5763010f16
CONSTANCE_DBS setting for directing constance permissions/content_type settings to certian DBs only
2018-03-02 15:40:41 -08:00
Matthieu Cornut
2cec39d609
Fix issue https://github.com/jazzband/django-constance/issues/252
2018-02-27 16:48:41 +01:00
Matthieu Cornut
1dc4b06020
Fix bug in translation file
2018-02-27 16:48:41 +01:00
Vladislav Manchev
b37b73bf0e
Fix ConstanceForm validation
...
Account for cases where CONSTANCE_CONFIG_FIELDSETS is not set at all in ConstanceForm validation.
2018-02-25 14:27:54 +01:00
Camilo Nova
bc9b11b8fa
Bump version
2018-02-07 09:05:51 -05:00
Camilo Nova
29f493f7c1
Merge branch 'file-upload'
2017-11-08 08:42:34 -05:00
Manatsawin Hanmongkolchai
bbc7db2edc
Merge https://github.com/jazzband/django-constance
2017-11-07 21:45:04 +07:00
Manatsawin Hanmongkolchai
6015e9c360
results_list: Move inline JavaScript to constance.js
...
Merge branch 'default-datetime' of https://github.com/rvernica/django-constance
2017-11-07 21:43:47 +07:00
Camilo Nova
643e8401b6
Merge pull request #224 from founders4schools/translations/french
...
Add French translations
2017-11-06 11:47:57 -05:00
Camilo Nova
7da7598291
Merge pull request #222 from JoshLabs/vb_validation_fix
...
Fixed #201
2017-11-06 11:47:22 -05:00
Camilo Nova
2d86960ab9
Remove translation from the app name. Fixes #204
2017-11-06 11:43:08 -05:00
Camilo Nova
23e8557c83
Added file uploads. Fixes #141 and #241
2017-11-06 11:31:00 -05:00
Camilo Nova
03ba898db3
Merge pull request #220 from mpauly/master
...
Fix for #219
2017-09-06 14:10:15 -05:00
Manatsawin Hanmongkolchai
0e38ae7ce1
database: Allow running set while database is not created
2017-08-20 19:44:16 +07:00
Manatsawin Hanmongkolchai
c8568b3f6b
Moved inline css/javascripts out to their own files
2017-08-09 19:44:48 +07:00