Merge pull request '10077/efficient-input-lookup' (#2) from 10077/efficient-input-lookup into master

Reviewed-on: #2
This commit is contained in:
pcoder116 2022-01-04 17:36:11 +00:00
commit 4c759a3609
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