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