Remove social connections page and restrict email settings to non-OAuth users
This commit is contained in:
parent
997fd760d2
commit
28f279a4ab
5 changed files with 13 additions and 69 deletions
|
|
@ -17,12 +17,13 @@ from django.views.i18n import JavaScriptCatalog
|
|||
if settings.DEBUG:
|
||||
from debug_toolbar.toolbar import debug_toolbar_urls
|
||||
|
||||
from .views import IndexView, MediaAccess
|
||||
from .views import EmailView, IndexView, MediaAccess
|
||||
|
||||
urlpatterns = [
|
||||
path("select2/", include("django_select2.urls")),
|
||||
path("", IndexView.as_view(), name="index"),
|
||||
path("", include("photologue.urls", namespace="photologue")),
|
||||
path("accounts/email/", EmailView.as_view(), name="account_email"),
|
||||
path("accounts/", include("allauth.urls")),
|
||||
path("accounts/", include("allauth_oauth.urls")),
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue