11 lines
230 B
Python
11 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)
|
||
|
|