pandora/pandora/app/admin.py

15 lines
292 B
Python
Raw Normal View History

# -*- coding: utf-8 -*-
# vi:si:et:sw=4:sts=4:ts=4
from __future__ import division, print_function, absolute_import
from django.contrib import admin
from . import models
2011-01-01 11:44:42 +00:00
class PageAdmin(admin.ModelAdmin):
search_fields = ['name', 'body']
admin.site.register(models.Page, PageAdmin)
2010-02-27 11:27:50 +00:00