example: silence Django 1.7 system check
parent
e9e4719fd3
commit
454ecb344a
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue