Add django-allauth for registrations
This commit is contained in:
@@ -46,10 +46,14 @@ INSTALLED_APPS = [
|
||||
'django.contrib.sessions',
|
||||
'django.contrib.messages',
|
||||
'django.contrib.staticfiles',
|
||||
'django.contrib.sites',
|
||||
'rest_framework',
|
||||
'rest_framework.authtoken',
|
||||
'apiserver.api',
|
||||
'rest_auth',
|
||||
'allauth',
|
||||
'allauth.account',
|
||||
'rest_auth.registration',
|
||||
]
|
||||
|
||||
MIDDLEWARE = [
|
||||
@@ -203,3 +207,5 @@ LOGGING = {
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
SITE_ID = 1
|
||||
|
||||
Reference in New Issue
Block a user