From 1edb781a250164cce7f94f44fd2b4514c7637b64 Mon Sep 17 00:00:00 2001 From: "Andrey K. Choi" Date: Sun, 23 Nov 2025 21:36:12 +0900 Subject: [PATCH] fix: Resolve URL routing issues and add favicon - Fixed URL name from 'about_view' to 'about' to match template usage - Added inline SVG favicon to avoid 404 errors - All pages now load without NoReverseMatch errors - Modern design is fully functional --- smartsoltech/static/assets/img/favicon.ico | 2 ++ smartsoltech/web/templates/web/base_modern.html | 2 +- smartsoltech/web/urls.py | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 smartsoltech/static/assets/img/favicon.ico diff --git a/smartsoltech/static/assets/img/favicon.ico b/smartsoltech/static/assets/img/favicon.ico new file mode 100644 index 0000000..966e256 --- /dev/null +++ b/smartsoltech/static/assets/img/favicon.ico @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/smartsoltech/web/templates/web/base_modern.html b/smartsoltech/web/templates/web/base_modern.html index 249cfe4..4e68c39 100644 --- a/smartsoltech/web/templates/web/base_modern.html +++ b/smartsoltech/web/templates/web/base_modern.html @@ -29,7 +29,7 @@ - + > {% block title %}SmartSolTech - Современные IT-решения{% endblock %} diff --git a/smartsoltech/web/urls.py b/smartsoltech/web/urls.py index 20a3747..767cacb 100644 --- a/smartsoltech/web/urls.py +++ b/smartsoltech/web/urls.py @@ -12,7 +12,7 @@ urlpatterns = [ path('blog//', views.blog_post_detail, name='blog_post_detail'), path('services/', views.services_view, name='services'), # path('create_order//', views.create_order, name='create_order'), - path('about/', views.about_view, name="about_view"), + path('about/', views.about_view, name="about"), path('service/generate_qr_code//', views.generate_qr_code, name='generate_qr_code'), path('service/request_status//', views.request_status, name='request_status'), path('service/request//', views.create_service_request, name='create_service_request'),