mirror of
https://github.com/adrigongv23/G26---Telemetry-Software.git
synced 2026-08-25 11:33:17 +02:00
Frontend: estructuración del directorio y creación del archivo base
This commit is contained in:
parent
73ddffe252
commit
fd1c6250a4
2 changed files with 111 additions and 1 deletions
|
|
@ -1,3 +1,7 @@
|
|||
from django.shortcuts import render
|
||||
from django.contrib.auth.decorators import login_required
|
||||
|
||||
# Create your views here.
|
||||
@login_required # Esto obliga a que el usuario tenga que loguearse antes de ver la web
|
||||
def index(request):
|
||||
# 'request.user' contiene los datos del usuario que está navegando
|
||||
return render(request, 'index.html')
|
||||
Loading…
Add table
Add a link
Reference in a new issue