heat-dashboard/heat_dashboard
Keigo Noha c8456777df 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-10-06 07:00:30 +00:00
..
api Remove six usage (2/2) 2020-01-11 22:06:54 +01:00
conf Support policy-in-code and deprecated policy 2021-03-18 23:01:14 +09:00
content Set False to include_empty_option 2022-10-06 07:00:30 +00:00
enabled Update hacking version 2019-03-27 14:00:03 +08:00
local_settings.d Support policy-in-code and deprecated policy 2021-03-18 23:01:14 +09:00
locale Imported Translations from Zanata 2021-03-03 06:44:30 +00:00
static/dashboard/project/heat_dashboard Merge "Group resource icons by project" 2018-08-13 23:52:22 +00:00
test Use unittest.mock instead of third party mock 2020-04-21 04:56:58 +09:00
__init__.py move files. 2017-10-06 14:42:23 +09:00
exceptions.py add template generator 2017-10-06 14:44:14 +09:00