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..ab38f6b
--- /dev/null
+++ b/grades/admin.py
@@ -0,0 +1,9 @@
+from django.contrib import admin
+from grades.models import GradingSystem, GradeRange
+
+# Register your models here.
+class GradingSystemAdmin(admin.ModelAdmin):
+ readonly_fields = ('creator',)
+
+admin.site.register(GradingSystem, GradingSystemAdmin)
+admin.site.register(GradeRange)