diff options
author | Prabhu Ramachandran | 2018-03-22 18:36:05 +0530 |
---|---|---|
committer | GitHub | 2018-03-22 18:36:05 +0530 |
commit | d4f49e8a93ed2ce2e63bd67fa77aa75741c2d6c5 (patch) | |
tree | 8a767d224ac6a1688cd3eb301b2ccac40413fc7e /grades/admin.py | |
parent | 734b221a98745ccb6218f43923731323a265966a (diff) | |
parent | c49550b6793c0481fae08f04c794218513894cc4 (diff) | |
download | online_test-d4f49e8a93ed2ce2e63bd67fa77aa75741c2d6c5.tar.gz online_test-d4f49e8a93ed2ce2e63bd67fa77aa75741c2d6c5.tar.bz2 online_test-d4f49e8a93ed2ce2e63bd67fa77aa75741c2d6c5.zip |
Merge pull request #438 from prathamesh920/Grades
Grades
Diffstat (limited to 'grades/admin.py')
-rw-r--r-- | grades/admin.py | 9 |
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) |