|
|
@ -31,6 +31,7 @@ class ProjectAdmin(admin.ModelAdmin): |
|
|
|
save_as = True |
|
|
|
search_fields = ('name', 'pid','finance_id', 'realname', 'start', 'end', 'participants_estimated', 'participants_real', 'cost', 'status', 'end_quartal') |
|
|
|
list_display = ('name', 'pid','finance_id', 'realname', 'start', 'end', 'participants_estimated', 'participants_real', 'cost', 'status', 'end_quartal') |
|
|
|
fields = ('realname', 'email', 'granted', 'granted_date', 'mail_state', 'end_mail_send', 'survey_mail_send', 'survey_mail_date', 'name', 'description', 'pid', 'finance_id', 'start', 'end', 'otrs', 'plan', 'page', 'urls', 'group', 'location', 'participants_estimated', 'participants_real', 'insurance', 'insurance_technic', 'support', 'cost', 'account', 'granted_from', 'notes', 'intern_notes', 'status', 'project_of_year', 'end_quartal') |
|
|
|
# action = ['export_as_csv'] |
|
|
|
date_hierarchy = 'end' |
|
|
|
readonly_fields = ('end_quartal', 'project_of_year', 'pid', 'finance_id') |
|
|
|