mirror of
https://github.com/postgres/pgweb.git
synced 2025-08-06 09:57:57 +00:00
14 lines
340 B
Python
14 lines
340 B
Python
from django.contrib import admin
|
|
|
|
from pgweb.util.admin import PgwebAdmin
|
|
from .models import ProfessionalService
|
|
|
|
|
|
class ProfessionalServiceAdmin(PgwebAdmin):
|
|
list_display = ('__str__', 'approved',)
|
|
list_filter = ('approved',)
|
|
search_fields = ('org__name',)
|
|
|
|
|
|
admin.site.register(ProfessionalService, ProfessionalServiceAdmin)
|