Commit graph

10 commits

Author SHA1 Message Date
Sven Aßmann
4018f7b42a - add late_binding to value with default False
- this enables a value to load from environment if the env variable name is given at construction time
- cache value of environment value now in property value
- add __new__ to allow a construction of a given type from environment directly. In this case now Value instance is constructed but an instance of the desired type that is covered by the Value implementation. For Value it is str, for DictValue it is dict etc.
- extend tests for this new behavior
- extend test coverage for some other places
2014-05-02 22:51:48 +02:00
Jannis Leidel
280be2e3e2 Fix database URL test. 2014-04-15 15:36:37 -04:00
Dmitry Kozhedubov
3ae1e368c2 test_cache_url_value fix 2014-03-02 20:41:40 +04:00
Jannis Leidel
f087cea84d Added SearchURLValue. 2014-01-16 19:00:29 +01:00
Jannis Leidel
5950740c5d Fixed a 1.7.x test. 2013-11-26 15:46:53 +01:00
Jannis Leidel
7dbe8c063f Ported tests to run via tox and Travis. 2013-11-26 12:25:07 +01:00
Jannis Leidel
ed8d284d66 Merge branch 'master' of github.com:jezdez/django-configurations 2013-10-08 09:32:43 +02:00
Stefan Wehrmeyer
275a5b409a Fix check_options of ConfigurationImporter 2013-10-08 09:32:05 +02:00
Stefan Wehrmeyer
5e8dc290df Fix CacheURLValue default value
Remove unused kwarg 'name' that shadows kwarg
'default'.
2013-10-06 16:33:24 +02:00
Jannis Leidel
5898acb594 Moved tests out of the configurations packages. 2013-09-09 11:02:43 +02:00