Commit graph

563 commits

Author SHA1 Message Date
Sébastien Corbin
86933b6774
Update example project for Django>2 (#391) 2020-04-29 12:00:20 -05:00
Sébastien Corbin
3854665637 Put back wheel generation in travis
It was removed by 590fa02eb3
2020-04-20 18:27:41 +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
Camilo Nova
5e91a92431
Allow concurrent calls to set() method (#384) 2020-03-05 18:04:55 -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
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
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
Özcan Yarımdunya
288ca7c5e4 Add Turkish language support (#353)
* Add Turkish language
2019-12-23 13:55:58 -05:00
Alexandr Artemyev
917c2790d1
Update AUTHORS
Add myself to authors
2019-11-29 17:24:39 +03:00
Alexandr Artemyev
db3f6e6e2f
Merge pull request #342 from Mogost/fix-341
Fix #341
2019-09-16 15:12:41 +03: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
Camilo Nova
bb03e1e65a Removed Python 3.4 since is not longer supported 2019-03-16 09:53:08 -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
John Carter
d6ed427c33 Drop Django<1.11 and 2.0, fix tests vs Django 2.2b (#320)
Also added py37, pypy3 to tox, travis
2019-03-11 17:20:08 -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
Camilo Nova
83ee19c858
Merge pull request #297 from silentsokolov/fix-docs
Fixed docs signals
2018-08-29 10:10:08 -05:00
Dmitriy Sokolov
18d6a48e7e
Update index.rst
Fixed note about signals
2018-08-29 14:48:07 +03:00
Camilo Nova
7b35f51cee
Merge pull request #290 from felixxm/django-2.0
Added official Django 2.0 support.
2018-06-27 12:19:31 -05:00
Mariusz Felisiak
0fdca221af
Added official Django 2.0 support. 2018-06-23 21:44:11 +02:00
Camilo Nova
e269d423da
Merge pull request #287 from mobolic/fix-spelling
Fix spelling issues in CONTRIBUTING and changelog.
2018-05-23 17:27:16 -05:00
Camilo Nova
0c1fb79311 Drop support for Python 3.3 since wheel doesn't support it 2018-05-23 17:26:58 -05: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
fd7c4e86aa
Merge pull request #283 from myii/myii-patch-1
Improve consistency of reset value handling for `date`
2018-05-12 15:09:14 -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
Camilo Nova
df30bcd2ff
Merge pull request #278 from yinkanghong/master
fix bug of can't change permission chang_config's name
2018-04-20 12:35:12 -05:00
ykh
887ee92e62 fix bug of can't change permission chang_config's name 2018-04-20 17:50:20 +08:00
Camilo Nova
bb1ecde5d5
Merge pull request #276 from yinkanghong/master
update Chinese translation
2018-04-19 09:17:13 -05:00
ykh
b032f8f72b update Chinese translation 2018-04-19 11:53:33 +08:00
Camilo Nova
05ec0e9f1d
Merge pull request #274 from DmitryKaramin/master
fix(admin): date type
2018-04-16 16:20:39 -05:00
Dmitry Karamin
45da6edd28 fix(admin): date type 2018-04-16 21:41:18 +03:00
Camilo Nova
566f1e386e
Merge pull request #269 from ajinkya-bhosale/patch-1
Update index.rst
2018-04-02 18:55:51 -05:00