oxdata/lookup/admin.py
2009-07-13 16:44:09 +02:00

10 lines
230 B
Python

# -*- coding: utf-8 -*-
# vi:si:et:sw=4:sts=4:ts=4
import models
from django.contrib import admin
class MovieIdAdmin(admin.ModelAdmin):
search_fields = ['title', 'imdb_id']
admin.site.register(models.MovieId, MovieIdAdmin)