Agregar nuevo campo a personas en admin

This commit is contained in:
Mauricio Baeza 2021-08-15 22:05:21 -05:00
parent 892cf7b6b1
commit 501da78ad1
1 changed files with 2 additions and 1 deletions

View File

@ -29,8 +29,9 @@ class AdminPerson(admin.ModelAdmin):
'country',
'is_actor',
'is_director')
'is_woman')
search_fields = ('name',)
list_filter = ('is_actor', 'is_director', 'country')
list_filter = ('is_woman', 'is_actor', 'is_director', 'country')
@admin.register(models.Movie)