Skip to content

Commit

Permalink
Using rest auth
Browse files Browse the repository at this point in the history
  • Loading branch information
br80 committed Dec 5, 2018
1 parent 495dc42 commit f770453
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 52 deletions.
7 changes: 2 additions & 5 deletions api/urls.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
from django.urls import include, path
from django.conf.urls import url
from . import views

urlpatterns = [
url('registration', views.register),
url('login', views.login),
# path('', include('rest_auth.urls')),
# path('registration/', include('rest_auth.registration.urls')),
path('', include('rest_auth.urls')),
path('registration/', include('rest_auth.registration.urls')),
]
47 changes: 0 additions & 47 deletions api/views.py

This file was deleted.

0 comments on commit f770453

Please sign in to comment.