equal
deleted
inserted
replaced
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: |