Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Carlton Gibson
committed
Sep 4, 2015
1 parent
20cd2a6
commit 16aec47
Showing
8 changed files
with
34 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
from django.conf.urls import patterns, url | ||
from django.conf.urls import url | ||
|
||
from . import views | ||
|
||
urlpatterns = patterns('', | ||
url('^openid/login/$', views.login, | ||
name="openid_login"), | ||
url('^openid/callback/$', views.callback, | ||
name='openid_callback'), | ||
) | ||
urlpatterns = [ | ||
url('^openid/login/$', views.login, | ||
name="openid_login"), | ||
url('^openid/callback/$', views.callback, | ||
name='openid_callback'), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
from django.conf.urls import patterns, url | ||
from django.conf.urls import url | ||
|
||
from . import views | ||
|
||
urlpatterns = patterns('', | ||
url('^persona/login/$', | ||
views.persona_login, | ||
name="persona_login")) | ||
urlpatterns = [ | ||
url('^persona/login/$', views.persona_login, name="persona_login") | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
from django.conf.urls import patterns, url | ||
from django.conf.urls import url | ||
|
||
from . import views | ||
|
||
urlpatterns = patterns( | ||
'', | ||
urlpatterns = [ | ||
url('^login/cancelled/$', views.login_cancelled, | ||
name='socialaccount_login_cancelled'), | ||
url('^login/error/$', views.login_error, name='socialaccount_login_error'), | ||
url('^signup/$', views.signup, name='socialaccount_signup'), | ||
url('^connections/$', views.connections, name='socialaccount_connections')) | ||
url('^connections/$', views.connections, name='socialaccount_connections') | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
from django.conf.urls import patterns, include, url | ||
from django.conf.urls import include, url | ||
from django.contrib import admin | ||
from django.views.generic.base import TemplateView | ||
admin.autodiscover() | ||
|
||
urlpatterns = patterns('', | ||
(r'^accounts/', include('allauth.urls')), | ||
url(r'^$', TemplateView.as_view(template_name='index.html')), | ||
url(r'^accounts/profile/$', TemplateView.as_view(template_name='profile.html')), | ||
url(r'^admin/', include(admin.site.urls)), | ||
) | ||
urlpatterns = [ | ||
url(r'^accounts/', include('allauth.urls')), | ||
url(r'^$', TemplateView.as_view(template_name='index.html')), | ||
url(r'^accounts/profile/$', TemplateView.as_view(template_name='profile.html')), | ||
url(r'^admin/', include(admin.site.urls)), | ||
] |