Commit graph

46 commits

Author SHA1 Message Date
Jannis Leidel
1da2414ee1 Minor style changes and bumping version. 2013-09-03 13:10:25 +02:00
Jannis Leidel
927c052be5 Changed the default of the Value's environ option to True. 2013-09-03 12:03:34 +02:00
Jannis Leidel
61bb7b0e44 Fixed string formatting. Part 2. 2013-07-27 16:07:43 +02:00
Jannis Leidel
90292e3cec Fixed string formatting. 2013-07-27 16:05:23 +02:00
Jannis Leidel
b8222d2271 Raise an ImproperlyConfigured exception if value handling doesn't work, thanks @pydanny for the suggestion. 2013-07-27 15:38:30 +02:00
Jannis Leidel
2cc38d9ff7 Don't use django-discover-runner on 1.6 and up. 2013-07-27 13:46:18 +02:00
Jannis Leidel
ef26377f13 Force list return value for filtered result. 2013-07-27 13:20:42 +02:00
Jannis Leidel
0882b97972 Fixed test method names. 2013-07-27 13:18:20 +02:00
Jannis Leidel
2c39f5f29b Also don't raise an exception during import for the Settings class since that's now deprecated. 2013-07-27 13:05:11 +02:00
Jannis Leidel
1a54847375 Added a configuration values system.
This also adds some advanced features like a setup classmethod to the Configuration class.
Reorganized and extended the documentation.
2013-07-27 12:37:28 +02:00
Jannis Leidel
e31adbaeed Renamed Settings class to Configuration to better match what it means. Settings is still importable and is marked to be deprecated in 1.0. 2013-07-27 12:05:39 +02:00
Jannis Leidel
822397799b Fix the test suite for the post_load method. 2013-05-15 13:15:47 +02:00
Jannis Leidel
0b9e5ed1cf Bumped version up a notch. 2013-05-15 12:50:49 +02:00
Jannis Leidel
bebe4f254b Extended the setup methods in pre and post phase. Fixes #27. 2013-05-15 11:32:57 +02:00
Jannis Leidel
d4da16273a Merge branch 'master' of github.com:jezdez/django-configurations
Conflicts:
	configurations/decorators.py
2013-05-15 11:06:51 +02:00
Jannis Leidel
708fb9ac50 Renamed the pristine decorator to pristinemethod for consistency. 2013-05-15 10:59:02 +02:00
Jannis Leidel
df865840bc Added a setup method hook for easier startup time code. 2013-05-15 10:57:30 +02:00
Jannis Leidel
efd0206da1 Fixed a typo. Thanks @peritus. 2013-05-13 10:18:38 +02:00
Jannis Leidel
6596e191f0 Added pristine decorator to handle callable settings. Fixes #28. 2013-04-30 17:11:29 +02:00
Jannis Leidel
e15070288c Renamed assertEquals to assertEqual. 2013-04-30 17:09:01 +02:00
Jannis Leidel
35271f7200 Added a lambda setting, just to be sure. Refs #28. 2013-04-26 09:02:26 +02:00
Jannis Leidel
f51049dc00 Renamed a few test settings to better describe what they are. 2013-04-26 09:01:59 +02:00
Jannis Leidel
5700d96d14 Updated changes and bumped version up a notch. 2013-04-11 17:14:58 +02:00
Jannis Leidel
bbd5f2dce3 Use Django's lax option parser when looking for the configuration option to prevent overlapping with Django's own option parsing.
Fixes #21, #22, #24. Thanks to @rolo for helping our in #24.
2013-04-11 16:08:47 +02:00
Jannis Leidel
f7c1206a1e D'oh, there never was a 0.2 on PyPI. Bumped version down again. 2013-03-27 16:59:50 +01:00
Jannis Leidel
87f2b4723d Add a fastcgi helper. Fixes #19. 2013-03-27 16:57:05 +01:00
Jannis Leidel
90beffa13b Bumped version up a notch. 2013-03-27 15:30:32 +01:00
Jannis Leidel
b7d6faa46d Fixed exception syntax of a parallel branch. 2013-03-27 12:04:34 +01:00
Jannis Leidel
f7696e5810 Merge pull request #18 from mvantellingen/python3
Python3
2013-03-27 03:58:03 -07:00
Jannis Leidel
560a8b2b84 Merge pull request #16 from bclermont/fix-import
catch error raised inside settings code
2013-03-27 03:57:05 -07:00
Jannis Leidel
5b90971f6d Merge pull request #17 from mfogel/explicit-mixin-test
Test using mixins with settings
2013-03-27 03:56:38 -07:00
Jannis Leidel
7db5db8bff Handle the --configuration option for management commands during installation of the import hook. 2013-03-27 11:55:43 +01:00
Michael van Tellingen
d654e56040 Set SECRET_KEY in settings.main 2013-01-30 21:48:15 +01:00
Michael van Tellingen
2877b66982 Initial fixes for python 3 support 2013-01-30 21:45:36 +01:00
Mike Fogel
0f83894494 Test using mixins with settings 2012-11-26 13:39:57 -08:00
Bruno Clermont
41b8f3655c fix indentation 2012-11-26 23:11:26 +08:00
Bruno Clermont
53bf1b5548 oups bad copy-paste 2012-11-26 16:29:59 +08:00
Bruno Clermont
1b052a3a0e catch error raised inside the settings code 2012-11-26 16:25:00 +08:00
Jannis Leidel
c5c0feff9f Bumped version. 2012-09-21 20:58:03 +02:00
Jannis Leidel
08d36754f6 Merge branch 'master' of github.com:jezdez/django-configurations 2012-09-21 16:34:35 +02:00
Jannis Leidel
26bc0d692f Added a global --configuration option to management commands and show configuration class path when using runserver. Fixes #9. 2012-09-21 16:34:16 +02:00
Bruno Clermont
fb90a168aa use absolute import
fix test
2012-09-05 15:52:49 +02:00
Bruno Clermont
8b78278921 Don't catch AttributeError during cls init
if obj = cls() do have an attribute error inside it's initialization, it will appears as if the module could not be find.

which is hard to troubleshoot, when the module is really there :)
2012-09-05 14:29:05 +03:00
Jannis Leidel
543151d511 Re-added 1.3 tests. Refs #4. 2012-07-28 00:05:49 +02:00
Jannis Leidel
5b40d68675 Bumped version to 0.1. 2012-07-21 16:12:26 +02:00
Jannis Leidel
775e1b9225 Initial version. 2012-07-21 15:56:04 +02:00