forked from CoderDojoBrianza/CoderDojo-Mobile-Toolbox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
admin.py
37 lines (25 loc) · 1014 Bytes
/
admin.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
from django.contrib import admin
# Register your models here.
from . import models
class LibroOption(admin.ModelAdmin):
list_display = ('titolo', 'autore', 'genere', 'livello', 'posizione')
class LiberatoriaOption(admin.ModelAdmin):
list_display = ('cognome', 'nome', 'consegnata', 'data_di_consegna')
admin.site.register(models.Genere)
admin.site.register(models.Autore)
admin.site.register(models.Libro)
admin.site.register(models.Liberatoria)
admin.site.register(models.Sprite)
admin.site.register(models.SpriteCategory)
admin.site.register(models.SpriteImages)
admin.site.register(models.LearningMaterial)
admin.site.register(models.Event)
admin.site.register(models.Participant)
admin.site.register(models.Ticket)
admin.site.register(models.Rating)
admin.site.register(models.Badge)
admin.site.register(models.OperatingSystem)
admin.site.register(models.SoftwareTool)
admin.site.register(models.LearningTopic)
admin.site.register(models.Waiver)
admin.site.register(models.GenericUserFile)