X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/cf52e60f9665dc878fc2b3ab9db17d981c52030b..4e59794ba74181bff1f15a205f48c51d9785e07f:/curriculum/admin.py?ds=inline diff --git a/curriculum/admin.py b/curriculum/admin.py index 275baf8..4e83537 100755 --- a/curriculum/admin.py +++ b/curriculum/admin.py @@ -7,16 +7,16 @@ class CompetenceLevelInline(admin.TabularInline): class CompetenceAdmin(admin.ModelAdmin): model = Competence - list_display = ['name', 'section', 'slug', 'order'] + list_display = ['name_pl', 'name_en', 'section', 'slug', 'order'] inlines = [CompetenceLevelInline] class LevelAdmin(admin.ModelAdmin): model = Level - list_display = ['name', 'group', 'slug', 'order'] + list_display = ['name_pl', 'name_en', 'group_pl', 'group_en', 'slug', 'order'] class SectionAdmin(admin.ModelAdmin): model = Section - list_display = ['name', 'slug', 'order'] + list_display = ['name_pl', 'name_en', 'slug', 'order'] admin.site.register(Level, LevelAdmin)