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 ff98379 commit 997c025
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 2 additions & 3 deletions apps/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
UserChangeImageView, UserSettingsView, UserChangePasswordView, CreatedSuccessOrderedView, DiagramView, \
DistrictListView, CompetitionListView, CoinsView, StreamListView, StreamCreateView, StatisticView, \
ProductStatisticView, MarketView, InquiriesView, OperatorDetailView, OperatorOrderListView
from .views.auth_views import OperatorCreateOrderView, CurrierOrderListView
from .views.auth_views import OperatorCreateOrderView, CurrierOrderListView, CurrierOrderView

urlpatterns = [
path('', MainBaseView.as_view(), name='main_base'),
Expand Down Expand Up @@ -57,6 +57,5 @@

# Currier page
path('currier-page/', CurrierOrderListView.as_view(), name='currier_page'),
path('currier-page/abror/', TemplateView.as_view(template_name='apps/couriers/currier_213.html'),
name='currier_page')
path('currier-page/detail/', CurrierOrderView.as_view(), name='currier_detail_page')
]
4 changes: 4 additions & 0 deletions apps/views/auth_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,3 +132,7 @@ def get_context_data(self, **kwargs):

class CurrierOrderListView(TemplateView):
template_name = 'apps/couriers/currier.html'


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

0 comments on commit 997c025

Please sign in to comment.