diff options
author | jdlugosz963 <jdlugosz963@gmail.com> | 2023-07-17 01:47:57 +0200 |
---|---|---|
committer | jdlugosz963 <jdlugosz963@gmail.com> | 2023-07-17 01:52:26 +0200 |
commit | c21f4b3dacd597a15a5ec39d525df1dfe1b70376 (patch) | |
tree | 0dfc51d2ffeb7b5022d9ad852f2fd3620c72196a /restaurant_orders/settings/urls.py | |
parent | 2c6f98aeef4fa1aba5678fe17c8e762a11db7b40 (diff) | |
download | restaurant-orders-main.tar.gz restaurant-orders-main.zip |
Add project.main
Diffstat (limited to 'restaurant_orders/settings/urls.py')
-rw-r--r-- | restaurant_orders/settings/urls.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/restaurant_orders/settings/urls.py b/restaurant_orders/settings/urls.py new file mode 100644 index 0000000..294ea14 --- /dev/null +++ b/restaurant_orders/settings/urls.py | |||
@@ -0,0 +1,9 @@ | |||
1 | from django.urls import path | ||
2 | from settings.views import Home, RestaurantSettings | ||
3 | |||
4 | app_name = 'settings' | ||
5 | |||
6 | urlpatterns = [ | ||
7 | path('', Home.as_view(), name='home'), | ||
8 | path('restaurant/<int:pk>', RestaurantSettings.as_view(), name='restaurant_settings') | ||
9 | ] | ||