We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When creating a project with a name that already exists an IntegrityError is thrown, because the slug must be unique:
IntegrityError
slug
IntegrityError at /projects/new/ duplicate key value violates unique constraint "organization_project_project_slug_key" DETAIL: Key (project_slug)=(xls-project-3) already exists.
When creating a project, it should be checked if a project with the same slug already exists and then change the slug accordingly.
The text was updated successfully, but these errors were encountered:
project_slug
null=True
2a2f82b
Merge pull request #181 from Cadasta/bugfix/#162
a85207f
Fixes #162: Add SlugModel
This bug is still occurring on the latest master. I have created a functional test for this specific bug: projects/test_project_add_duplicate.py
Sorry, something went wrong.
74b6825
Merge pull request #221 from Cadasta/bugfix/#162
646e184
Fix #162 -- Always verify slug when object is created
oliverroick
No branches or pull requests
When creating a project with a name that already exists an
IntegrityError
is thrown, because theslug
must be unique:When creating a project, it should be checked if a project with the same slug already exists and then change the slug accordingly.
The text was updated successfully, but these errors were encountered: