summaryrefslogtreecommitdiff
path: root/grades/admin.py
diff options
context:
space:
mode:
Diffstat (limited to 'grades/admin.py')
-rw-r--r--grades/admin.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/grades/admin.py b/grades/admin.py
new file mode 100644
index 0000000..548791e
--- /dev/null
+++ b/grades/admin.py
@@ -0,0 +1,9 @@
+from django.contrib import admin
+from grades.models import GradingSystem, GradeRange
+
+
+class GradingSystemAdmin(admin.ModelAdmin):
+ readonly_fields = ('creator',)
+
+admin.site.register(GradingSystem, GradingSystemAdmin)
+admin.site.register(GradeRange)