10077/efficient-input-lookup #2

Merged
mravi merged 2 commits from 10077/efficient-input-lookup into master 2022-01-04 17:36:12 +00:00
2 changed files with 2 additions and 1 deletions

View file

@ -59,6 +59,7 @@ class PersonAdmin(admin.ModelAdmin):
}), }),
) )
list_display = ['id', 'full_name' ] list_display = ['id', 'full_name' ]
autocomplete_fields = ['organization']
# list_display_links = ['id'] # list_display_links = ['id']

View file

@ -428,7 +428,7 @@ class Organisation(models.Model):
else: else:
name = f"{self.organisation_english}" name = f"{self.organisation_english}"
else: else:
name = 'NO NAME DEFINED!!!' name = '---'
return name return name