heat-dashboard/heat_dashboard/content/stacks
Keigo Noha 81190f1b0d Set False to include_empty_option
In _populate_custom_choices(), all methods called at the method have
True as a second argument. It means that the default values sepcified
in a stack are not shown as default when launch stack form.
The fileds always show 'Select Flavor/Image/Network'.
Users doesn't expect to choose default value by hand.
This change shows the default values defined at a template.

Also, image_field_data() doesn't use parameter, include_empty_option.
This change modfies the method to change the behavior based on the
parameter.

Closes-Bug: #1619465
Change-Id: I4b6bef322a668a805abcd4bc472d30f6d1df3a0a
(cherry picked from commit 792f8cbe4a)
2022-06-08 16:37:10 +10:00
..
templates/stacks Modified typo on Change Stack's pop-up Window. 2018-05-11 17:39:48 +09:00
__init__.py move files. 2017-10-06 14:42:23 +09:00
api.py In future, Horizon team is planning to remove heat relevant logic like, 2017-11-16 10:01:17 +09:00
forms.py Set False to include_empty_option 2022-06-08 16:37:10 +10:00
mappings.py Remove six usage (1/2) 2020-01-11 20:54:19 +01:00
panel.py move files. 2017-10-06 14:42:23 +09:00
sro.py move files. 2017-10-06 14:42:23 +09:00
tables.py Add support of event list pagination 2018-06-21 19:08:53 +09:00
tabs.py Add support of event list pagination 2018-06-21 19:08:53 +09:00
urls.py update files by working files. 2017-10-06 14:44:50 +09:00
views.py Django 2.0 support 2018-06-06 20:34:24 +09:00