This helps with tox tests for Django 1.6 Signed-off-by: Daniel Axtens <[email protected]> --- patchwork/settings/dev.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/patchwork/settings/dev.py b/patchwork/settings/dev.py index 99cb72e335cf..b1d2186aacc9 100644 --- a/patchwork/settings/dev.py +++ b/patchwork/settings/dev.py @@ -90,4 +90,5 @@ if django.VERSION >= (1, 7): ENABLE_XMLRPC = True -ENABLE_REST_API = True +if django.VERSION >= (1,7): + ENABLE_REST_API = True -- 2.7.4 _______________________________________________ Patchwork mailing list [email protected] https://lists.ozlabs.org/listinfo/patchwork
