goodtune / vitriolic

This project unifies the various sub-projects Touch Technology has created over the years that were intended to be reusable in isolation, but in practice never stood alone for long.
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

IntegrityError: duplicate key value violates unique constraint #8

Closed goodtune closed 7 years ago

goodtune commented 7 years ago

Encountered when adding a Stage to a Division where the resulting slug is already in use.

IntegrityError: duplicate key value violates unique constraint "competition_stage_division_id_6cafa73f48ecf6d8_uniq"
DETAIL:  Key (division_id, slug)=(4, round-robin) already exists.

I thought these were already handled by using django-modelforms which I previously open sourced?