equal
deleted
inserted
replaced
624 |
624 |
625 # fill in the email field with the data from the entity |
625 # fill in the email field with the data from the entity |
626 if 'scope_path' in form.fields: |
626 if 'scope_path' in form.fields: |
627 form.fields['scope_path'].initial = entity.scope_path |
627 form.fields['scope_path'].initial = entity.scope_path |
628 |
628 |
|
629 field = request.GET.get('field', None) |
|
630 value = request.GET.get('value', None) |
|
631 |
|
632 if field and value: |
|
633 form.fields[field].initial = value |
|
634 |
|
635 |
629 def _editSeed(self, request, seed): |
636 def _editSeed(self, request, seed): |
630 """Performs any required processing on the form to get its edit page. |
637 """Performs any required processing on the form to get its edit page. |
631 |
638 |
632 Args: |
639 Args: |
633 request: the django request object |
640 request: the django request object |