from django.conf.urls import include, url
from views import *
from rest_framework_jwt.views import obtain_jwt_token, refresh_jwt_token, verify_jwt_token

urlpatterns = [
    url(r'^login/', obtain_jwt_token),
    url(r'^token-refresh/', refresh_jwt_token),
    url(r'^token-verify/', verify_jwt_token),
    url(r'^register/$', UserRegister.as_view()),
    url(r'^rest-auth/facebook/$', FacebookLogin.as_view(), name='fb_login'),
    url(r'^rest-auth/twitter/$', TwitterLogin.as_view(), name='twitter_login'),
]
@@ -349,162 +349,5 @@
 )),%0A
-    url(r'%5Erest-auth/facebook/$', FacebookLogin.as_view(), name='fb_login'),%0A    url(r'%5Erest-auth/twitter/$', TwitterLogin.as_view(), name='twitter_login'),%0A
 %5D

Remove rest-auth urls settings coz it is nolonger used