|
|
@ -3,8 +3,12 @@ from django.contrib import admin |
|
|
|
# Register your models here. |
|
|
|
from .models import Project, HonoraryCertificate, Library, IFG #, ELitStip |
|
|
|
|
|
|
|
admin.site.register([Project, |
|
|
|
HonoraryCertificate, |
|
|
|
@admin.register(Project) |
|
|
|
class ProjectAdmin(admin.ModelAdmin): |
|
|
|
fields = ('pid',) |
|
|
|
readonly_fields = ('pid',) |
|
|
|
|
|
|
|
admin.site.register([HonoraryCertificate, |
|
|
|
Library, |
|
|
|
IFG, |
|
|
|
]) |