Carga
Carga
This commit is contained in:
0
principal/__init__.py
Normal file
0
principal/__init__.py
Normal file
BIN
principal/__pycache__/__init__.cpython-310.pyc
Normal file
BIN
principal/__pycache__/__init__.cpython-310.pyc
Normal file
Binary file not shown.
BIN
principal/__pycache__/__init__.cpython-39.pyc
Normal file
BIN
principal/__pycache__/__init__.cpython-39.pyc
Normal file
Binary file not shown.
BIN
principal/__pycache__/admin.cpython-310.pyc
Normal file
BIN
principal/__pycache__/admin.cpython-310.pyc
Normal file
Binary file not shown.
BIN
principal/__pycache__/apps.cpython-310.pyc
Normal file
BIN
principal/__pycache__/apps.cpython-310.pyc
Normal file
Binary file not shown.
BIN
principal/__pycache__/models.cpython-310.pyc
Normal file
BIN
principal/__pycache__/models.cpython-310.pyc
Normal file
Binary file not shown.
BIN
principal/__pycache__/views.cpython-310.pyc
Normal file
BIN
principal/__pycache__/views.cpython-310.pyc
Normal file
Binary file not shown.
BIN
principal/__pycache__/views.cpython-39.pyc
Normal file
BIN
principal/__pycache__/views.cpython-39.pyc
Normal file
Binary file not shown.
3
principal/admin.py
Normal file
3
principal/admin.py
Normal file
@@ -0,0 +1,3 @@
|
||||
from django.contrib import admin
|
||||
|
||||
# Register your models here.
|
||||
6
principal/apps.py
Normal file
6
principal/apps.py
Normal file
@@ -0,0 +1,6 @@
|
||||
from django.apps import AppConfig
|
||||
|
||||
|
||||
class PrincipalConfig(AppConfig):
|
||||
default_auto_field = 'django.db.models.BigAutoField'
|
||||
name = 'principal'
|
||||
0
principal/migrations/__init__.py
Normal file
0
principal/migrations/__init__.py
Normal file
BIN
principal/migrations/__pycache__/__init__.cpython-310.pyc
Normal file
BIN
principal/migrations/__pycache__/__init__.cpython-310.pyc
Normal file
Binary file not shown.
3
principal/models.py
Normal file
3
principal/models.py
Normal file
@@ -0,0 +1,3 @@
|
||||
from django.db import models
|
||||
|
||||
# Create your models here.
|
||||
3
principal/tests.py
Normal file
3
principal/tests.py
Normal file
@@ -0,0 +1,3 @@
|
||||
from django.test import TestCase
|
||||
|
||||
# Create your tests here.
|
||||
9
principal/views.py
Normal file
9
principal/views.py
Normal file
@@ -0,0 +1,9 @@
|
||||
from django.shortcuts import render
|
||||
from fijos.models import AltaSensoresFijos
|
||||
|
||||
|
||||
|
||||
# Create your views here.
|
||||
def inicio(request):
|
||||
menus = AltaSensoresFijos.objects.all()
|
||||
return render(request, 'index.html', {"menus": menus})
|
||||
Reference in New Issue
Block a user