Commit graph

379 commits

Author SHA1 Message Date
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
Jake Merdich
60a7b792e2 Work around for pip bug w/ Django zips 2015-08-19 22:46:33 -07: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ý
0e447ee3e2 add tests for custom additional fields 2015-06-14 17:34:53 +02: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
3ea96e7529 Add documentation for override_config decorator 2015-06-02 22:14:26 +03:00
Charlie Hornsby
2bbffd5eec Add test cases for override_config
Test usage of override_config in different forms
Ensure flexibility between decorator and context manager
2015-06-02 21:19:13 +03: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
de4dc304f8 Django master (1.9+) does not support Py3.2 2015-05-27 13:38:41 +10:00
Curtis Maloney
353c6a30de Make 1.8 compatible 2015-05-27 13:23:28 +10:00
Jannis Leidel
fcf8d5763b Merge pull request #90 from AxiaCore/master
master  Added spanish translation
2015-01-16 20:29:33 +01:00
Igor Támara
f3604a3a73 master Added spanish translation 2015-01-15 16:39:04 -05:00
Jannis Leidel
fd4d0f3598 Increased speed of builds. 2015-01-07 09:35:49 +01: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
87c83d6dba Fix directive name. 2014-12-04 18:41:20 -08: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
a209f84ac4 Correct date. 2014-12-04 17:24:34 -08:00
Jannis Leidel
7bd1513a4f Docs tweaks. 2014-12-04 17:24:25 -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
9e08cef4e0 Added example project requirements files. 2014-12-04 10:13:31 -08:00
Jannis Leidel
93263dbc2e Get rid of old screenshots. 2014-12-04 10:13:23 -08:00
Jannis Leidel
24388a4b60 Fix minor cosmetic issue with rST. 2014-12-02 12:15:24 -08:00
Jannis Leidel
c511a986b3 Updated changelog. 2014-11-27 19:28:41 +01:00
Jannis Leidel
cb2eacabc9 Pulled translations from Transifex. 2014-11-27 19:28:05 +01:00
Jannis Leidel
973963b70e Updated base translation message catalog. 2014-11-27 19:27:03 +01:00
Jannis Leidel
85b57dbe73 Added Transifex config. 2014-11-27 19:26:24 +01:00
Jannis Leidel
2cb825f3f6 Use better translated string. 2014-11-27 19:05:42 +01:00
Jannis Leidel
abd42df304 Minor cosmetic fix.
Signed-off-by: Jannis Leidel <jannis@leidel.info>
2014-11-27 17:53:12 +01:00
Jannis Leidel
52cbce7a08 Stop requiring six as a depdendency.
This is possible now that we require at least a version of Django that ships with six.

Signed-off-by: Jannis Leidel <jannis@leidel.info>
2014-11-27 17:53:01 +01:00
Bouke Haarsma
d0fc64bf1a Hash settings to prevent overwriting of someone else's changes
Signed-off-by: Jannis Leidel <jannis@leidel.info>
2014-11-27 17:51:12 +01:00
Jannis Leidel
395924a022 Move screenshot to the top of the doc index. 2014-11-25 22:47:20 +01:00
Jannis Leidel
1f958dc443 Make the config object lazy for old Djangos.
This should prevent import time side effects from instantiating the config object directly there.
2014-11-25 22:46:58 +01:00
Jannis Leidel
1b3ffbc049 Updated packaging setup. 2014-11-25 22:22:04 +01:00
Jannis Leidel
94e3989b9b Be a good Python citizen and call super. 2014-11-25 22:20:18 +01:00
Jannis Leidel
fc930442a2 Simplified settings. 2014-11-25 22:20:06 +01:00
Jannis Leidel
d051286522 Added Sphinx docs. Fixes issue #48. 2014-11-25 22:18:26 +01:00
Jannis Leidel
18c2835170 Get rid of work around for setuptools bug.
See http://bugs.python.org/issue15881
2014-11-25 19:09:08 +01:00
Jannis Leidel
cd05239626 Because computers. 2014-11-21 21:19:14 +01:00
Jannis Leidel
63f5370735 Add note about being able to use django-redis' connection for constance.
Fixes #83.
2014-11-21 20:53:18 +01:00
Jannis Leidel
ee0980a99f Raise an exception if an unsupported config type is used.
This is in response to #54 and #66.
2014-11-21 20:29:11 +01:00
Jannis Leidel
212dd67d18 Revert "add admin ui support for constance keys as lists"
This reverts commit cd3e84586d.
2014-11-21 20:24:16 +01:00
Jannis Leidel
6e2c4503e5 Moved South migrations out of the way and added Django migrations. 2014-11-21 20:21:17 +01:00
Jannis Leidel
69221ba2b4 Renamed config module to base to prevent ambiguity
This should fix #80 that is triggered by Django's new strickter import time loading process.
2014-11-21 20:16:39 +01:00
Jannis Leidel
8b0ed361d6 Added database cache autofill feature.
This refs #47 and #45.
2014-11-21 20:08:20 +01:00
Jannis Leidel
16bb8d50e6 Fix padding in admin table. 2014-11-21 19:46:15 +01:00