17 lines
592 B
Python
17 lines
592 B
Python
from django.contrib import admin
|
|
from .models import Profile, Experience, SkillGroup
|
|
|
|
@admin.register(Profile)
|
|
class ProfileAdmin(admin.ModelAdmin):
|
|
list_display = ('role', 'full_name', 'gender')
|
|
list_display_links = ('full_name','role',)
|
|
|
|
@admin.register(Experience)
|
|
class ExperienceAdmin(admin.ModelAdmin):
|
|
list_display = ('profile', 'company', 'start_date', 'end_date')
|
|
list_display_links = ('profile', 'company',)
|
|
|
|
@admin.register(SkillGroup)
|
|
class SkillGroupAdmin(admin.ModelAdmin):
|
|
list_display = ('profile', 'group',)
|
|
list_display_links = ('profile', 'group',) |