cloudlaunch icon indicating copy to clipboard operation
cloudlaunch copied to clipboard

Admin Panel Cloud Editing

Open almahmoud opened this issue 6 years ago • 1 comments

When editing a cloud in the admin panel, if the 'Name' is changed, the cloud gets modified, but if the 'Slug' is changed, it instead creates a new Cloud and keeps both. screen shot 2018-10-18 at 11 42 16 am screen shot 2018-10-18 at 11 42 26 am

almahmoud avatar Oct 18 '18 15:10 almahmoud

The slug is treated as the primary key in the Cloud model (https://github.com/CloudVE/djcloudbridge/blob/master/djcloudbridge/models.py#L39), so it's probably best not to change it as the name (i.e., an identifier) changes.

Should be force unique names?

afgane avatar Jan 30 '19 00:01 afgane