First Commit
This commit is contained in:
commit
ce0758fbbb
496 changed files with 52062 additions and 0 deletions
6
maintenance/views.py
Normal file
6
maintenance/views.py
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
from django.shortcuts import render, get_object_or_404
|
||||
from .models import Informations
|
||||
|
||||
def info(request):
|
||||
message = get_object_or_404(Informations, pk=1)
|
||||
return render(request, 'maintenance/index.html', {'message': message})
|
||||
Loading…
Add table
Add a link
Reference in a new issue