mirror of
https://github.com/postgres/pgweb.git
synced 2025-08-05 18:34:52 +00:00
12 lines
332 B
Python
12 lines
332 B
Python
from django.contrib import admin
|
|
|
|
from pgweb.util.admin import PgwebAdmin
|
|
from models import ProfessionalService
|
|
|
|
class ProfessionalServiceAdmin(PgwebAdmin):
|
|
list_display = ('__unicode__', 'approved',)
|
|
list_filter = ('approved',)
|
|
search_fields = ('org__name',)
|
|
|
|
admin.site.register(ProfessionalService, ProfessionalServiceAdmin)
|