Vyhledávání v osobách
This commit is contained in:
parent
c4e9a5d617
commit
3a6518c92a
1 changed files with 1 additions and 0 deletions
|
@ -7,6 +7,7 @@ import seminar.models as m
|
|||
@admin.register(m.Osoba)
|
||||
class OsobaAdmin(admin.ModelAdmin):
|
||||
actions = ['synchronizuj_maily', 'udelej_orgem']
|
||||
search_fields = ['jmeno', 'prijmeni', 'prezdivka']
|
||||
|
||||
def synchronizuj_maily(self, request, queryset):
|
||||
for o in queryset:
|
||||
|
|
Loading…
Reference in a new issue