Update project, small changes
This commit is contained in:
@@ -19,6 +19,7 @@ from . import views
|
||||
|
||||
urlpatterns = [
|
||||
path('', views.orders_list, name='orders-list'),
|
||||
path('create', views.order_create, name='order-create'),
|
||||
# path('account', views.account, name='account'),
|
||||
# path('account_<str:action>', views.account_action, name='account_action'),
|
||||
#
|
||||
|
@@ -3,3 +3,7 @@ from django.shortcuts import render
|
||||
|
||||
def orders_list(request):
|
||||
return render(request, 'orders/orders-list.html')
|
||||
|
||||
|
||||
def order_create(request):
|
||||
return render(request, 'orders/order-create.html')
|
||||
|
Reference in New Issue
Block a user