Jannis Leidel
8ba1804ff2
Added full_environ_name method to Value class.
2015-08-09 14:48:16 +02:00
Jannis Leidel
5ece107044
Only run __init__ in __new__ when late binding is enabled.
...
Signed-off-by: Jannis Leidel <jannis@leidel.info>
2015-03-16 21:19:40 +01:00
Miguel Araujo Perez
e09e1e0f42
Added equal operator to values.Value
...
Allows value setting to work when checking if setting variable is within
a list, i.e: settings.database in ['default', 'other']
Signed-off-by: Jannis Leidel <jannis@leidel.info>
2015-03-16 20:54:17 +01:00
Jannis Leidel
e332d5eff4
Use tar.gz instead of zip to work around an encoding issue in pip's unpacker.
2015-03-16 19:30:57 +01:00
Jannis Leidel
d9f60cfaef
Try using the pip caching in the tox config.
2015-03-16 16:59:37 +01:00
Jannis Leidel
01274d4965
Use pip caching and docker based Travis runner.
2015-03-16 15:17:55 +01:00
Jannis Leidel
6f6930495c
Get rid of manage.py for running tests now that we have django-cadmin.
...
Closes #92 .
2015-03-16 15:13:31 +01:00
Jannis Leidel
cc869bf577
Merge pull request #94 from RonnyPfannschmidt/entrypoints
...
add entrypoints to run in non-source-tree installs
2015-03-16 15:08:46 +01:00
Ronny Pfannschmidt
7a0b2b378a
add entrypoints to run in non-source-tree installs
2015-02-19 10:51:32 +01:00
Jannis Leidel
c60b7daac4
Fixed SequenceValue to work on Python 3.x.
2015-02-13 22:29:14 +01:00
Jannis Leidel
4d35ad346c
Call django.setup() for Sphinx, too.
...
This also adds a configurations.setup() analogue to django.setup().
2015-02-13 22:18:33 +01:00
Jannis Leidel
b91ebf083f
Merge pull request #91 from benjaminabel/notebook-support-for-django17
...
Add `django.setup()` in `load_ipython_extension` function for django>=1....
2015-02-13 22:08:56 +01:00
Jannis Leidel
8f617ad98c
Merge pull request #85 from abbottc/master
...
Add values.TupleOfTuplesValue (plus associated tests and docs)
2015-02-13 22:08:08 +01:00
Jannis Leidel
13980b3d80
Add Django 1.9/master testing.
2015-02-13 22:06:43 +01:00
Jannis Leidel
f7629aa84c
Fix test error on Python 3.x.
2015-02-13 21:54:21 +01:00
Jannis Leidel
6ce3740365
Cover the case in which BaseCommand.create_parser retursn optparse.OptionParser.
2015-02-13 21:52:47 +01:00
Jannis Leidel
f35e7e57e0
Add global --configuration option in Django >= 1.8.
2015-02-13 21:47:08 +01:00
Jannis Leidel
9be0c4f700
Fix compatibility between Django versions with regard to the type of some iterable settings such as TEMPLATE_CONTEXT_PROCESSORS.
2015-02-13 21:46:25 +01:00
Jannis Leidel
61d162d376
Fix tox config.
2015-02-13 21:45:37 +01:00
Jannis Leidel
8be47c0813
Merge remote-tracking branch 'benjaminabel/master'
2015-02-13 18:12:56 +01:00
Jannis Leidel
ea28a6ebd6
Minor fixes for 1.8.
2015-02-13 18:12:02 +01:00
Jannis Leidel
c6b3d05f71
Revert "Use py.test."
...
This reverts commit 7799241900 .
2015-02-13 16:43:55 +01:00
Jannis Leidel
21d1712143
Use importlib.import_module if needed.
2015-02-13 16:24:02 +01:00
Jannis Leidel
e0e12b1b9f
Fixed minor flake8 error.
2015-02-13 16:21:17 +01:00
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