Merge pull request '10077/efficient-input-lookup' (#2) from 10077/efficient-input-lookup into master
Reviewed-on: #2
This commit is contained in:
commit
4c759a3609
2 changed files with 2 additions and 1 deletions
|
@ -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']
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue