oxdata/lookup/admin.py

11 lines
230 B
Python
Raw Normal View History

2009-07-13 14:44:09 +00:00
# -*- 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)