[paperwork] Remove separate Certification Versions admin page

This commit is contained in:
Adam Goldsmith 2022-11-07 11:31:44 -05:00
parent 928886eb4e
commit c7cfbcf20f

View File

@ -19,13 +19,6 @@ class CertificationVersionInline(admin.TabularInline):
extra = 1 extra = 1
@admin.register(CertificationVersion)
class CertificationVersionAdmin(admin.ModelAdmin):
search_fields = ["definition__certification_name", "version"]
list_display = ["definition", "version"]
list_filter = ["definition__department", "definition__certification_name"]
@admin.register(CertificationDefinition) @admin.register(CertificationDefinition)
class CertificationDefinitionAdmin(admin.ModelAdmin): class CertificationDefinitionAdmin(admin.ModelAdmin):
search_fields = ["certification_name"] search_fields = ["certification_name"]