Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Admin Panel Cloud Editing #159

Open
almahmoud opened this issue Oct 18, 2018 · 1 comment
Open

Admin Panel Cloud Editing #159

almahmoud opened this issue Oct 18, 2018 · 1 comment

Comments

@almahmoud
Copy link
Member

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

@afgane
Copy link
Contributor

afgane commented Jan 30, 2019

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants