Update views.py to reflect UUID as flavor_id

Many users are creating flavors in OpenStack Horizon GUI and by default a flavor_id is assigned a uuid and is not an int.