it/itf/newsfeed/admin.py
2011-10-08 03:03:05 -04:00

11 lines
248 B
Python
Executable File

from django.contrib import admin
from models import *
# from forms import ArticleForm
class NewsItemAdmin(admin.ModelAdmin):
search_fields = ('title', 'text',),
# list_display = ('title', 'date',)
admin.site.register(NewsItem, NewsItemAdmin)