fnp
/
edumed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Additional information about contest deadline
[edumed.git]
/
curriculum
/
admin.py
diff --git
a/curriculum/admin.py
b/curriculum/admin.py
index
275baf8
..
4e83537
100755
(executable)
--- a/
curriculum/admin.py
+++ b/
curriculum/admin.py
@@
-7,16
+7,16
@@
class CompetenceLevelInline(admin.TabularInline):
class CompetenceAdmin(admin.ModelAdmin):
model = Competence
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
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
class SectionAdmin(admin.ModelAdmin):
model = Section
- list_display = ['name', 'slug', 'order']
+ list_display = ['name
_pl', 'name_en
', 'slug', 'order']
admin.site.register(Level, LevelAdmin)
admin.site.register(Level, LevelAdmin)