Commit graph

426 commits

Author SHA1 Message Date
Camilo Nova
e16657567f Merge pull request #193 from felixxm/issue-bumped-django
Fixed travis configuration. Bumped Django versions.
2017-01-28 16:26:56 -05:00
Mariusz Felisiak
661b78da0b
Fixed travis configuration. Bumped Django versions. 2017-01-27 22:48:41 +01:00
Rares Vernica
bddb6cd2ac Fix *Reset to default* to work with boolean/checkboxes (#191)
* Fix *Reset to default* to work with boolean/checkboxes

* Add field name to each config value
* Check field name and use *checked* for checkbox and *value* otherwise

Fix #189

* Add and use raw_default and is_checkbox
2017-01-13 08:14:18 +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
Camilo Nova
8db90e8087 Bump version 2016-12-23 17:39:01 -05:00
Camilo Nova
563cfdb8ac Merge pull request #183 from rvernica/reset-default
Add "Reset to default" feature
2016-12-01 16:12:45 -05:00
Rares Vernica (cessna, fedora)
588ac2da71 Moved "Remove to default" unded field 2016-12-01 09:40:11 -08:00
Rares Vernica (cessna, fedora)
32c760cc1d Add "Reset to default" feature 2016-11-30 12:39:55 -08:00
Camilo Nova
7934de8ede Merge pull request #180 from jazzband/backport_cli_squashed
Backport command functonality from django-constance-cli (squashed)
2016-11-30 14:09:30 -05:00
Camilo Nova
c7c1fb3037 Merge pull request #179 from jazzband/additional_fields_fix
Additional fields fix
2016-11-30 14:08:13 -05:00
John Carter
e3ea904116 Backport command functonality from django-constance-cli (squashed) 2016-11-27 18:55:21 +13:00
John Carter
8941260617 Fix ChoiceField example - key should be None, not '-----' 2016-11-27 18:18:56 +13:00
John Carter
4599a22bfc Don't ignore additional fields when creating form
Fixes regression from 2f88a1bff2
2016-11-27 17:18:35 +13:00
John Carter
5d299f6222 Added test of form field types 2016-11-27 16:53:43 +13:00
John Carter
0e05de4f9b Added CONSTANCE_ADDITIONAL_FIELDS to example app 2016-11-27 16:44:33 +13:00
Camilo Nova
7221962b61 Merge pull request #177 from rvernica/patch-1
Preserve line breaks in default value
2016-11-24 08:59:03 -05:00
Rares Vernica
6ce7f1a308 Preserve line breaks in default value 2016-11-21 11:39:08 -08:00
Rares Vernica
8da8b4278c Add each_context to context and use dict syntax (#176) 2016-11-18 13:04:54 +01:00
Hamza Khchine
e634a624ec Fix broken link to django-redis (#175) 2016-11-17 17:22:15 +01:00
Rares Vernica
70f1043bad Facilitate renaming Constance in Admin (#173)
* Load app_config dynamically and use verbose_name

* Instead of assuming the app config is always going to be ConstanceConfig, load it dynamically in case the user overrides it
* Use verbose_name for page title instead of static strings for create_list
* Use verbose_name for create_list breadcrumbs

These changes allows the user to easily rename "Constance" to something else in their project.

* Fix use of verbose_name in title and breadcrumbs
2016-11-17 08:42:55 +01:00
Jannis Leidel
c4f350e0f3 Merge pull request #174 from rvernica/patch-1
Fix typo in code example
2016-11-16 21:21:47 +01:00
Rares Vernica
d677ac2ec3 Fix typo in code example 2016-11-16 09:01:19 -08:00
Camilo Nova
68ff061ea6 Merge pull request #172 from miguelgr/master
Add app_config property to Config.Meta
2016-11-08 17:58:23 -05:00
Miguel García
dd173cd42c Add app_config property to Config model 2016-10-27 18:27:37 +02:00
Camilo Nova
2f88a1bff2 Ignore fields in CONSTANCE_ADDITIONAL_FIELDS when casting a type 2016-10-12 16:59:56 -05:00
Camilo Nova
4fc8fdd3d0 Fix parameter ordering 2016-10-12 16:40:49 -05:00
Camilo Nova
bced16bfc7 Fixes #163 2016-10-12 16:09:18 -05:00
Camilo Nova
b0ec956419 Merge pull request #170 from felixxm/issue-169
Fixed #169. Added localize to check modified flag.
2016-10-12 11:34:21 -05:00
Mariusz Felisiak
9709b211d5 Fixed #169. Added localize to check modified flag. 2016-10-10 23:00:35 +02:00
Camilo Nova
b0276aa42e Merge pull request #168 from felixxm/issue-162
Fixed #162. Made travis configuration more readable.
2016-10-05 16:37:46 -05:00
Mariusz Felisiak
ac394b1628 Fixed #162. Made travis configuration more readable. 2016-10-05 22:04:34 +02:00
Camilo Nova
7beecc90c5 Merge pull request #166 from Lumax-Rus/master
Fixed wrong sorting for config. Added sorting for config fieldset
2016-10-05 11:30:43 -05:00
Maxim Luzin
1e40db7fda Fix config ordering. 2016-10-01 18:07:40 +07:00
Camilo Nova
08c6222e4a Merge pull request #165 from jazzband/fix_example
Updated example app to django 1.8, added migrations
2016-09-26 17:30:34 -05:00
John Carter
870e3627bf default wsgi.py 2016-09-26 20:53:36 +13:00
John Carter
d5877bf2a6 removed cruft 2016-09-26 08:58:45 +13:00
John Carter
84aa49c698 Updated example app to django 1.8, added migrations 2016-09-25 22:05:44 +13:00
Camilo Nova
2c123af788 Bump version 2016-09-17 17:27:58 -05:00
Camilo Nova
bfc09f9982 Revert "Only set the attribute if value has changed"
This reverts commit 56fb550044.
2016-09-17 17:23:07 -05:00
Camilo Nova
826c494fd1 Bump version 2016-09-17 15:31:02 -05:00
Camilo Nova
56fb550044 Only set the attribute if value has changed 2016-09-17 15:18:29 -05:00
Camilo Nova
080f72f58d Bump version 2016-09-15 14:02:35 -05:00
Camilo Nova
0f049e4677 Merge pull request #159 from jazzband/signals
Moved the signal to its own file to avoid import errors. Fixes #158
2016-09-15 13:59:18 -05:00
Camilo Nova
1d791d08cc Use double backticks 2016-09-15 13:58:30 -05:00
Camilo Nova
5eeb77f9b0 Improved naming for arguments 2016-09-15 09:25:54 -05:00
Camilo Nova
bebc279edc Send the config parameter as sender for the signal 2016-09-15 09:24:30 -05:00
Jannis Leidel
39ea4aa32f Merge pull request #160 from jazzband/admin-template
Improve html layout when using fieldsets
2016-09-15 09:04:19 +02:00
Camilo Nova
1830556c97 ☀️ Improve html layout when using fieldsets 2016-09-14 16:35:30 -05:00
Camilo Nova
1d746c080f Rename signal to config_updated 2016-09-14 14:53:52 -05:00
Camilo Nova
395efc992f ☀️ Moved the signal to its own file to avoid import errors 2016-09-14 14:50:39 -05:00