it/itf/scriptbank/admin.py

15 lines
336 B
Python
Raw Normal View History

2010-11-29 13:02:19 +00:00
from django.contrib import admin
from models import *
# from forms import ArticleForm
class ScriptAdmin(admin.ModelAdmin):
search_fields = ('title', 'synopsis',),
# list_display = ('title', 'date',)
admin.site.register(Script, ScriptAdmin)
admin.site.register(License)
2010-11-29 13:02:19 +00:00
admin.site.register(Review)
admin.site.register(Downloader)