Начал доводить шаблоны под единый стиль
This commit is contained in:
10
music_storage/core/urls.py
Normal file
10
music_storage/core/urls.py
Normal file
@@ -0,0 +1,10 @@
|
||||
from django.urls import path
|
||||
|
||||
from core.views import index
|
||||
|
||||
|
||||
app_name = "index"
|
||||
|
||||
urlpatterns = [
|
||||
path("", index, name="main_index"),
|
||||
]
|
||||
@@ -1,3 +1,5 @@
|
||||
from django.shortcuts import render
|
||||
|
||||
# Create your views here.
|
||||
|
||||
def index(request, *args, **kwargs):
|
||||
return render(request, "index.html")
|
||||
|
||||
Reference in New Issue
Block a user