exclude Yourself player from Tournament set#30
Conversation
1ead8a2 to
4ed9d5f
Compare
|
CI was failing for a somewhat legitimate reason: Referencing the This change worked locally since my local environment had already applied the necessary migrations. I modified the code to achieve the same goal but this method is considerably jank and this change is not necessarily required because the form validator prohibits the "Yourself" player from being included in the set. This is purely a frontend clarification |
4ed9d5f to
d896736
Compare
d896736 to
07b53a4
Compare
cleaning up my fork - copied from previous PR
include_users,bye_player, andadd_usersform field querysets fromSubmission.objects.latest()toSubmission.objects.latest().exclude(user=get_user_model().objects.get(username="Yourself"))ValidationErrors regarding inclusion of "Yourself" Submission as a Tournament player