@@ -0,0 +1,691 @@
+%22%22%22%0ADjango admin models for staffgrader%0A%22%22%22%0A%0Afrom django.contrib import admin%0Afrom openassessment.staffgrader.models import SubmissionGradingLock%0A%0A%0Aclass SubmissionGradingLockAdmin(admin.ModelAdmin):%0A    %22%22%22%0A    Django admin model for SubmissionGradingLock.%0A    %22%22%22%0A    list_display = ('id', 'submission_uuid', 'owner_id', 'created_at', 'is_active')%0A    readonly_fields = ('is_active',)%0A    search_fields = ('submission_uuid',)%0A%0A    # This allows us to have the nice boolean check/x icons in the list rather than %22True%22/%22False%22%0A    def is_active(self, lock):%0A        return lock.is_active%0A    is_active.boolean = True%0A%0A%0Aadmin.site.register(SubmissionGradingLock, SubmissionGradingLockAdmin)%0A

add SubmissionGradingLockAdmin (#1793)