Commit graph

413 commits

Author SHA1 Message Date
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
Camilo Nova
9d4d0ab334 Bump version 2016-09-14 12:44:59 -05:00
Camilo Nova
ebf1d228ef Fix 2016-09-14 12:39:00 -05:00
Camilo Nova
eaeb4475a2 Added documentation on signals 2016-09-14 12:37:19 -05:00
Camilo Nova
94fabdf7c3 Added signal on change, refs #158 2016-09-14 12:22:32 -05:00
Camilo Nova
90bf97c0a9 Improved coding styles 2016-09-14 12:21:43 -05:00
Camilo Nova
b28385f501 Improved coding styles 2016-09-14 12:21:16 -05:00
Camilo Nova
03704ee4f7 Improve coding style and remove django 1.7 compatibility 2016-09-14 11:52:58 -05:00
Camilo Nova
d0d2829dff Include pypy on testing matrix 2016-09-14 11:48:11 -05:00
Camilo Nova
3fef927349 Improve testing matrix 2016-09-14 11:45:16 -05:00
Camilo Nova
2272e37374 Update python versions to test 2016-09-14 11:39:20 -05:00
Camilo Nova
01fa669e98 Added django 1.10 tests 2016-09-14 11:35:13 -05:00
Camilo Nova
07a00c44ee Merge pull request #157 from iamkhush/master
Admin Form Ordering using OrderDict  issue #153
2016-09-10 18:24:17 -05:00
Ankush Chadda
bee1a68c51 Change to test travis build 2016-09-10 16:53:52 +05:30