colleges.admin module

colleges.admin.fellowhip_is_active(fellowship)[source]
class colleges.admin.FellowshipAdmin(model, admin_site)[source]

Bases: django.contrib.admin.options.ModelAdmin

search_fields = ['contributor__user__last_name', 'contributor__user__first_name']
list_display = ('__str__', 'college', 'status', 'senior', <function fellowhip_is_active>)
list_filter = ('status',)
date_hierarchy = 'created'
autocomplete_fields = ['contributor']
property media
class colleges.admin.PotentialFellowshipEventInline(parent_model, admin_site)[source]

Bases: django.contrib.admin.options.TabularInline

model

alias of colleges.models.potential_fellowship.PotentialFellowshipEvent

autocomplete_fields = ['potfel', 'noted_by']
property media
class colleges.admin.PotentialFellowshipAdmin(model, admin_site)[source]

Bases: django.contrib.admin.options.ModelAdmin

inlines = [<class 'colleges.admin.PotentialFellowshipEventInline'>]
list_display = ['__str__', 'college', 'status']
search_fields = ['profile__last_name', 'profile__first_name']
autocomplete_fields = ['profile', 'in_agreement', 'in_abstain', 'in_disagreement']
property media
class colleges.admin.FellowshipNominationEventInline(parent_model, admin_site)[source]

Bases: django.contrib.admin.options.TabularInline

model

alias of colleges.models.nomination.FellowshipNominationEvent

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

Bases: django.contrib.admin.options.TabularInline

model

alias of colleges.models.nomination.FellowshipNominationComment

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

Bases: django.contrib.admin.options.TabularInline

model

alias of colleges.models.nomination.FellowshipNominationVotingRound

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

Bases: django.contrib.admin.options.TabularInline

model

alias of colleges.models.nomination.FellowshipNominationDecision

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

Bases: django.contrib.admin.options.TabularInline

model

alias of colleges.models.nomination.FellowshipInvitation

extra = 0
property media
class colleges.admin.FellowshipNominationAdmin(model, admin_site)[source]

Bases: django.contrib.admin.options.ModelAdmin

inlines = [<class 'colleges.admin.FellowshipNominationEventInline'>, <class 'colleges.admin.FellowshipNominationCommentInline'>, <class 'colleges.admin.FellowshipNominationVotingRoundInline'>, <class 'colleges.admin.FellowshipNominationDecisionInline'>, <class 'colleges.admin.FellowshipInvitationInline'>]
list_display = ['college', 'profile', 'nominated_on']
search_fields = ['college', 'profile']
autocomplete_fields = ['profile', 'nominated_by', 'fellowship']
property media
class colleges.admin.FellowshipNominationVoteInline(parent_model, admin_site)[source]

Bases: django.contrib.admin.options.TabularInline

model

alias of colleges.models.nomination.FellowshipNominationVote

extra = 0
property media
class colleges.admin.FellowshipNominationVotingRoundAdmin(model, admin_site)[source]

Bases: django.contrib.admin.options.ModelAdmin

model

alias of colleges.models.nomination.FellowshipNominationVotingRound

inlines = [<class 'colleges.admin.FellowshipNominationVoteInline'>]
autocomplete_fields = ['nomination', 'eligible_to_vote']
property media