Commit graph

512 commits

Author SHA1 Message Date
Jannis Leidel
46809d02b2 Worked around an issue with Django 1.6's six. 2013-09-06 23:39:53 +02:00
Jannis Leidel
e453d2355d Fix a Python2ism 2013-09-06 23:28:50 +02:00
Jannis Leidel
515eb603c7 Slight revamp of the values docs. 2013-09-06 23:24:34 +02:00
Jannis Leidel
3848e6b818 Drastically simplified exception messages in the importer.
Less eyebleed® included!
2013-09-06 22:41:14 +02:00
Jannis Leidel
dacca7e073 Use ValueError instead of Django's ImproperlyConfigured.
This is to prevent hiding the real reason of a configuration failure behind one of Django's import time exceptions.
2013-09-06 22:40:15 +02:00
Jannis Leidel
27d77f7e29 Update changelog date. 2013-09-03 13:18:22 +02:00
Jannis Leidel
141e137d9f Minor style change for docs. 2013-09-03 13:13:20 +02:00
Jannis Leidel
1da2414ee1 Minor style changes and bumping version. 2013-09-03 13:10:25 +02:00
Jannis Leidel
cd2144492c Minor edits to the docs. 2013-09-03 13:03:59 +02:00
Jannis Leidel
a4e1dfff87 Added 1.6.x template branch to ignore list. 2013-09-03 12:40:43 +02:00
Jannis Leidel
556365bc8f Minor edits to the values docs. 2013-09-03 12:30:39 +02:00
Jannis Leidel
79e093fc58 Use newer Django versions. 2013-09-03 12:04:50 +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
5f4229057d Use new release of django-cache-url. 2013-07-27 17:07:43 +02:00
Jannis Leidel
f4cea1e97b Moved project templates into cookbooks. 2013-07-27 16:49:50 +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
19c7765d04 Bumped version up a notch. 2013-07-27 14:57:30 +02:00
Jannis Leidel
c6fbc08bda Updated changelog. 2013-07-27 14:56:45 +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
d9931fbf72 Fixed 1.6.x requirement. 2013-07-27 13:42:21 +02:00
Jannis Leidel
5f97cc334e use python3 compat version of django-cache-url 2013-07-27 13:35:19 +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
a954783851 Added six to test requirements since invoke needs it 2013-07-27 13:14:27 +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
3a2fde649f Fixed broken package files. 2013-07-27 12:53:08 +02:00
Jannis Leidel
6695699f1d Switch to using invoke instead of Make. 2013-07-27 12:37:44 +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
6db9fdbf30 Stop using crate and PyPI mirrors. 2013-07-27 12:07:58 +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
aac7af881c Add note about project template. 2013-06-26 12:11:15 +02:00
Jannis Leidel
dedd5682aa Don't build the templates branch. 2013-06-26 11:03:08 +02:00
Jannis Leidel
2fde445890 Fixed typo. 2013-05-15 16:34:06 +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
4b08084787 Updated changelog. 2013-05-15 12:30:35 +02:00
Jannis Leidel
d98ce1aa81 Fixed README example to not confuse beginners. Thanks, @peterbe. 2013-05-15 12:29:25 +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
163aed8520 Normalized name of example settings class to Prod. 2013-04-30 17:07:11 +02:00
Jannis Leidel
c91b0d5a8d Bumped up the Django requirement a notch. 2013-04-26 09:03:47 +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