rest interface for retrieve-create users seed
This commit is contained in:
parent
503e31cc69
commit
200699486a
2 changed files with 47 additions and 1 deletions
|
|
@ -14,7 +14,8 @@ from .views import (
|
|||
LogOut,
|
||||
ResetRequest,
|
||||
UserCreateAPI,
|
||||
ActivateAccount
|
||||
ActivateAccount,
|
||||
SeedRetrieveCreate
|
||||
)
|
||||
|
||||
urlpatterns = [
|
||||
|
|
@ -29,5 +30,6 @@ urlpatterns = [
|
|||
path('reset/<str:user>/<str:token>/', ResetRequest.as_view()),
|
||||
path('activate/<str:user>/<str:pwd>/<str:firstname>/<str:lastname>/<str:email>/<str:token>/', ActivateAccount.as_view()),
|
||||
path('reset/', ResetRequest.as_view(), name="reset"),
|
||||
path('otp/', SeedRetrieveCreate.as_view(), name="seed"),
|
||||
path('', Index.as_view(), name="login_index"),
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue