Browse Source

added search bar to foreign key choice field project in model travel

master
alpcentaur 1 year ago
parent
commit
5402733a9c
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      input/admin.py

+ 1
- 0
input/admin.py View File

@ -91,6 +91,7 @@ class TravelAdmin(admin.ModelAdmin):
list_display_links = ('realname', 'project')
date_hierarchy = 'project_end'
readonly_fields = ('project_end_quartal', 'project_end')
autocomplete_fields = ['project']
@admin.register(Email)
class EmailAdmin(admin.ModelAdmin):

Loading…
Cancel
Save