Created
October 15, 2019 17:32
-
-
Save mitchtabian/67f372592ffd856c467d55c435c29d69 to your computer and use it in GitHub Desktop.
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
from django.urls import path | |
from account.api.views import( | |
registration_view, | |
ObtainAuthTokenView, | |
account_properties_view, | |
update_account_view, | |
does_account_exist_view, | |
ChangePasswordView, | |
) | |
from rest_framework.authtoken.views import obtain_auth_token | |
app_name = 'account' | |
urlpatterns = [ | |
path('check_if_account_exists/', does_account_exist_view, name="check_if_account_exists"), | |
path('change_password/', ChangePasswordView.as_view(), name="change_password"), | |
path('properties', account_properties_view, name="properties"), | |
path('properties/update', update_account_view, name="update"), | |
path('login', ObtainAuthTokenView.as_view(), name="login"), | |
path('register', registration_view, name="register"), | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment