old_contents: from django.contrib import admin
  from . import models
  
  
  class LaneAdmin(admin.ModelAdmin):
      list_filter = ('cluster__name',)
  
  admin.site.register(models.Lane, LaneAdmin)
  
  admin.site.register(models.LaneReservation)
  
  admin.site.register(models.FullTimeValidator)
  admin.site.register(models.GivenHoursAndWeekdaysValidator)
  admin.site.register(models.TimeIntervalValidator)
  admin.site.register(models.NotWithinPeriodValidator)
  admin.site.register(models.MaxReservationsPerUserValidator)
  
  
  class PeriodInline(admin.TabularInline):
      model = models.Period
  
  
  class WithinPeriodValidatorAdmin(admin.ModelAdmin):
      inlines = [PeriodInline]
  
  
  admin.site.register(models.WithinPeriodValidator, WithinPeriodValidatorAdmin)
  
new_contents: from django.contrib import admin
  from . import models
  
  
  class LaneAdmin(admin.ModelAdmin):
      list_filter = ('cluster__name',)
  
  admin.site.register(models.Lane, LaneAdmin)
  
  admin.site.register(models.LaneReservation)
  
  admin.site.register(models.LFullTimeValidator)
  admin.site.register(models.LGivenHoursAndWeekdaysValidator)
  admin.site.register(models.LTimeIntervalValidator)
  admin.site.register(models.LNotWithinPeriodValidator)
  admin.site.register(models.LMaxReservationsPerUserValidator)
  
  
  class PeriodInline(admin.TabularInline):
      model = models.Period
  
  
  class WithinPeriodValidatorAdmin(admin.ModelAdmin):
      inlines = [PeriodInline]
  
  
  admin.site.register(models.LWithinPeriodValidator, WithinPeriodValidatorAdmin)
  
subject: update admin