profiles.admin module

class profiles.admin.ProfileEmailInline(parent_model, admin_site)[source]

Bases: django.contrib.admin.options.TabularInline

model

alias of profiles.models.ProfileEmail

extra = 0
property media
class profiles.admin.AffiliationInline(parent_model, admin_site)[source]

Bases: django.contrib.admin.options.TabularInline

model

alias of profiles.models.Affiliation

extra = 0
autocomplete_fields = ['organization']
property media
class profiles.admin.ProfileAdmin(model, admin_site)[source]

Bases: django.contrib.admin.options.ModelAdmin

list_display = ['__str__', 'email', 'acad_field', 'has_active_contributor']
search_fields = ['first_name', 'last_name', 'emails__email', 'orcid_id']
inlines = [<class 'profiles.admin.ProfileEmailInline'>, <class 'profiles.admin.AffiliationInline'>]
autocomplete_fields = ['topics']
property media
class profiles.admin.ProfileNonDuplicatesAdmin(model, admin_site)[source]

Bases: django.contrib.admin.options.ModelAdmin

autocomplete_fields = ['profiles']
property media