UEWBot / dipvis

Django-based visualiser for tournaments for the boardgame Diplomacy
GNU General Public License v3.0
7 stars 5 forks source link

Wrong instruction #322

Closed UEWBot closed 6 days ago

UEWBot commented 1 week ago

The "Modify games" form says that game names must be unique within the Round. In fact they must be unique within the Tournament.

UEWBot commented 1 week ago

Game.clean() checks the right thing.

Wording on two forms is wrong.

There's no constraint in Game.Meta.

UEWBot commented 1 week ago

We can't enforce it with a constraint because the constraint would have to check an attribute of Game and an attribute of Round.