old_contents: #!/usr/bin/python
  # -*- coding: utf-8 -*-
  
  from django.contrib import admin
  
  from reversion.admin import VersionAdmin
  from guardian.admin import GuardedModelAdmin
  
  from . import models
  
  
  @admin.register(models.Order)
  class OrderAdmin(VersionAdmin):
      list_display = ('student',)
  
  
  @admin.register(models.Movie)
  class MovieAdmin(VersionAdmin):
      list_display = ('title',)
  
  
  class EpisodeInline(admin.TabularInline):
      model = models.Episode
  
  
  @admin.register(models.Serie)
  class SerieAdmin(VersionAdmin):
      list_display = ('title',)
      inlines = [
          EpisodeInline,
      ]
  
  
  @admin.register(models.Genre)
  class GenreAdmin(VersionAdmin):
      list_display = ('name',)
  
  
  @admin.register(models.Watchlist)
  class WatchlistAdmin(GuardedModelAdmin):
      list_display = ['user', 'movie']
  
new_contents: #!/usr/bin/python
  # -*- coding: utf-8 -*-
  
  from django.contrib import admin
  
  from reversion.admin import VersionAdmin
  from guardian.admin import GuardedModelAdmin
  
  from . import models
  
  
  @admin.register(models.Order)
  class OrderAdmin(VersionAdmin):
      list_display = ('student',)
  
  
  @admin.register(models.Movie)
  class MovieAdmin(VersionAdmin):
      list_display = ('title', 'released', 'runtime', 'tmdb')
      search_fields = ('title', 'tmdb')
  
  
  class EpisodeInline(admin.TabularInline):
      model = models.Episode
  
  
  @admin.register(models.Serie)
  class SerieAdmin(VersionAdmin):
      list_display = ('title',)
      inlines = [
          EpisodeInline,
      ]
  
  
  @admin.register(models.Genre)
  class GenreAdmin(VersionAdmin):
      list_display = ('name', 'tmdb')
      search_fields = ('name', 'tmdb')
  
  
  @admin.register(models.Watchlist)
  class WatchlistAdmin(GuardedModelAdmin):
      list_display = ('user', 'movie')
  
subject: Enhance admin integration fro web models.