[paperwork] Remove separate Certification Versions admin page
This commit is contained in:
parent
928886eb4e
commit
c7cfbcf20f
@ -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"]
|
||||||
|
Loading…
Reference in New Issue
Block a user