mirror of
https://github.com/yawaflua/SusMarket.git
synced 2025-12-09 20:19:31 +02:00
добавил видимость других страниц
This commit is contained in:
@@ -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'))
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user