Closed WilliamHester closed 8 years ago
What does the closed
field do? Does it just specify if a given competition is active? Is it necessary, or can it just be computed from start/end times?
The code to a competition needs to be updated to include it, if it's going to remain. Right now trying to create a comp in the app throws a SQLAlchemy IntegrityError saying that "'closed' cannot be null"
The closed
field is for competitions that can only have users registered by admins. It's really for a feature that hasn't been implemented yet but will definitely be implemented soon. I'm not sure why that error is being thrown (probably because I forgot to assign a value to it in the competition creation).
You can create a default value for it in models.py, but you have to be a little careful about. You can see what I did in problem_manager/models.py
Looks good. TIME TO BETA!
Allows creation/modification of teams for competitions. Fixes #24 and fixes #25 when combined with #49. Merge #49 first, as this is based off of that.