summaryrefslogtreecommitdiff
path: root/pgweb/pugs/admin.py
blob: 8b66924b8c81e1cbbd094ec463d4542946307979 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
from django.contrib import admin

from pgweb.util.admin import PgwebAdmin
from .models import PUG


class PUGAdmin(PgwebAdmin):
    list_display = ('title', 'approved', )
    list_filter = ('approved', )
    search_fields = ('title', )


admin.site.register(PUG, PUGAdmin)