Commit graph

204 commits

Author SHA1 Message Date
Benjamin ABEL
a8bf15b358 Use django 1.8 branch in tox.ini 2015-01-25 18:12:41 +01:00
Jannis Leidel
f53e999041 Merge branch 'master' of github.com:jezdez/django-configurations 2015-01-15 13:06:15 +01:00
Jannis Leidel
ffbf79c95d Removed gittip. 2015-01-15 13:06:02 +01:00
Jannis Leidel
186f50c2a4 Merge pull request #88 from benjaminabel/master
Remove coverage env from `tox.ini`
2015-01-07 15:39:40 +01:00
Benjamin ABEL
e20c9b5939 Remove coverage env from tox.ini 2015-01-07 15:28:12 +01:00
Jannis Leidel
fe96f5b46a Install pytest-django master to work around issue with Django 1.8. 2015-01-07 00:11:15 +01:00
Jannis Leidel
14dd728ad4 Improved docs. 2015-01-07 00:06:38 +01:00
Jannis Leidel
8a34b53500 Fixed version in docs.
Signed-off-by: Jannis Leidel <jannis@leidel.info>
2015-01-07 00:05:47 +01:00
Jannis Leidel
f2a46fb009 Merge remote-tracking branch 'nagyv/patch-1'
Signed-off-by: Jannis Leidel <jannis@leidel.info>
2015-01-07 00:05:27 +01:00
Jannis Leidel
f1f9973547 Remove coverage env from travis config.
Signed-off-by: Jannis Leidel <jannis@leidel.info>
2015-01-06 23:28:33 +01:00
Jannis Leidel
7799241900 Use py.test.
Signed-off-by: Jannis Leidel <jannis@leidel.info>
2015-01-06 23:27:00 +01:00
Jannis Leidel
aba18a4cd8 Fix 1.8 test runner. 2015-01-06 23:15:57 +01:00
Jannis Leidel
44476bdd1d Merge remote-tracking branch 'hiisi13/master'
Signed-off-by: Jannis Leidel <jannis@leidel.info>
2015-01-06 23:15:08 +01:00
Jannis Leidel
01e3f5837f Merge remote-tracking branch 'joke2k/dot-env'
Signed-off-by: Jannis Leidel <jannis@leidel.info>

Conflicts:
	.gitignore
2015-01-06 22:34:29 +01:00
Jannis Leidel
ebc0c51dd8 Merge branch 'master' of github.com:jezdez/django-configurations 2015-01-06 21:38:20 +01:00
Jannis Leidel
98de57b27e Added configurations.management.call_command. Fix #72. 2015-01-06 21:38:08 +01:00
Jannis Leidel
cb9f7c36fb Merge pull request #83 from mauricioabreu/master
Fixed wrong behaviour when assigning BooleanValue
2015-01-06 21:23:37 +01:00
Jannis Leidel
a8643a1af5 Simplify coverage setup. 2015-01-06 21:20:52 +01:00
Jannis Leidel
9dd8ba2a6e Ignore dists. 2015-01-06 21:16:41 +01:00
Jannis Leidel
41dfcee46c Backported LaxOptionParser from Django 1.7 to make it work on 1.8. 2015-01-06 21:16:14 +01:00
Mauricio de Abreu Antunes
3f892f9814 Fixed wrong behaviour when assigning BooleanValue
When assigning False to a BooleanValue and reusing it was raising a
ValueError exception because BooleanValue was evaluating False as None.

Thanks to @abbottc for catching this error.
2014-12-27 10:34:40 -02:00
Jannis Leidel
5d1a8d7887 Merge branch 'master' of github.com:jezdez/django-configurations 2014-12-12 17:26:43 +01:00
Jannis Leidel
45c9127d4e More fixes to the test setup. 2014-12-12 17:26:21 +01:00
Jannis Leidel
fb9275744e Merge pull request #78 from slafs/validationmixinfix
fix ValidationMixin instantiation with no default
2014-12-12 16:28:58 +01:00
Jannis Leidel
ecb3db3762 Merge pull request #76 from rassie/patch-1
Correct documentation about mixin usage
2014-12-12 16:28:15 +01:00
Jannis Leidel
08eabf2ae0 Merge remote-tracking branch 'heww/master' 2014-12-12 16:27:46 +01:00
Jannis Leidel
82f2514b81 Merge remote-tracking branch 'slafs/newtox' 2014-12-12 16:26:18 +01:00
Jannis Leidel
6ddd647361 Merge pull request #73 from jpadilla/master
Test 1.7 against stable version instead of master
2014-12-12 16:22:33 +01:00
Sławek Ehlert
8d366fca44 fix ValidationMixin instantiation with no default
with tests. fixes #69
2014-10-30 23:44:48 +01:00
Sławek Ehlert
55a2cf6a36 use tox generative envlist with factor dependencies 2014-10-30 23:18:26 +01:00
Nikolai Prokoschenko
d97afc163a Correct documentation about mixin usage
`Configuration` class needs to be last in the inheritance list, otherwise it's not possible to override Django's default settings. Tests are already correct, just the documentation is wrong.
2014-10-20 11:06:05 +02:00
He Weiwei
f8ebb564da fix bug of setup_value func for EmailURLValue 2014-10-08 12:19:35 +08:00
José Padilla
f0d956740c Test 1.7 against stable version instead of master 2014-09-09 12:06:18 -04:00
Viktor Nagy
738b79bc70 more generic path given 2014-08-12 23:10:05 +02:00
Jannis Leidel
7af6d9e7c5 Merge pull request #62 from sassman/issues/#61
solution proposal for Issue #61
2014-08-12 20:41:18 +02:00
Viktor Nagy
1998ba8d8c Added recipe to work with Sphinx 2014-05-22 09:36:11 +02:00
Sven Aßmann
95e378aec7 add python 3.4 tox environments to travis for builds 2014-05-02 23:48:35 +02:00
Sven Aßmann
4ec540c32c - cleanup of unused tox configuration 2014-05-02 22:57:20 +02:00
Sven Aßmann
467e4ebe52 - add configuration for python 3.4 with same django versions as for 3.3
- add coverage summary and html report for checking code coverage
2014-05-02 22:53:32 +02:00
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
joke2k
27eb748d68 refactoring of DotConfiguration 2014-04-17 18:07:33 +02:00
joke2k
f5c8b49842 Merge branch 'cleaning' into dot-env 2014-04-17 16:26:01 +02:00
joke2k
8919aa163e Merge branch 'master' into cleaning 2014-04-17 16:25:37 +02:00
joke2k
5279ae4ace add support to load .env file into os.environ 2014-04-17 16:23:36 +02:00
joke2k
8a8f99ab68 add *.pyc to .gitignore; remove repeated INSTALLED_APPS from test_project.settings; fix check dj-database-url returned None values to empty string 2014-04-17 16:22:31 +02:00
Jannis Leidel
280be2e3e2 Fix database URL test. 2014-04-15 15:36:37 -04:00
Jannis Leidel
e1e02c2e8b Merge pull request #58 from jpadilla/patch-1
Small typo fix on FastCGI section
2014-04-15 15:33:38 -04:00
José Padilla
1701b95fa8 Small typo fix on FastCGI section 2014-03-20 08:41:31 -04:00
Jannis Leidel
035c3301a8 Merge pull request #55 from hiisi13/test_fixes
test_cache_url_value fix
2014-03-03 12:15:11 +01:00
Dmitry Kozhedubov
3ae1e368c2 test_cache_url_value fix 2014-03-02 20:41:40 +04:00