old_contents: """
      Licensed under the Apache License, Version 2.0 (the "License");
      you may not use this file except in compliance with the License.
      You may obtain a copy of the License at
  
          http://www.apache.org/licenses/LICENSE-2.0
  
      Unless required by applicable law or agreed to in writing, software
      distributed under the License is distributed on an "AS IS" BASIS,
      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
      See the License for the specific language governing permissions and
      limitations under the License.
  """
  from django.contrib import admin
  from .models import ProvinceState, LandDistrict, WellYieldUnit, WellActivityType, WellClass, WellSubclass, IntendedWaterUse, DrillingCompany, Driller, GroundElevationMethod, DrillingMethod
  from .models import SurficialMaterial, BedrockMaterial, BedrockMaterialDescriptor, LithologyStructure, LithologyColour, LithologyHardness, LithologyMoisture
  from .models import CasingType, CasingMaterial, SurfaceSealMaterial, SurfaceSealMethod, LinerMaterial, ScreenIntake, ScreenType, ScreenMaterial, ScreenOpening, ScreenBottom, ScreenAssemblyType
  from .models import FilterPackMaterial, FilterPackMaterialSize, DevelopmentMethod, YieldEstimationMethod, WaterQualityCharacteristic
  # Register your models here.
  admin.site.register(ProvinceState)
  admin.site.register(LandDistrict)
  admin.site.register(WellYieldUnit)
  admin.site.register(WellActivityType)
  admin.site.register(WellClass)
  admin.site.register(WellSubclass)
  admin.site.register(IntendedWaterUse)
  admin.site.register(DrillingCompany)
  admin.site.register(Driller)
  admin.site.register(GroundElevationMethod)
  admin.site.register(DrillingMethod)
  admin.site.register(SurficialMaterial)
  admin.site.register(BedrockMaterial)
  admin.site.register(BedrockMaterialDescriptor)
  admin.site.register(LithologyStructure)
  admin.site.register(LithologyColour)
  admin.site.register(LithologyHardness)
  admin.site.register(LithologyMoisture)
  admin.site.register(CasingType)
  admin.site.register(CasingMaterial)
  admin.site.register(SurfaceSealMaterial)
  admin.site.register(SurfaceSealMethod)
  admin.site.register(LinerMaterial)
  admin.site.register(ScreenIntake)
  admin.site.register(ScreenType)
  admin.site.register(ScreenMaterial)
  admin.site.register(ScreenOpening)
  admin.site.register(ScreenBottom)
  admin.site.register(ScreenAssemblyType)
  admin.site.register(FilterPackMaterial)
  admin.site.register(FilterPackMaterialSize)
  admin.site.register(DevelopmentMethod)
  admin.site.register(YieldEstimationMethod)
  admin.site.register(WaterQualityCharacteristic)
  
new_contents: """
      Licensed under the Apache License, Version 2.0 (the "License");
      you may not use this file except in compliance with the License.
      You may obtain a copy of the License at
  
          http://www.apache.org/licenses/LICENSE-2.0
  
      Unless required by applicable law or agreed to in writing, software
      distributed under the License is distributed on an "AS IS" BASIS,
      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
      See the License for the specific language governing permissions and
      limitations under the License.
  """
  from django.contrib import admin
  from django.apps import apps
  
  # Import all models
  from .models import *
  
  # Register your models here.
  app = apps.get_app_config('gwells')
  for model_name, model in app.models.items():
      admin.site.register(model)
  
subject: Update to admin.py to dynamically register all models so you can see them in the admin interface.