init
This commit is contained in:
12
flatpages/views.py
Normal file
12
flatpages/views.py
Normal file
@@ -0,0 +1,12 @@
|
||||
from django.shortcuts import render
|
||||
from django.http import HttpResponse
|
||||
from django.shortcuts import render
|
||||
from django import template
|
||||
|
||||
# Create your views here.
|
||||
|
||||
def hello(request):
|
||||
return HttpResponse('Привет, Мир!')
|
||||
|
||||
def home(request):
|
||||
return render(request, 'templates/static_handler.html')
|
||||
Reference in New Issue
Block a user