app/soc/views/models/student.py
changeset 2076 1cd180cc56c9
parent 2050 b3b235acdc6e
child 2154 a0a1594e58ae
equal deleted inserted replaced
2075:c6bdfd560d91 2076:1cd180cc56c9
   177 
   177 
   178   def _editContext(self, request, context):
   178   def _editContext(self, request, context):
   179     """See base.View._editContext().
   179     """See base.View._editContext().
   180     """
   180     """
   181 
   181 
   182     entity = context['entity']
   182     # entity = context['entity']
   183     form = context['form']
   183     form = context['form']
   184 
   184 
   185     if 'scope_path' in form.initial:
   185     if 'scope_path' in form.initial:
   186       scope_path = form.initial['scope_path']
   186       scope_path = form.initial['scope_path']
   187     elif 'scope_path' in request.POST:
   187     elif 'scope_path' in request.POST: