Files
Project_WEB/cleaning/urls.py
T
Dmitry 97591a71ea Add initial Django project structure with cleaning app
- Created .gitignore to exclude Python-generated files and virtual environments.
- Added .python-version to specify Python version 3.13.
- Implemented models for Client, Brigade, Service, Order, and CompletedWork.
- Created Django admin configurations for managing models.
- Added management command to seed the database with test data.
- Created initial migrations for the models.
- Developed views and templates for listing and detailing orders, clients, and brigades.
- Set up URL routing for the cleaning app.
- Configured Django settings and WSGI/ASGI entry points.
- Added basic test structure in tests.py.
- Included project metadata in pyproject.toml and uv.lock.
2026-05-16 16:09:37 +03:00

14 lines
422 B
Python

from django.urls import path
from . import views
app_name = 'cleaning'
urlpatterns = [
path('', views.index, name='index'),
path('orders/', views.order_list, name='order_list'),
path('order/<int:order_id>/', views.order_detail, name='order_detail'),
path('brigades/<int:pk>/', views.brigade_detail, name='brigade_detail'),
path('clients/<int:pk>/', views.client_detail, name='client_detail'),
]