Commit graph

170 commits

Author SHA1 Message Date
Camilo Nova
bebc279edc Send the config parameter as sender for the signal 2016-09-15 09:24: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
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
03704ee4f7 Improve coding style and remove django 1.7 compatibility 2016-09-14 11:52:58 -05:00
Ankush Chadda
7e20386682 ordering contance fields using OrderedDict 2016-09-10 16:11:36 +05:30
Camilo Nova
0b9a00099a Bump version 2016-09-01 18:41:27 -05:00
Farooq Azam
80d5fb5954 Added support for fieldsets. 2016-08-22 02:45:57 +05:00
Farooq Azam
a39a46e699 Used self.model instead Config to fix inheritance issues.
I tried to inherit the Config model and changed the app_label but it wasn't working because Config was hard-referenced here.
2016-08-21 21:40:17 +05:00
Jan Nakladal
e95f372b2f autofill cache if key si missing. 2016-07-12 16:31:11 +12:00
Maxim Filipenko
1b6730d2c5 Invalidate cache 2016-06-03 17:40:32 +03:00
Camilo Nova
c9d23c6d39 Fixes #141 2016-05-24 18:54:33 -05:00
Camilo Nova
8f71bca192 Bump version 2016-05-14 09:06:02 -05:00
jonzlin95
e2a4c6668b Fix setting name 2016-04-08 15:03:47 -07:00
jonzlin95
0aa1a7dd6a Use SplitDateTimeField due to DateTimeField + SplitDateTimeWidget deprecation 2016-04-05 15:44:12 -07:00
Emilio Ramirez
3524d3f210 is a good idea keep te constance at the begining of the variable name for avoid conflicts 2016-03-29 15:13:22 -03:00
John Carter
8101d7cc84 Make CONSTANCE_ADDITIONAL_FIELDS more flexible
Allow the field config to be a tuple, and allow the config dict to be omitted
2016-03-13 00:05:16 +13:00
Francesc Arpi
1b9458c74b Added CONSTANCE_IGNORE_ADMIN_VERSION_CHECK settings option to ignore the version protection. When you use django-constance on a cloud platform, with several machines, giving you problems by keeping the machine does not have to be the same which has served constant form. 2016-03-01 17:37:35 +01:00
Martin Pauly
ebdc1a6b9f Moved ConstanceForm to a property to make it exchangable by inheritance 2016-02-22 14:50:41 +01:00
Camilo Nova
d84f0283c8 Bump version 2016-02-08 07:55:33 -05:00
Camilo Nova
8121802f52 Merge pull request #123 from federicobond/svg-icons
Replace removed gif icons with svg versions
2016-02-08 07:45:29 -05:00
Federico Bond
1558a7c67e Replace removed gif icons with svg versions 2016-02-07 16:58:53 -03:00
Jürno Ader
201ba03762 Safer custom fields 2015-11-13 12:02:41 +01:00
Petr Dlouhý
55ddbad52c Merge remote-tracking branch 'jezdez/master' into custom_fields 2015-11-13 11:44:56 +01:00
Jannis Leidel
6b04a3169e Bumped up version. 2015-10-01 18:20:14 +02:00
Jannis Leidel
c82d76fc28 Fix #115 - stop shadowing the context processor's config variable when rendering the admin change list. 2015-10-01 18:16:39 +02:00
Jannis Leidel
a005625f97 Bumped version. 2015-09-24 12:50:29 +02:00
Jannis Leidel
527bc0ca7e Updated Chinese translation. 2015-09-24 12:37:35 +02:00
Jannis Leidel
e41710616b Allow line breaks in config descriptions - Fix #95 2015-09-24 12:21:29 +02:00
Jannis Leidel
e1d27a6250 Merge remote-tracking branch 'chornsby/add-test-utils' 2015-09-24 11:59:55 +02:00
Jannis Leidel
b36aaf8fa6 More test fixes. 2015-09-24 11:56:19 +02:00
Jannis Leidel
19109b98bc Merge remote-tracking branch 'vinnyrose/compat_changes' 2015-09-24 11:02:45 +02:00
Jannis Leidel
f829ae543c Merge remote-tracking branch 'caktus/fixes_recent_djangos' 2015-09-24 10:45:14 +02:00
Mario Rosa
e1f9e52a08 Compatibility changes.
Drop python 2.6, 3.2
Drop Django 1.4, 1.5, 1.6
Remove models.py under constance and move to an appconfig imported file.
2015-08-25 08:14:01 -04:00
Dan Poirier
b44f5f5409 Some fixes for recent Djangos
* Add Django 1.8 to test environments in tox.ini
* Update python versions supported by Django master in tox.ini
* Don't load 'url' from template library 'future' - it is no longer
  available in Django master, and is not needed in Django 1.4 and later,
  which is as far back as django-constance tests
  * get_cache dropped from Django master
  * post_syncdb signal dropped
  * django.utils.importlib dropped

There are still errors on some environments that I didn't try to
address:

* coverage seems broken on py32
* django-master seems currently broken on py27 (non-ASCII character
somewhere,
I expect django-master will be fixed soon since they still claim py27
support)
* django14 seems broken: "NoReverseMatch: u"'admin" is not a registered
namespace"
2015-08-07 08:14:26 -04:00
Petr Dlouhý
12245b0f71 allow to override field config_type and set custom additional fields 2015-06-14 17:34:53 +02:00
Charlie Hornsby
3338d1c092 Implement override_config decorator for use in testing
Subclass django.test.utils.override_settings for similar pattern
Allow use as both TestCase decorator and context manager
Support Django versions 1.4 to 1.8
2015-06-02 21:18:19 +03:00
Curtis Maloney
353c6a30de Make 1.8 compatible 2015-05-27 13:23:28 +10:00
Igor Támara
f3604a3a73 master Added spanish translation 2015-01-15 16:39:04 -05:00
Jannis Leidel
8dfdc75334 Bumped version to 1.0.1. 2015-01-07 09:32:38 +01:00
Jannis Leidel
48704b9aa5 Try to fix #88 by being lazy a different way. 2015-01-06 12:24:58 +01:00
Jannis Leidel
d59e1c9c5f Use url tag from the future to fix rendering. 2014-12-04 18:20:00 -08:00
Jannis Leidel
880ece5cc1 1.0 \o/ 2014-12-04 17:24:51 -08:00
Jannis Leidel
2c03498d91 Fix minor cosmetic issue. 2014-12-04 16:45:24 -08:00
Jannis Leidel
d93dd7d2d9 Use breadcrumbs code from Django. 2014-12-04 16:38:50 -08:00
Jannis Leidel
13980f39a6 More laziness for preventing import time issues.
Fixes #84.
2014-12-04 10:37:10 -08:00
Jannis Leidel
7a6e0602d3 Use Django's own static template tag in the admin. 2014-12-04 10:36:29 -08:00
Jannis Leidel
cb2eacabc9 Pulled translations from Transifex. 2014-11-27 19:28:05 +01:00