diff options
Diffstat (limited to 'core/admin.py')
-rw-r--r-- | core/admin.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/admin.py b/core/admin.py index 5f62fbd..375bdc7 100644 --- a/core/admin.py +++ b/core/admin.py @@ -9,6 +9,12 @@ from troggle.core.models import Person, PersonExpedition, Expedition, DataIssue from troggle.core.models_caves import Cave, Area, Entrance, CaveAndEntrance, LogbookEntry, PersonTrip, QM from troggle.core.models_survex import SurvexBlock, SurvexPersonRole, SurvexStation, ScansFolder, SingleScan +'''This code significantly adds to the capabilities of the Django Management control panel for Troggle data. +In particular, it enables JSON export of any data with 'export_as_json' +and configures the search fields to be used within the control panel. + +What is the search path for the css and js inclusions in the Media subclasses though ?! +''' class TroggleModelAdmin(admin.ModelAdmin): |