CARGA
CARGA
This commit is contained in:
7
principal/views.py
Normal file
7
principal/views.py
Normal file
@@ -0,0 +1,7 @@
|
||||
from django.shortcuts import render
|
||||
from django.contrib.auth.decorators import login_required
|
||||
|
||||
# Create your views here.
|
||||
@login_required(login_url='/acceder')
|
||||
def inicio(request):
|
||||
return render(request, 'index.html')
|
||||
Reference in New Issue
Block a user