mirror of https://github.com/JohnHammond/CTFd.git
d2f8b4090d
* Fixes `populate.py` to assign captains to teams. * Adds `ondelete='CASCADE'` to most ForeignKeys in models * Closes #794 * Test reset in team mode to test removing teams with captains * Test deleting users/teams with awards to test cascading deletion * `gen_team()` test helper now creates users for the team and assigns the first one as captain * Added `Challenges.flags` relationship and moved the `Flags.challenge` relationship to a backref on `Challenges` |
||
---|---|---|
.. | ||
versions | ||
1_2_0_upgrade_2_0_0.py | ||
README | ||
alembic.ini | ||
env.py | ||
script.py.mako |
README
Generic single-database configuration.