File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 1
- from django .conf .urls import patterns , url , include
1
+ from django .conf .urls import url , include
2
2
from django .views .generic import TemplateView
3
3
from . import django_urls
4
4
11
11
class FacebookLogin (SocialLoginView ):
12
12
adapter_class = FacebookOAuth2Adapter
13
13
14
- urlpatterns += patterns (
15
- '' ,
14
+ urlpatterns += [
16
15
url (r'^rest-registration/' , include ('rest_auth.registration.urls' )),
17
16
url (r'^test-admin/' , include (django_urls )),
18
17
url (r'^account-email-verification-sent/$' , TemplateView .as_view (),
@@ -21,4 +20,4 @@ class FacebookLogin(SocialLoginView):
21
20
name = 'account_confirm_email' ),
22
21
url (r'^social-login/facebook/$' , FacebookLogin .as_view (), name = 'fb_login' ),
23
22
url (r'^accounts/' , include ('allauth.socialaccount.urls' ))
24
- )
23
+ ]
You can’t perform that action at this time.
0 commit comments