old_contents: from django.contrib import admin
  
  from planner.models import Route, Waypoint, RoadTrip, TripDetail
  
  
  class RoadTripAdmin(admin.ModelAdmin):
      model = RoadTrip
      list_display = ('start_date', 'end_date', 'route',)
  
  
  class WaypointInline(admin.StackedInline):
      model = Waypoint
      extra = 1
  
  
  class RouteAdmin(admin.ModelAdmin):
      model = Route
      inlines = [WaypointInline]
      list_display = ('origin', 'destination',)
  
  
  admin.site.register(Route, RouteAdmin)
  admin.site.register(RoadTrip, RoadTripAdmin)
  
new_contents: from django.contrib import admin
  
  from planner.models import Route, Waypoint, RoadTrip, TripDetail
  
  
  class RoadTripAdmin(admin.ModelAdmin):
      model = RoadTrip
      list_display = ('route', 'start_date', 'end_date',)
  
  
  class WaypointInline(admin.StackedInline):
      model = Waypoint
      extra = 1
  
  
  class RouteAdmin(admin.ModelAdmin):
      model = Route
      inlines = [WaypointInline]
      list_display = ('origin', 'destination',)
  
  
  # admin.site.register(Route, RouteAdmin)
  admin.site.register(RoadTrip, RoadTripAdmin)
  
subject: Update admin list display for RoadTrip and unregister Route model and admin from admin interface for now