Configure registration app
This commit is contained in:
parent
a81f637cf9
commit
99b5bd1ca9
2 changed files with 12 additions and 1 deletions
|
@ -9,8 +9,9 @@ verify_ssl = true
|
||||||
django = "==2.1.5"
|
django = "==2.1.5"
|
||||||
django-cors-headers = "==2.4.0"
|
django-cors-headers = "==2.4.0"
|
||||||
djangorestframework = "==3.8.2"
|
djangorestframework = "==3.8.2"
|
||||||
gunicorn = "==19.6.0"
|
|
||||||
django-rest-auth = "==0.9.3"
|
django-rest-auth = "==0.9.3"
|
||||||
|
django-allauth = "==0.37.1"
|
||||||
|
gunicorn = "==19.6.0"
|
||||||
|
|
||||||
[requires]
|
[requires]
|
||||||
python_version = "3.5"
|
python_version = "3.5"
|
||||||
|
|
|
@ -39,10 +39,14 @@ INSTALLED_APPS = [
|
||||||
'django.contrib.sessions',
|
'django.contrib.sessions',
|
||||||
'django.contrib.messages',
|
'django.contrib.messages',
|
||||||
'django.contrib.staticfiles',
|
'django.contrib.staticfiles',
|
||||||
|
'django.contrib.sites',
|
||||||
# 3rd party
|
# 3rd party
|
||||||
'rest_framework',
|
'rest_framework',
|
||||||
'rest_framework.authtoken',
|
'rest_framework.authtoken',
|
||||||
|
'allauth',
|
||||||
|
'allauth.account',
|
||||||
'rest_auth',
|
'rest_auth',
|
||||||
|
'rest_auth.registration',
|
||||||
'corsheaders',
|
'corsheaders',
|
||||||
# local
|
# local
|
||||||
'users',
|
'users',
|
||||||
|
@ -149,3 +153,9 @@ USE_TZ = True
|
||||||
# https://docs.djangoproject.com/en/2.1/howto/static-files/
|
# https://docs.djangoproject.com/en/2.1/howto/static-files/
|
||||||
|
|
||||||
STATIC_URL = '/static/'
|
STATIC_URL = '/static/'
|
||||||
|
|
||||||
|
# Email Config
|
||||||
|
|
||||||
|
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
|
||||||
|
|
||||||
|
SITE_ID = 1
|
||||||
|
|
Loading…
Reference in a new issue