Initial Commit
This commit is contained in:
14
app/views.py
Normal file
14
app/views.py
Normal file
@@ -0,0 +1,14 @@
|
||||
from django.shortcuts import render
|
||||
from django.utils.translation import gettext as _
|
||||
from django.conf import settings
|
||||
|
||||
|
||||
# Create your views here.
|
||||
|
||||
|
||||
def home(request):
|
||||
return render(request, 'home.html', {
|
||||
'title': _('Home'),
|
||||
'app_name': settings.APP_NAME,
|
||||
'app_description_text': get_setting('app_description_text'),
|
||||
})
|
||||
Reference in New Issue
Block a user