18 lines
511 B
Python
18 lines
511 B
Python
from django.contrib import admin
|
|
|
|
from .models import Project, HonoraryCertificate, Library, IFG, Travel,\
|
|
Email, BusinessCard, List
|
|
|
|
@admin.register(Project)
|
|
class ProjectAdmin(admin.ModelAdmin):
|
|
readonly_fields = ('pid',)
|
|
|
|
admin.site.register([
|
|
HonoraryCertificate,
|
|
Library,
|
|
IFG,
|
|
Travel,
|
|
Email,
|
|
BusinessCard,
|
|
List
|
|
])
|