You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
530 B

  1. from django.contrib import admin
  2. from .models import Project, HonoraryCertificate, Library, IFG, Travel,\
  3. Email, BusinessCard, List
  4. @admin.register(Project)
  5. class ProjectAdmin(admin.ModelAdmin):
  6. save_as = True
  7. readonly_fields = ('pid',)
  8. admin.site.register([
  9. HonoraryCertificate,
  10. Library,
  11. IFG,
  12. Travel,
  13. Email,
  14. BusinessCard,
  15. List
  16. ])