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

Open UEWBot opened 15 hours ago

UEWBot commented 15 hours 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 15 hours ago

Game.clean() checks the right thing.

Wording on two forms is wrong.

There's no constraint in Game.Meta.

UEWBot commented 15 hours 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.