Browse Source

Vyhledávání v osobách

export_seznamu_prednasek
Jonas Havelka 3 years ago
parent
commit
3a6518c92a
  1. 1
      personalni/admin.py

1
personalni/admin.py

@ -7,6 +7,7 @@ import seminar.models as m
@admin.register(m.Osoba) @admin.register(m.Osoba)
class OsobaAdmin(admin.ModelAdmin): class OsobaAdmin(admin.ModelAdmin):
actions = ['synchronizuj_maily', 'udelej_orgem'] actions = ['synchronizuj_maily', 'udelej_orgem']
search_fields = ['jmeno', 'prijmeni', 'prezdivka']
def synchronizuj_maily(self, request, queryset): def synchronizuj_maily(self, request, queryset):
for o in queryset: for o in queryset:

Loading…
Cancel
Save