Jannis Leidel
2e57cde3ea
pytest-django works with Django 1.8 now
2015-02-10 18:29:01 +01:00
Benjamin ABEL
546f488197
Add django.setup() in load_ipython_extension function for django>=1.7 compatibility
2015-02-01 16:47:37 +01:00
Benjamin ABEL
36a7061a61
Add a test for configuration argument
...
This test do not use mock, and only searches the `configuration` option in
the help messages.
2015-01-27 22:49:58 +01:00
Benjamin ABEL
ae767eaf2d
Cleaned importer to be more DRY
2015-01-27 22:36:59 +01:00
Benjamin ABEL
d9b2815526
Use CommandParser instead of LaxOptionParser in django1.8
...
Added a django version check, and removed the `LaxOptionParser` import for django>=1.8 and used `CommandParser` instead as in Claude Paroz django [commit](8568638603 (diff-860fce37924469764af399caaa365e00R275) )
Reference: [#19973 (Management commands migration to argparse) –
Django](https://code.djangoproject.com/ticket/19973 )
2015-01-25 18:13:47 +01:00
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
Christian Abbott
8287ab6f7f
Merge remote-tracking branch 'upstream/master'
2015-01-07 03:19:24 -08:00
Christian Abbott
e0a68fdbb6
Rename TupleOfTupleValue to SingleNestedTupleValue; Add SingleNestedListValue and do a DRY refactor of ListValue, TupleValue, and their SingleNested subclasses
2015-01-07 03:08:30 -08: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
Christian Abbott
c4ba5ca559
Add TupleOfTuplesValue along with associated tests and updated documentation
2014-12-18 07:15:20 -08: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