kopia lustrzana https://github.com/wagtail/bakerydemo
Enable inspect view for CountryModelViewSet
rodzic
7368667f96
commit
5d00e7111a
|
@ -42,6 +42,7 @@ class CountryModelViewSet(ModelViewSet):
|
|||
ordering = ("title",)
|
||||
search_fields = ("title",)
|
||||
icon = "globe"
|
||||
inspect_view_enabled = True
|
||||
|
||||
panels = [
|
||||
FieldPanel("title"),
|
||||
|
|
Ładowanie…
Reference in New Issue