Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix #68; many thanks to Damir Arbula

  • Loading branch information...
commit e5a7fcc39b8bba04f9fe241d9d3731d886c172eb 1 parent 8fa5977
@evildmp authored
Showing with 8,066 additions and 7,556 deletions.
  1. +1 −0  CONTRIBUTORS.txt
  2. +2 −1  contacts_and_people/admin.py
  3. +8,063 −7,555 example_14/example_database.json
View
1  CONTRIBUTORS.txt
@@ -10,5 +10,6 @@ Luke Crooks
Kristian Oellegaard
Barry Rowlingson
Hamish Downer
+Damir Arbula
... and if I have neglected to mention someone, please let me know!
View
3  contacts_and_people/admin.py
@@ -169,7 +169,8 @@ def action(modeladmin,request,queryset):
class PersonAdmin(PersonAndEntityAdmin):
search_fields = ['given_name','surname','institutional_username',]
form = PersonForm
- list_display = ( 'surname', 'given_name', 'image', 'get_entity', 'slug')
+ list_display = ('surname', 'given_name', 'title', 'get_entity', 'slug', 'active')
+ list_editable = ('title',)
filter_horizontal = ('entities',)
prepopulated_fields = {'slug': ('title', 'given_name', 'middle_names', 'surname',)}
readonly_fields = ['address_report',]
View
15,618 example_14/example_database.json
8,063 additions, 7,555 deletions not shown
Please sign in to comment.
Something went wrong with that request. Please try again.