foerderbarometer/input/admin.py

15 lines
378 B
Python
Raw Normal View History

2020-09-21 12:27:16 +00:00
from django.contrib import admin
# Register your models here.
2020-09-30 12:17:38 +00:00
from .models import Project, HonoraryCertificate, Library, IFG #, ELitStip
2020-09-22 10:21:05 +00:00
2020-10-06 11:17:28 +00:00
@admin.register(Project)
class ProjectAdmin(admin.ModelAdmin):
fields = ('pid',)
readonly_fields = ('pid',)
admin.site.register([HonoraryCertificate,
2020-09-30 12:17:38 +00:00
Library,
IFG,
])