example: silence Django 1.7 system check
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
|
import django
|
||||||
import os
|
import os
|
||||||
|
|
||||||
DEBUG = True
|
DEBUG = True
|
||||||
@@ -74,6 +75,9 @@ INSTALLED_APPS = (
|
|||||||
'pexp', # this Django app is for testing and experimentation; not needed otherwise
|
'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 configuration
|
||||||
LOGGING = {
|
LOGGING = {
|
||||||
'version': 1,
|
'version': 1,
|
||||||
|
|||||||
Reference in New Issue
Block a user