|
@ -38,7 +38,7 @@ class ProjectAdmin(admin.ModelAdmin): |
|
|
@admin.register(BusinessCard) |
|
|
@admin.register(BusinessCard) |
|
|
class BusinessCardAdmin(admin.ModelAdmin): |
|
|
class BusinessCardAdmin(admin.ModelAdmin): |
|
|
save_as = True |
|
|
save_as = True |
|
|
search_fields = (('realname', 'service_id'), 'granted', 'granted_date', 'project') |
|
|
|
|
|
|
|
|
search_fields = ('realname', 'service_id', 'granted', 'granted_date', 'project') |
|
|
list_display = ('realname', 'service_id', 'granted', 'granted_date', 'project') |
|
|
list_display = ('realname', 'service_id', 'granted', 'granted_date', 'project') |
|
|
list_display_links = ('realname', 'service_id') |
|
|
list_display_links = ('realname', 'service_id') |
|
|
# action = ['export_as_csv'] |
|
|
# action = ['export_as_csv'] |
|
@ -49,7 +49,7 @@ class BusinessCardAdmin(admin.ModelAdmin): |
|
|
@admin.register(Literature) |
|
|
@admin.register(Literature) |
|
|
class LiteratureAdmin(admin.ModelAdmin): |
|
|
class LiteratureAdmin(admin.ModelAdmin): |
|
|
save_as = True |
|
|
save_as = True |
|
|
search_fields = (('realname', 'service_id'), 'granted', 'granted_date') |
|
|
|
|
|
|
|
|
search_fields = ('realname', 'service_id', 'granted', 'granted_date') |
|
|
list_display = ('realname', 'service_id', 'granted', 'granted_date') |
|
|
list_display = ('realname', 'service_id', 'granted', 'granted_date') |
|
|
list_display_links = ('realname', 'service_id') |
|
|
list_display_links = ('realname', 'service_id') |
|
|
date_hierarchy = 'granted_date' |
|
|
date_hierarchy = 'granted_date' |
|
@ -73,7 +73,7 @@ class HonoraryCertificateAdmin(admin.ModelAdmin): |
|
|
@admin.register(Library) |
|
|
@admin.register(Library) |
|
|
class LibraryAdmin(admin.ModelAdmin): |
|
|
class LibraryAdmin(admin.ModelAdmin): |
|
|
save_as = True |
|
|
save_as = True |
|
|
search_fields = (('realname', 'service_id'), 'granted', 'granted_date') |
|
|
|
|
|
|
|
|
search_fields = ('realname', 'service_id', 'granted', 'granted_date') |
|
|
list_display = ('realname', 'service_id', 'granted', 'granted_date') |
|
|
list_display = ('realname', 'service_id', 'granted', 'granted_date') |
|
|
list_display_links = ('realname', 'service_id') |
|
|
list_display_links = ('realname', 'service_id') |
|
|
date_hierarchy = 'granted_date' |
|
|
date_hierarchy = 'granted_date' |
|
@ -81,7 +81,7 @@ class LibraryAdmin(admin.ModelAdmin): |
|
|
@admin.register(IFG) |
|
|
@admin.register(IFG) |
|
|
class IFGAdmin(admin.ModelAdmin): |
|
|
class IFGAdmin(admin.ModelAdmin): |
|
|
save_as = True |
|
|
save_as = True |
|
|
search_fields = (('realname', 'service_id'), 'granted', 'granted_date') |
|
|
|
|
|
|
|
|
search_fields = ('realname', 'service_id', 'granted', 'granted_date') |
|
|
list_display = ('realname', 'service_id', 'granted', 'granted_date') |
|
|
list_display = ('realname', 'service_id', 'granted', 'granted_date') |
|
|
list_display_links = ('realname', 'service_id') |
|
|
list_display_links = ('realname', 'service_id') |
|
|
date_hierarchy = 'granted_date' |
|
|
date_hierarchy = 'granted_date' |
|
@ -97,7 +97,7 @@ class TravelAdmin(admin.ModelAdmin): |
|
|
@admin.register(Email) |
|
|
@admin.register(Email) |
|
|
class EmailAdmin(admin.ModelAdmin): |
|
|
class EmailAdmin(admin.ModelAdmin): |
|
|
save_as = True |
|
|
save_as = True |
|
|
search_fields = (('realname', 'service_id'), 'granted', 'granted_date') |
|
|
|
|
|
|
|
|
search_fields = ('realname', 'service_id', 'granted', 'granted_date') |
|
|
list_display = ('realname', 'service_id', 'granted', 'granted_date') |
|
|
list_display = ('realname', 'service_id', 'granted', 'granted_date') |
|
|
list_display_links = ('realname', 'service_id') |
|
|
list_display_links = ('realname', 'service_id') |
|
|
date_hierarchy = 'granted_date' |
|
|
date_hierarchy = 'granted_date' |
|
@ -106,7 +106,7 @@ class EmailAdmin(admin.ModelAdmin): |
|
|
@admin.register(List) |
|
|
@admin.register(List) |
|
|
class ListAdmin(admin.ModelAdmin): |
|
|
class ListAdmin(admin.ModelAdmin): |
|
|
save_as = True |
|
|
save_as = True |
|
|
search_fields = (('realname', 'service_id'), 'granted', 'granted_date') |
|
|
|
|
|
|
|
|
search_fields = ('realname', 'service_id', 'granted', 'granted_date') |
|
|
list_display = ('realname', 'service_id', 'granted', 'granted_date') |
|
|
list_display = ('realname', 'service_id', 'granted', 'granted_date') |
|
|
list_display_links = ('realname', 'service_id') |
|
|
list_display_links = ('realname', 'service_id') |
|
|
date_hierarchy = 'granted_date' |
|
|
date_hierarchy = 'granted_date' |
|
|