mirror of
https://github.com/jazzband/django-avatar.git
synced 2026-05-17 03:51:07 +00:00
Remove django.contrib.comments and add MIDDLEWARE_CLASSES
This commit is contained in:
parent
b554e65923
commit
3d48f181f9
1 changed files with 10 additions and 1 deletions
|
|
@ -14,10 +14,19 @@ INSTALLED_APPS = [
|
|||
'django.contrib.auth',
|
||||
'django.contrib.contenttypes',
|
||||
'django.contrib.sites',
|
||||
'django.contrib.comments',
|
||||
'avatar',
|
||||
]
|
||||
|
||||
MIDDLEWARE_CLASSES = (
|
||||
"django.middleware.common.BrokenLinkEmailsMiddleware",
|
||||
"django.middleware.common.CommonMiddleware",
|
||||
"django.contrib.sessions.middleware.SessionMiddleware",
|
||||
"django.middleware.csrf.CsrfViewMiddleware",
|
||||
"django.contrib.auth.middleware.AuthenticationMiddleware",
|
||||
"django.contrib.messages.middleware.MessageMiddleware",
|
||||
)
|
||||
|
||||
|
||||
ROOT_URLCONF = 'tests.urls'
|
||||
|
||||
SITE_ID = 1
|
||||
|
|
|
|||
Loading…
Reference in a new issue