mirror of
https://github.com/welton89/RRBEC.git
synced 2026-04-05 13:35:42 +00:00
24 lines
589 B
Python
24 lines
589 B
Python
|
|
from django.urls import path
|
|
|
|
from comandas import htmx_views
|
|
from . import views
|
|
|
|
urlpatterns = [
|
|
path('', views.comandas, name='comandas'),
|
|
path('viewcomanda/', views.viewComanda, name='viewcomanda'),
|
|
path('createComanda/', views.createComanda, name='createComanda'),
|
|
|
|
|
|
|
|
]
|
|
|
|
|
|
htmx_urlpatterns = [
|
|
path('listProduct/', htmx_views.listProduct, name='listProduct'),
|
|
path('addProduct<int:product_id>/<int:comanda_id>/', htmx_views.addProduct, name='addProduct'),
|
|
# path('removeProduct/', views.removeProduct, name='removeProduct'),
|
|
|
|
]
|
|
|
|
urlpatterns += htmx_urlpatterns |