admin.py

1
from django.contrib import admin
2
3
4
from .models import *
5
6
# Down here, all models are registered, making them suitable for administration (In essence; making them pop up in the admin interface).
7
8
admin.site.register(Card)
9
admin.site.register(Principle)
10
admin.site.register(Program)
11
admin.site.register(Stack)
12
admin.site.register(Quote)
13
admin.site.register(Hack)
14
admin.site.register(AboutMe)
15
admin.site.register(SecurityMeasure)
16
admin.site.register(Goal)
17