Skip to content

Commit

Permalink
Merge pull request #16 from Decide-Part-Penyagolosa-1/josgrarom
Browse files Browse the repository at this point in the history
Josgrarom
  • Loading branch information
jesgamlar authored Dec 21, 2021
2 parents 84187ac + 7e978bc commit 470781b
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 13 deletions.
3 changes: 1 addition & 2 deletions decide/authentication/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
path('logout/', LogoutView.as_view()),
path('getuser/', GetUserView.as_view()),
path('register/', RegisterView.as_view()),
path('',TemplateView.as_view(template_name="login.html")),
path('admin/', admin.site.urls),
path('signin/',TemplateView.as_view(template_name="login.html")),
path('accounts/',include('allauth.urls')),
]
9 changes: 0 additions & 9 deletions decide/decide/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,12 +219,3 @@
import django_heroku
django_heroku.settings(locals(),test_runner=False)


AUTHENTICATION_BACKENDS = (
'django.contrib.auth.backends.ModelBackend',
'allauth.account.auth_backends.AuthenticationBackend'
)
SITE_ID = 3

LOGIN_REDIRECT_URL = '/'

2 changes: 0 additions & 2 deletions decide/decide/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@
path('admin/', admin.site.urls),
path('doc/', schema_view),
path('gateway/', include('gateway.urls')),
path('login/',TemplateView.as_view(template_name="login.html")),
path('accounts/',include('allauth.urls')),
]

for module in settings.MODULES:
Expand Down

0 comments on commit 470781b

Please sign in to comment.