Person: Show id

This commit is contained in:
PCoder 2021-11-28 10:50:08 +05:30
parent 1a8dd58e3f
commit edf89706e7

View file

@ -4,11 +4,12 @@ from .models import *
class PersonAdmin(admin.ModelAdmin):
readonly_fields = ['id']
search_fields = ['title', 'first_name', 'last_name', 'organisation', 'position', 'country__short_name', 'contact_email']
fieldsets = (
(None, {
'fields': (
('mr_mrs', 'title','full_name', 'position'),
('id', 'mr_mrs', 'title','full_name', 'position'),
('first_name', 'last_name', 'search_name', 'status'),
('contact_email', 'email_2', 'skype', 'professional_phone'),
'organization',