10077/efficient-input-lookup #2
2 changed files with 2 additions and 1 deletions
|
@ -59,6 +59,7 @@ class PersonAdmin(admin.ModelAdmin):
|
|||
}),
|
||||
)
|
||||
list_display = ['id', 'full_name' ]
|
||||
autocomplete_fields = ['organization']
|
||||
# list_display_links = ['id']
|
||||
|
||||
|
||||
|
|
|
@ -428,7 +428,7 @@ class Organisation(models.Model):
|
|||
else:
|
||||
name = f"{self.organisation_english}"
|
||||
else:
|
||||
name = 'NO NAME DEFINED!!!'
|
||||
name = '---'
|
||||
|
||||
return name
|
||||
|
||||
|
|
Loading…
Reference in a new issue