You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 1, 2023. It is now read-only.
Create a custom exception, UniqueConttaintException
Create a UniqueConstraint class which can be added to models similar to Attribute. It takes a list of attribute names which must be unique.
Create a unique_constraint table to hold current vales with the class attribute name as one column and another with the current values in use (a list of tuples)
Add to the save object function to check and maintain those values and raise the exception as necessary.
No description provided.
The text was updated successfully, but these errors were encountered: