Commit 45dc14d7 authored by Virgílio N Santos's avatar Virgílio N Santos
Browse files

project: update social plugins config and requirements

parent 9c2bf35e
...@@ -38,6 +38,8 @@ DJANGO_APPS = [ ...@@ -38,6 +38,8 @@ DJANGO_APPS = [
'django.contrib.messages', 'django.contrib.messages',
'django.contrib.staticfiles', 'django.contrib.staticfiles',
# needed for allauth templates
'crispy_forms',
# Useful template tags: # Useful template tags:
# 'django.contrib.humanize', # 'django.contrib.humanize',
...@@ -188,6 +190,9 @@ TEMPLATES = [ ...@@ -188,6 +190,9 @@ TEMPLATES = [
}, },
] ]
# See: http://django-crispy-forms.readthedocs.io/en/latest/install.html#template-packs
CRISPY_TEMPLATE_PACK = 'bootstrap4'
# STATIC FILE CONFIGURATION # STATIC FILE CONFIGURATION
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------
# See: https://docs.djangoproject.com/en/dev/ref/settings/#static-root # See: https://docs.djangoproject.com/en/dev/ref/settings/#static-root
...@@ -304,7 +309,7 @@ SOCIALACCOUNT_PROVIDERS = { ...@@ -304,7 +309,7 @@ SOCIALACCOUNT_PROVIDERS = {
], ],
'EXCHANGE_TOKEN': True, 'EXCHANGE_TOKEN': True,
'VERIFIED_EMAIL': False, 'VERIFIED_EMAIL': False,
'VERSION': 'v2.10', 'VERSION': 'v2.12',
} }
} }
......
...@@ -40,7 +40,7 @@ redis>=2.10.5 ...@@ -40,7 +40,7 @@ redis>=2.10.5
django-filter==1.0.2 django-filter==1.0.2
djangorestframework==3.7.1 djangorestframework==3.7.1
django-rest-auth[with_social]==0.9.1 django-rest-auth[with_social]==0.9.3
django-cors-headers==1.2.0 django-cors-headers==1.2.0
# libs needed by django-rest-framework api auto documentations # libs needed by django-rest-framework api auto documentations
...@@ -48,5 +48,6 @@ coreapi==2.3.3 ...@@ -48,5 +48,6 @@ coreapi==2.3.3
coreapi-cli==1.0.6 coreapi-cli==1.0.6
pygments==2.2.0 pygments==2.2.0
markdown==2.6.9 markdown==2.6.9
django-crispy-forms==1.7.2
django-autoslug==1.9.3 django-autoslug==1.9.3
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment