kopia lustrzana https://github.com/wagtail/bakerydemo
Add list_export for Snippets
rodzic
d88b0b5276
commit
3163c11f5d
|
@ -55,6 +55,7 @@ class PersonViewSet(SnippetViewSet):
|
|||
list_filter = {
|
||||
"job_title": ["icontains"],
|
||||
}
|
||||
list_export = ("first_name", "last_name", "job_title")
|
||||
|
||||
|
||||
class FooterTextViewSet(SnippetViewSet):
|
||||
|
|
Ładowanie…
Reference in New Issue