urls.py 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. from django.urls import path
  2. '''from .views import *'''
  3. from .views import *
  4. # page_html
  5. urlpatterns = [
  6. # path('', include('django.contrib.flatpages.urls')),
  7. path('', index_html, name='main'),
  8. path('order/', order_html, name='order'),
  9. path('faq/', faq_html, name='faq'),
  10. path('price/', price_html, name='price'),
  11. path('contact/', contact_html, name='contact'),
  12. path('providers-map/', providers_map_html, name='providers_map'),
  13. path('ai-demo/', ai_demo_html, name='ai_demo'),
  14. # pages
  15. path('service_category/<int:pk>', service_category_html, name='service_category'),
  16. path('service/<int:pk>/', service_detail_html, name='landing_service_detail')
  17. # path('clean-car/', page_html, name='clean-car'), - возникала внутренняя ошибка сервера
  18. #path('clean-fit/', page_html, name='clean-fit'),
  19. #path('clean-office/', page_html, name='clean-office'),
  20. #path('clean-tcj/', page_html, name='clean-tcj'),
  21. #path('clean-area/', page_html, name='clean-area'),
  22. #path('clean-facades/', page_html, name='clean-facades'),
  23. #path('clean-apartments/', page_html, name='clean-apartments'),
  24. #path('clean-cottages/', page_html, name='clean-cottages'),
  25. #path('clean-out/', page_html, name='clean-out'),
  26. #path('clean-renovation/', page_html, name='clean-renovation'),
  27. # path('services/<str:page>/', services_html, name="services"),
  28. # path('', views.flatpage, {'url': ''}, name='about'),
  29. # path('test/', views.flatpage, {'url': '/test/'}, name='test'),
  30. ]