src/hp/admin.py
author ymh <ymh.work@gmail.com>
Wed, 28 Nov 2012 02:12:51 +0100
changeset 95 c63f2508c34d
parent 41 b6010b3d6ea8
permissions -rw-r--r--
improve on kc rel form to avoid having all the contents in the drop down list, only those available.

# -*- coding: utf-8 -*-
'''
Created on Nov 13, 2012

@author: ymh
'''

from django.contrib import admin
from .models import VideoKCRel
from .forms import VideoKCRelForm

class VideoKCRelAdmin(admin.ModelAdmin):
    form = VideoKCRelForm

admin.site.register(VideoKCRel, VideoKCRelAdmin)