Enables the editing of Allocation pools in edit subnet

This patch enables the editing of the allocation pools in the edit
subnet form. It removes the allocation pools hidden field because it
is defined in the base class. So this make allocation pools field
visible in the edit form with pre-populated values.

Change-Id: I8d0c35f0694cc5a651747209bee6d38c1d9e26a9
Closes-bug: #1410173
This commit is contained in:
nikunj2512 2015-01-15 00:34:03 +05:30 committed by Nikunj Aggarwal
parent 2af1512912
commit c2348cd6a5
1 changed files with 0 additions and 2 deletions

View File

@ -130,8 +130,6 @@ class UpdateSubnetInfo(CreateSubnetInfo):
class UpdateSubnetDetailAction(network_workflows.CreateSubnetDetailAction):
allocation_pools = forms.CharField(widget=forms.HiddenInput(),
required=False)
def __init__(self, request, context, *args, **kwargs):
super(UpdateSubnetDetailAction, self).__init__(request, context,