mirror of
https://github.com/adrigongv23/G26---Telemetry-Software.git
synced 2026-08-25 11:33:17 +02:00
App gestion y pruebas añadidas a la base de datos
This commit is contained in:
parent
0e0c8d7d1b
commit
ec44ae2e46
26 changed files with 209 additions and 3 deletions
8
Plataform_Web/pruebas/admin.py
Normal file
8
Plataform_Web/pruebas/admin.py
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
from django.contrib import admin
|
||||
from .models import TestGeneral
|
||||
|
||||
@admin.register(TestGeneral)
|
||||
class TestGeneralAdmin(admin.ModelAdmin):
|
||||
list_display = ('nombre', 'fecha_inicio', 'fecha_fin', 'categoria', 'temporada')
|
||||
list_filter = ('categoria', 'temporada')
|
||||
search_fields = ('nombre', 'descripcion', 'resultados')
|
||||
Loading…
Add table
Add a link
Reference in a new issue