Merge "Disables Django 1.10 required attribute"
This commit is contained in:
commit
41f7f84e3a
|
@ -30,12 +30,16 @@ ALLOCATE_URL = "horizon:project:floating_ips:allocate"
|
||||||
|
|
||||||
|
|
||||||
class AssociateIPAction(workflows.Action):
|
class AssociateIPAction(workflows.Action):
|
||||||
|
use_required_attribute = False
|
||||||
ip_id = forms.ThemableDynamicTypedChoiceField(
|
ip_id = forms.ThemableDynamicTypedChoiceField(
|
||||||
label=_("IP Address"),
|
label=_("IP Address"),
|
||||||
coerce=filters.get_int_or_uuid,
|
coerce=filters.get_int_or_uuid,
|
||||||
empty_value=None,
|
empty_value=None,
|
||||||
add_item_link=ALLOCATE_URL)
|
add_item_link=ALLOCATE_URL
|
||||||
instance_id = forms.ThemableChoiceField(label=_("Port to be associated"))
|
)
|
||||||
|
instance_id = forms.ThemableChoiceField(
|
||||||
|
label=_("Port to be associated")
|
||||||
|
)
|
||||||
|
|
||||||
class Meta(object):
|
class Meta(object):
|
||||||
name = _("IP Address")
|
name = _("IP Address")
|
||||||
|
|
Loading…
Reference in New Issue