"genitive",
"gender",
"nationality",
- ("date_of_birth", "year_of_birth", "year_of_birth_inexact", "year_of_birth_range", "place_of_birth"),
- ("date_of_death", "year_of_death", "year_of_death_inexact", "year_of_death_range", "place_of_death"),
+ (
+ "date_of_birth",
+ "year_of_birth",
+ "year_of_birth_inexact",
+ "year_of_birth_range",
+ "century_of_birth",
+ "place_of_birth"
+ ),
+ (
+ "date_of_death",
+ "year_of_death",
+ "year_of_death_inexact",
+ "year_of_death_range",
+ "century_of_death",
+ "place_of_death"
+ ),
("description", "description_preview"),
"status",
"collections",
"estimate_source",
"document_book__project",
+ "audience",
"first_publication_year",
"monthly_views_page",
@admin.register(models.Place)
class PlaceAdmin(WikidataAdminMixin, TabbedTranslationAdmin):
search_fields = ['name']
+
+
+@admin.register(models.Thema)
+class ThemaAdmin(admin.ModelAdmin):
+ list_display = ['code', 'name', 'usable', 'hidden']
+ list_filter = ['usable', 'hidden']
+ search_fields = ['code', 'name', 'description']