2020-09-21 14:27:16 +02:00
|
|
|
from django.contrib import admin
|
|
|
|
|
2020-10-27 11:00:58 +01:00
|
|
|
from .models import Project, HonoraryCertificate, Library, IFG, Travel,\
|
|
|
|
Email, BusinessCard, List
|
2020-10-06 14:55:46 +02:00
|
|
|
|
2020-10-06 13:17:28 +02:00
|
|
|
@admin.register(Project)
|
|
|
|
class ProjectAdmin(admin.ModelAdmin):
|
|
|
|
readonly_fields = ('pid',)
|
|
|
|
|
2020-10-06 14:55:46 +02:00
|
|
|
admin.site.register([
|
|
|
|
HonoraryCertificate,
|
2020-09-30 14:17:38 +02:00
|
|
|
Library,
|
|
|
|
IFG,
|
2020-10-26 11:38:56 +01:00
|
|
|
Travel,
|
2020-10-27 11:00:58 +01:00
|
|
|
Email,
|
|
|
|
BusinessCard,
|
|
|
|
List
|
2020-09-30 14:17:38 +02:00
|
|
|
])
|