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
You can Post a Sector with the same Name and Organization to the API which should not be possible as it would be redundant.
It should refuse the Post Request by saying that there already exists a Sector with the same Name and Organization.
The text was updated successfully, but these errors were encountered:
I agree it's not a good behaviour.
This should make the job:
class Meta: unique_together = (..)
Sorry, something went wrong.
No branches or pull requests
Current behavior
You can Post a Sector with the same Name and Organization to the API which should not be possible as it would be redundant.
Expected behavior
It should refuse the Post Request by saying that there already exists a Sector with the same Name and Organization.
Steps to reproduce the behavior
The text was updated successfully, but these errors were encountered: