From 454ecb344a20fb6bf6bf4ee4b4b520651ef52c12 Mon Sep 17 00:00:00 2001 From: Diederik van der Boor Date: Tue, 14 Oct 2014 16:28:01 +0200 Subject: [PATCH] example: silence Django 1.7 system check --- example/example/settings.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/example/example/settings.py b/example/example/settings.py index 05a5c1f..9458f25 100644 --- a/example/example/settings.py +++ b/example/example/settings.py @@ -1,3 +1,4 @@ +import django import os DEBUG = True @@ -74,6 +75,9 @@ INSTALLED_APPS = ( 'pexp', # this Django app is for testing and experimentation; not needed otherwise ) +if django.VERSION >= (1,7): + TEST_RUNNER = 'django.test.runner.DiscoverRunner' # silence system checks + # Logging configuration LOGGING = { 'version': 1,