fix: extracted all web related stuff to a new app

This commit is contained in:
2024-11-23 20:46:14 +01:00
parent 66e24e48b2
commit 9608e283dd
24 changed files with 108 additions and 38 deletions
+1 -7
View File
@@ -1,12 +1,6 @@
from django.urls import path
from shop.views import index, list_products, product_detail
app_name = "shop"
urlpatterns = [
path("", index, name="index"),
path("products/<int:pk>/<str:slug>/", product_detail, name="product_detail"),
path("shop/components/products/", list_products, name="list_products"),
]
urlpatterns = []