Merge branch 'master' into 10106/update-list-view

This commit is contained in:
PCoder 2022-01-04 23:15:24 +05:30
commit 9130fab8a5
3 changed files with 4 additions and 2 deletions

View File

@ -8,6 +8,7 @@ Bugfixes:
- Mountain Ranges: add country at the end. sort the range names in alphabetical order.
- Persons: should have organisation name in the list view
- Resources: Alphabetically sort the titles
- issue#10077: efficient input lookup for organization column in Person
## 1.8 (2022-01-04)
@ -87,4 +88,4 @@ Bugfixes:
Features:
- First release includes functioning django admin interfaces for
`Person` and `Range` models
`Person` and `Range` models

View File

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

View File

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