-
Notifications
You must be signed in to change notification settings - Fork 53
The VERSION_UNIQUE does not seem to work #162
Comments
Hi @simkimsia, sorry for the delay in replying to all your PRs and questions. Your engagement with Cleanerversion is deeply appreciated!
If you are using a PostgreSQL data store, you may have skipped, that Otherwise, the I hope this helps. |
@maennel thanks for responding :) I used to use By the way, when you say the indexes have to be created explicitly, what exactly do you mean? I saw the tests code, but I am still confused. |
Glad you like it! So, you'd have to create an object inheriting from That app config then gets added to |
@maennel I am still not too sure but I think I will give this a try as well. Thanks! |
I have the following
I can still create duplicate with the same wbs_number despite the
VERSION_UNIQUE
My workaround is install
django-partial-index
as a packageand then
And because I use DRF, my
serializers.py
looks like this:The text was updated successfully, but these errors were encountered: