summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2014-02-21 12:47:02 (GMT)
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2014-02-21 12:47:02 (GMT)
commitdd6d67d6526b0cd547ae8013365f8502dc031fcf (patch)
tree885f69c381ab88c3fe2c26b5a009e7cbbf89f20a
parent4c3caf0d20e6fc2e2e0baa3397015fd5345a74d6 (diff)
downloadpolynum-blackboard-dd6d67d6526b0cd547ae8013365f8502dc031fcf.zip
polynum-blackboard-dd6d67d6526b0cd547ae8013365f8502dc031fcf.tar.gz
polynum-blackboard-dd6d67d6526b0cd547ae8013365f8502dc031fcf.tar.bz2
admin: allow edition of sent and course_code
-rw-r--r--polynum_blackboard/admin.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/polynum_blackboard/admin.py b/polynum_blackboard/admin.py
index f754a03..4c2cba2 100644
--- a/polynum_blackboard/admin.py
+++ b/polynum_blackboard/admin.py
@@ -6,8 +6,8 @@ import models
class BlackBoardPushAdmin(admin.ModelAdmin):
actions = [ 'relaunch' ]
- readonly_fields = [ 'request', 'course_code', 'course_name', 'visible_to_students',
- 'sent', 'failure' ]
+ readonly_fields = [ 'request', 'course_name', 'visible_to_students',
+ 'failure' ]
list_display = [ 'created_on', 'request_id', 'course_code', 'course_name', 'visible_to_students', 'sent', 'failure' ]
def request_id(self, instance):