correct ordering of services in provider
This commit is contained in:
parent
9ce96674c0
commit
5bad139d03
3 changed files with 28 additions and 3 deletions
|
@ -101,7 +101,14 @@ class ExternalLinkInline(admin.TabularInline):
|
|||
|
||||
@admin.register(Service)
|
||||
class ServiceAdmin(admin.ModelAdmin):
|
||||
list_display = ("name", "logo_preview", "category_list", "partner_list")
|
||||
list_display = (
|
||||
"name",
|
||||
"logo_preview",
|
||||
"category_list",
|
||||
"is_featured",
|
||||
"is_coming_soon",
|
||||
"disable_listing",
|
||||
)
|
||||
list_filter = ("categories",)
|
||||
search_fields = ("name", "description", "slug")
|
||||
prepopulated_fields = {"slug": ("name",)}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue