Skip to content

Commit

Permalink
commit
Browse files Browse the repository at this point in the history
  • Loading branch information
mexmonjonovuz committed Oct 25, 2024
1 parent 9978a48 commit 8794a0e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
11 changes: 6 additions & 5 deletions apps/urls.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
from django.urls import path, re_path
from django.views.generic import TemplateView

from .views import MainBaseView, UserLoginView, UserLogautView, ProductOrStreamDetailView, \
from apps.views import MainBaseView, UserLoginView, UserLogautView, ProductOrStreamDetailView, \
ProductListByCategoryListView, \
TransactionCreateView, HeaderSearchView, FavoriteView, FavouriteListView, OrderListView, \
UserChangeImageView, UserSettingsView, UserChangePasswordView, CreatedSuccessOrderedView, DiagramView, \
DistrictListView, CompetitionListView, CoinsView, StreamListView, StreamCreateView, StatisticView, \
ProductStatisticView, MarketView, InquiriesView, OperatorDetailView, OperatorOrderListView
from .views.auth_views import OperatorCreateOrderView, CurrierOrderListView, CurrierOrderView, CurrierOrderView12
from apps.views.auth_views import OperatorCreateOrderView, CurrierOrderListView, CurrierListView, \
CurrierOrderDetailView

urlpatterns = [
path('', MainBaseView.as_view(), name='main_base'),
Expand Down Expand Up @@ -56,7 +57,7 @@
path('operator/detail/<int:pk>/', OperatorDetailView.as_view(), name='operator_detail'),

# Currier page
path('currier-page/', CurrierOrderListView.as_view(), name='currier_page'),
path('currier-page/detail/', CurrierOrderView.as_view(), name='currier_detail_page'),
path('currier-page/detail/1/', CurrierOrderView12.as_view(), name='currier_detail12_page')
path('currier-page/', CurrierOrderListView.as_view(), name='currier_order_page'),
path('currier-page/detail/', CurrierOrderDetailView.as_view(), name='currier_detail_page'),
path('currier-page/', CurrierListView.as_view(), name='currier_page')
]
5 changes: 2 additions & 3 deletions apps/views/auth_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,10 +134,9 @@ class CurrierOrderListView(TemplateView):
template_name = 'apps/couriers/currier_order_list.html'


class CurrierOrderView(TemplateView):
class CurrierOrderDetailView(TemplateView):
template_name = 'apps/couriers/currier_detail.html'



class CurrierListView(TemplateView):
template_name = 'apps/couriers/currier_list.html'
template_name = 'apps/couriers/currier_list.html'

0 comments on commit 8794a0e

Please sign in to comment.