diff --git a/app/general/admin.py b/app/general/admin.py index cca680b6..a91edac3 100644 --- a/app/general/admin.py +++ b/app/general/admin.py @@ -98,7 +98,6 @@ class InstitutionAdmin(SimpleHistoryAdmin): ordering = ["name"] search_fields = ["name"] list_display = ["name"] - inlines = [ProjectAdminInline] history_list_display = ["name", "abbreviation"] diff --git a/app/general/models.py b/app/general/models.py index b523243f..b7dd012c 100644 --- a/app/general/models.py +++ b/app/general/models.py @@ -133,7 +133,7 @@ class DocumentFile(models.Model): verbose_name=_("MIME type"), ) document_type = models.CharField( - max_length=200, choices=document_type_choices, verbose_name=_("document type") + max_length=200, choices=document_type_choices, verbose_name=_("document category") ) document_data = models.TextField(blank=True, verbose_name=_("document data")) institution = models.ForeignKey( @@ -148,8 +148,8 @@ class DocumentFile(models.Model): history = HistoricalRecords(excluded_fields=["document_data", "search_vector"]) class Meta: - verbose_name = _("Document File") - verbose_name_plural = _("Document Files") + verbose_name = _("Document") + verbose_name_plural = _("Documents") indexes = [ GinIndex(fields=["search_vector"]),