mirror of
https://github.com/Labelbase/Labelbase.git
synced 2026-08-18 13:09:04 +02:00
.
This commit is contained in:
parent
296887522e
commit
86b9de3d30
1 changed files with 17 additions and 3 deletions
|
|
@ -4,15 +4,31 @@ from django.contrib.auth.views import LogoutView
|
|||
from django.urls import include, path
|
||||
|
||||
from two_factor.urls import urlpatterns as tf_urls
|
||||
|
||||
|
||||
from labelbase import api
|
||||
|
||||
from .views import (
|
||||
ExampleSecretView, LabelbaseView, HomeView, RegistrationCompleteView, RegistrationView
|
||||
)
|
||||
|
||||
from userprofile.views import ProfileView
|
||||
"""
|
||||
from django.urls import path
|
||||
from rest_framework.urlpatterns import format_suffix_patterns
|
||||
|
||||
|
||||
urlpatterns = [
|
||||
#path('api/v1/', api.labelbase),
|
||||
|
||||
]
|
||||
|
||||
urlpatterns = format_suffix_patterns(urlpatterns)
|
||||
|
||||
"""
|
||||
urlpatterns = [
|
||||
|
||||
path('api/v1/labelbase/<int:labelbase_id>/label/<int:id>/', api.label),
|
||||
|
||||
path(
|
||||
'',
|
||||
HomeView.as_view(),
|
||||
|
|
@ -31,8 +47,6 @@ urlpatterns = [
|
|||
name='labelbase',
|
||||
),
|
||||
|
||||
|
||||
|
||||
path(
|
||||
'account/logout/',
|
||||
LogoutView.as_view(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue