mirror of
https://github.com/adrigongv23/G26---Telemetry-Software.git
synced 2026-08-25 19:43:16 +02:00
Inicio del Django y base de datos
This commit is contained in:
parent
57494f02e5
commit
0e0c8d7d1b
66 changed files with 647 additions and 69 deletions
0
Plataform_Web/gestion/__init__.py
Normal file
0
Plataform_Web/gestion/__init__.py
Normal file
BIN
Plataform_Web/gestion/__pycache__/__init__.cpython-314.pyc
Normal file
BIN
Plataform_Web/gestion/__pycache__/__init__.cpython-314.pyc
Normal file
Binary file not shown.
BIN
Plataform_Web/gestion/__pycache__/views.cpython-314.pyc
Normal file
BIN
Plataform_Web/gestion/__pycache__/views.cpython-314.pyc
Normal file
Binary file not shown.
3
Plataform_Web/gestion/admin.py
Normal file
3
Plataform_Web/gestion/admin.py
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
from django.contrib import admin
|
||||
|
||||
# Register your models here.
|
||||
5
Plataform_Web/gestion/apps.py
Normal file
5
Plataform_Web/gestion/apps.py
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
from django.apps import AppConfig
|
||||
|
||||
|
||||
class GestionConfig(AppConfig):
|
||||
name = 'gestion'
|
||||
0
Plataform_Web/gestion/migrations/__init__.py
Normal file
0
Plataform_Web/gestion/migrations/__init__.py
Normal file
3
Plataform_Web/gestion/models.py
Normal file
3
Plataform_Web/gestion/models.py
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
from django.db import models
|
||||
|
||||
# Create your models here.
|
||||
3
Plataform_Web/gestion/tests.py
Normal file
3
Plataform_Web/gestion/tests.py
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
from django.test import TestCase
|
||||
|
||||
# Create your tests here.
|
||||
6
Plataform_Web/gestion/views.py
Normal file
6
Plataform_Web/gestion/views.py
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
from django.shortcuts import render
|
||||
from django.http import HttpResponse
|
||||
|
||||
def home(request):
|
||||
# Esta función es la que decide qué mostrar cuando alguien entra a la web
|
||||
return HttpResponse("<h1>¡Bienvenido a la Plataforma de Gades! 🏎️💨</h1><p>Sistema de Telemetría y Gestión v1.0</p>")
|
||||
Loading…
Add table
Add a link
Reference in a new issue