fnp
/
edumed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Start annoying.
[edumed.git]
/
curriculum
/
admin.py
diff --git
a/curriculum/admin.py
b/curriculum/admin.py
index
d825e6f
..
275baf8
100755
(executable)
--- a/
curriculum/admin.py
+++ b/
curriculum/admin.py
@@
-1,5
+1,6
@@
from django.contrib import admin
from django.contrib import admin
-from .models import Competence, CompetenceLevel, Level, Section
+from .models import (Competence, CompetenceLevel, Level, Section,
+ CurriculumCourse, CurriculumLevel, Curriculum)
class CompetenceLevelInline(admin.TabularInline):
model = CompetenceLevel
class CompetenceLevelInline(admin.TabularInline):
model = CompetenceLevel
@@
-21,3
+22,7
@@
class SectionAdmin(admin.ModelAdmin):
admin.site.register(Level, LevelAdmin)
admin.site.register(Section, SectionAdmin)
admin.site.register(Competence, CompetenceAdmin)
admin.site.register(Level, LevelAdmin)
admin.site.register(Section, SectionAdmin)
admin.site.register(Competence, CompetenceAdmin)
+
+admin.site.register(CurriculumCourse)
+admin.site.register(CurriculumLevel)
+admin.site.register(Curriculum)