добавил видимость других страниц

This commit is contained in:
KessPen
2024-04-18 11:43:30 +07:00
parent df6620bfd9
commit a39f16ec14

View File

@@ -15,10 +15,10 @@ Including another URLconf
2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))
"""
from django.contrib import admin
from django.urls import path
from SusMarketBackend import views
from django.urls import path, re_path
from django.views.generic import TemplateView
urlpatterns = [
path('admin/', admin.site.urls),
path('', views.index, name='index')
re_path('^.*$', TemplateView.as_view(template_name='index.html'))
]