# -*- coding: utf-8 -*- from __future__ import division, print_function, absolute_import from django.contrib import admin from . import models class MovieIdAdmin(admin.ModelAdmin): search_fields = ['title', 'imdb_id'] admin.site.register(models.MovieId, MovieIdAdmin)