diff --git a/apis_ontology/settings.py b/apis_ontology/settings.py index d0175ad..42d798d 100644 --- a/apis_ontology/settings.py +++ b/apis_ontology/settings.py @@ -165,320 +165,4 @@ # Use APIS_ENTITIES to configure display settings and functionality for # individual fields of any entity class in models.py. -APIS_ENTITIES = { - "E1_Crm_Entity": { - "search": ["id", "name"], - "form_order": ["name", "description"], - "table_fields": ["id", "name", "source"], - "list_filters": { - "name": {"method": "name_label_filter"}, - "source": {}, - "collection": {}, - }, - }, - "Work": { - "search": [ - "name", - "subtitle", - "siglum", - "progress_status", - "language", - "summary", - "context", - "historical_events", - "text_analysis", - ], - "form_order": [ - "name", - "subtitle", - "progress_status", - "siglum", - "language", - "summary", - "context", - "historical_events", - "text_analysis", - "temporal_order", - "temporal_duration", - "temporal_frequency", - "figure_speech", - "representation_of_thought", - "focalization", - "narrative_situation", - "narrative_chronology", - "narrative_level", - "narrative_voice", - ], - "table_fields": ["name", "siglum", "progress_status"], - "additional_cols": [ - "subtitle", - "language", - "summary", - "context", - "historical_events", - "text_analysis", - "temporal_order", - "temporal_duration", - "temporal_frequency", - "figure_speech", - "representation_of_thought", - "focalization", - "narrative_situation", - "narrative_chronology", - "narrative_level", - "narrative_voice", - ], - "list_filters": { - "name": {"method": "name_label_filter"}, - "subtitle": {"method": "name_label_filter"}, - "siglum": {"method": "name_label_filter"}, - "progress_status": {}, - "language": {}, - "summary": {"method": "name_label_filter"}, - "context": {}, - "historical_events": {}, - "text_analysis": {"method": "name_label_filter"}, - "temporal_order": {}, - "temporal_duration": {}, - "temporal_frequency": {}, - "figure_speech": {}, - "representation_of_thought": {}, - "focalization": {}, - "narrative_situation": {}, - "narrative_chronology": {}, - "narrative_level": {}, - "narrative_voice": {}, - }, - }, - "Expression": { - "search": [ - "name", - "progress_status", - "description", - "manifestation_type", - "language", - ], - "form_order": [ - "name", - "progress_status", - "description", - "manifestation_type", - "year_of_publication", - "page_count", - "relevant_page_range_start", - "relevant_page_range_end", - "language", - ], - "table_fields": [ - "name", - "progress_status", - "manifestation_type", - "year_of_publication", - ], - "additional_cols": [ - "description", - "page_count", - "language", - ], - "list_filters": { - "name": {"method": "name_label_filter"}, - "progress_status": {}, - "manifestation_type": {}, - "year_of_publication": {"method": "name_label_filter"}, - "description": {"method": "name_label_filter"}, - "language": {}, - }, - }, - "PhysicalObject": { - "search": ["name", "description"], - "form_order": ["name", "description"], - "table_fields": ["name"], - "additional_cols": ["description"], - "list_filters": { - "name": {"method": "name_label_filter"}, - "description": {"method": "name_label_filter"}, - }, - }, - "Type": { - "search": ["name", "name_plural"], - "form_order": ["name", "name_plural"], - "table_fields": ["name"], - "additional_cols": ["name_plural"], - "list_filters": { - "name": {"method": "name_label_filter"}, - "name_plural": {"method": "name_label_filter"}, - }, - }, - "Person": { - "search": [ - "name", - "first_name", - "last_name", - "progress_status", - "alternative_name", - "description", - ], - "form_order": [ - "name", - "first_name", - "last_name", - "progress_status", - "alternative_name", - "description", - ], - "table_fields": [ - "name", - "last_name", - "first_name", - "alternative_name", - "progress_status", - ], - "list_filters": { - "name": {"method": "name_label_filter"}, - "last_name": {"method": "name_label_filter"}, - "first_name": {"method": "name_label_filter"}, - "alternative_name": {"method": "name_label_filter"}, - "progress_status": {}, - "description": {"method": "name_label_filter"}, - }, - }, - "Organisation": { - "search": [ - "name", - "alternative_name", - "progress_status", - "description", - "website", - ], - "form_order": [ - "name", - "alternative_name", - "progress_status", - "description", - "website", - ], - "table_fields": [ - "name", - "alternative_name", - "progress_status", - ], - "additional_cols": ["description", "website"], - "list_filters": { - "name": {"method": "name_label_filter"}, - "alternative_name": {"method": "name_label_filter"}, - "progress_status": {}, - "description": {"method": "name_label_filter"}, - "website": {}, - }, - }, - "Character": { - "search": [ - "name", - "relevancy", - "fictionality", - "progress_status", - "description", - ], - "form_order": [ - "name", - "relevancy", - "fictionality", - "progress_status", - "description", - ], - "table_fields": ["name", "relevancy", "fictionality", "progress_status"], - "additional_cols": ["id", "description"], - "list_filters": { - "name": {"method": "name_label_filter"}, - "relevancy": {}, - "fictionality": {}, - "progress_status": {}, - "description": {"method": "name_label_filter"}, - }, - }, - "MetaCharacter": { - "search": ["name", "progress_status", "description"], - "form_order": ["name", "progress_status", "description"], - "table_fields": ["name", "progress_status"], - "additional_cols": ["description"], - "list_filters": { - "name": {"method": "name_label_filter"}, - "progress_status": {}, - "description": {"method": "name_label_filter"}, - }, - }, - "Concept": { - "search": [ - "name", - "alternative_names", - "progress_status", - "description", - ], - "form_order": [ - "name", - "alternative_names", - "progress_status", - "description", - ], - "table_fields": [ - "name", - "alternative_names", - "progress_status", - ], - "additional_cols": ["description"], - "list_filters": { - "name": {"method": "name_label_filter"}, - "alternative_names": {"method": "name_label_filter"}, - "progress_status": {}, - "description": {"method": "name_label_filter"}, - }, - }, - "Place": { - "search": [ - "name", - "progress_status", - "description", - "lat", - "lng", - ], - "form_order": [ - "name", - "progress_status", - "description", - "lat", - "lng", - ], - "table_fields": ["name", "progress_status"], - "additional_cols": ["description", "lat", "lng"], - "list_filters": { - "name": {"method": "name_label_filter"}, - "progress_status": {}, - "description": {"method": "name_label_filter"}, - "lat": {}, - "lng": {}, - }, - }, - "Interpretatem": { - "search": ["name", "progress_status", "description"], - "form_order": ["name", "progress_status", "description"], - "table_fields": ["name", "progress_status"], - "additional_cols": ["description"], - "list_filters": { - "name": {"method": "name_label_filter"}, - "progress_status": {}, - "description": {"method": "name_label_filter"}, - }, - }, - "Archive": { - "search": ["name", "description", "website", "location"], - "form_order": ["name", "description", "website", "location"], - "table_fields": ["name", "website"], - "additional_cols": ["description", "location"], - "list_filters": { - "name": {"method": "name_label_filter"}, - "description": {"method": "name_label_filter"}, - "website": {}, - "location": {}, - }, - }, -} +APIS_ENTITIES = {}