mirror of
https://github.com/retspen/webvirtcloud.git
synced 2026-05-26 23:19:40 +00:00
Added admin app unit tests
This commit is contained in:
@@ -15,7 +15,6 @@ DEBUG = True
|
||||
ALLOWED_HOSTS = ['*']
|
||||
|
||||
# Application definition
|
||||
|
||||
INSTALLED_APPS = [
|
||||
'django.contrib.auth',
|
||||
'django.contrib.contenttypes',
|
||||
@@ -91,9 +90,9 @@ AUTHENTICATION_BACKENDS = [
|
||||
'django.contrib.auth.backends.ModelBackend',
|
||||
]
|
||||
|
||||
LOGIN_URL = '/accounts/login'
|
||||
LOGIN_URL = '/accounts/login/'
|
||||
|
||||
LOGOUT_REDIRECT_URL = '/accounts/login'
|
||||
LOGOUT_REDIRECT_URL = '/accounts/login/'
|
||||
|
||||
LANGUAGE_CODE = 'en-us'
|
||||
|
||||
@@ -114,14 +113,23 @@ STATICFILES_DIRS = [
|
||||
LOGGING = {
|
||||
"version": 1,
|
||||
"disable_existing_loggers": False,
|
||||
"handlers": {"mail_admins": {"level": "ERROR", "class": "django.utils.log.AdminEmailHandler"}},
|
||||
"handlers": {
|
||||
"mail_admins": {
|
||||
"level": "ERROR",
|
||||
"class": "django.utils.log.AdminEmailHandler"
|
||||
}
|
||||
},
|
||||
"loggers": {
|
||||
"django.request": {"handlers": ["mail_admins"], "level": "ERROR", "propagate": True}
|
||||
"django.request": {
|
||||
"handlers": ["mail_admins"],
|
||||
"level": "ERROR",
|
||||
"propagate": True
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
#
|
||||
## WebVirtCloud settings
|
||||
# WebVirtCloud settings
|
||||
#
|
||||
|
||||
# Websock port
|
||||
|
||||
Reference in New Issue
Block a user