Skip to content

Commit

Permalink
add models to django admin
Browse files Browse the repository at this point in the history
  • Loading branch information
nicokant committed Nov 28, 2023
1 parent 8cfb261 commit eb456c5
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions metadata_catalogue/datasets/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,3 +111,43 @@ class LicenseAdmin(admin.ModelAdmin):
"name",
"url",
]


@admin.register(models.PersonIdentifier)
class PersonIdentifierAdmin(admin.ModelAdmin):
pass


@admin.register(models.Organization)
class OrganizationAdmin(admin.ModelAdmin):
pass


@admin.register(models.OrganizationRole)
class OrganizationRoleAdmin(admin.ModelAdmin):
pass


@admin.register(models.Keyword)
class KeywordAdmin(admin.ModelAdmin):
pass


@admin.register(models.Taxonomy)
class TaxonomyAdmin(admin.ModelAdmin):
pass


@admin.register(models.TaxonomyType)
class TaxonomyTypeAdmin(admin.ModelAdmin):
pass


@admin.register(models.MetadataIdentifier)
class MetadataIdentifierAdmin(admin.ModelAdmin):
pass


@admin.register(models.Citation)
class CitationAdmin(admin.ModelAdmin):
pass

0 comments on commit eb456c5

Please sign in to comment.