2021-07-30 20:52:18 +02:00
|
|
|
from django.urls import path, include
|
|
|
|
from . import views as parts_views
|
|
|
|
|
|
|
|
urlpatterns = [
|
2021-08-07 17:37:36 +02:00
|
|
|
path('', parts_views.MainView.as_view(), name='parts-main'),
|
|
|
|
path('components/', parts_views.ComponentView.as_view(), name='parts-components'),
|
|
|
|
path('stocks/', parts_views.StockView.as_view(), name='parts-stocks'),
|
|
|
|
path('logout/', parts_views.logout_view, name='logout'),
|
|
|
|
path('login/', parts_views.login_view, name='login'),
|
|
|
|
path('stocks/<slug:uuid>', parts_views.StockViewDetail.as_view(), name='parts-stocks-detail'),
|
2021-07-30 20:52:18 +02:00
|
|
|
]
|