From 908c91c967a925faed123a5a183537264d75e3ac Mon Sep 17 00:00:00 2001 From: Alexis Koralewski Date: Thu, 20 Jul 2023 16:02:36 +0200 Subject: [PATCH] fix settings & admins.py --- src/core/pyros_django/dashboard/admin.py | 70 +++++++++++++++++++++++++++++++++++----------------------------------- src/core/pyros_django/pyros/settings.py | 1 - 2 files changed, 35 insertions(+), 36 deletions(-) diff --git a/src/core/pyros_django/dashboard/admin.py b/src/core/pyros_django/dashboard/admin.py index d78acd5..dfd0c87 100644 --- a/src/core/pyros_django/dashboard/admin.py +++ b/src/core/pyros_django/dashboard/admin.py @@ -259,38 +259,38 @@ class AlbumAdmin(PyrosModelAdmin): # Link the models to the admin interface # (EP added 10/7/19) -admin.site.register(AgentCmd) -admin.site.register(AgentLogs) -admin.site.register(AgentSurvey) -admin.site.register(AgentDeviceStatus) - - -admin.site.register(Album, AlbumAdmin) -#admin.site.register(Alert) -admin.site.register(Country, CountryAdmin) -admin.site.register(Detector, DetectorAdmin) -admin.site.register(Filter, FilterAdmin) -admin.site.register(FilterWheel, FilterWheelAdmin) -admin.site.register(Image) -admin.site.register(Log) -#admin.site.register(NrtAnalysis, NrtAnalysisAdmin) -admin.site.register(Plan, PlanAdmin) -#admin.site.register(Request, RequestAdmin) -admin.site.register(Schedule, ScheduleAdmin) -admin.site.register(ScheduleHasSequences) -admin.site.register(ScientificProgram, ScientificProgramAdmin) -admin.site.register(Sequence, SequenceAdmin) -admin.site.register(SiteWatch) -admin.site.register(SiteWatchHistory) -#admin.site.register(StrategyObs, StrategyObsAdmin) -##admin.site.register(TaskId) -admin.site.register(Telescope, TelescopeAdmin) -admin.site.register(PyrosUser, PyrosUserAdmin) -admin.site.register(UserLevel, UserLevelAdmin) -admin.site.register(Version) -admin.site.register(WeatherWatch) -admin.site.register(WeatherWatchHistory) -admin.site.register(PlcDeviceStatus) -admin.site.register(PlcDevice) -admin.site.register(Config) -admin.site.register(Institute) \ No newline at end of file +# #admin.site.register(AgentCmd) +# admin.site.register(AgentLogs) +# admin.site.register(AgentSurvey) +# admin.site.register(AgentDeviceStatus) + + +# admin.site.register(Album, AlbumAdmin) +# #admin.site.register(Alert) +# admin.site.register(Country, CountryAdmin) +# admin.site.register(Detector, DetectorAdmin) +# admin.site.register(Filter, FilterAdmin) +# admin.site.register(FilterWheel, FilterWheelAdmin) +# admin.site.register(Image) +# admin.site.register(Log) +# #admin.site.register(NrtAnalysis, NrtAnalysisAdmin) +# admin.site.register(Plan, PlanAdmin) +# #admin.site.register(Request, RequestAdmin) +# admin.site.register(Schedule, ScheduleAdmin) +# admin.site.register(ScheduleHasSequences) +# admin.site.register(ScientificProgram, ScientificProgramAdmin) +# admin.site.register(Sequence, SequenceAdmin) +# admin.site.register(SiteWatch) +# admin.site.register(SiteWatchHistory) +# #admin.site.register(StrategyObs, StrategyObsAdmin) +# ##admin.site.register(TaskId) +# admin.site.register(Telescope, TelescopeAdmin) +# admin.site.register(PyrosUser, PyrosUserAdmin) +# admin.site.register(UserLevel, UserLevelAdmin) +# admin.site.register(Version) +# admin.site.register(WeatherWatch) +# admin.site.register(WeatherWatchHistory) +# admin.site.register(PlcDeviceStatus) +# admin.site.register(PlcDevice) +# admin.site.register(Config) +# admin.site.register(Institute) \ No newline at end of file diff --git a/src/core/pyros_django/pyros/settings.py b/src/core/pyros_django/pyros/settings.py index 772668f..90165e7 100644 --- a/src/core/pyros_django/pyros/settings.py +++ b/src/core/pyros_django/pyros/settings.py @@ -221,7 +221,6 @@ INSTALLED_APPS = [ 'seq_submit', 'scheduling', 'alert_mgmt', - 'analyzer', 'majordome', 'env_monitor', 'observation_manager', -- libgit2 0.21.2