Django
This commit is contained in:
9
apps/pages/views.py
Normal file
9
apps/pages/views.py
Normal file
@@ -0,0 +1,9 @@
|
||||
from django.shortcuts import render
|
||||
from django.http import HttpResponse
|
||||
|
||||
# Create your views here.
|
||||
|
||||
def index(request):
|
||||
|
||||
# Page from the theme
|
||||
return render(request, 'pages/index.html', {'segment': 'dashboard'})
|
||||
Reference in New Issue
Block a user