Skip to content

Add command for creating mock competitions #502

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 14 commits into from
Apr 23, 2025

Conversation

kyepskee
Copy link
Contributor

@kyepskee kyepskee commented Apr 4, 2025

Implements #496.

@kyepskee kyepskee self-assigned this Apr 4, 2025
@kyepskee kyepskee force-pushed the mock-competition-command branch from 7554858 to e6fbb23 Compare April 8, 2025 20:17
@kyepskee kyepskee marked this pull request as ready for review April 8, 2025 20:18
@kyepskee kyepskee requested a review from MasloMaslane as a code owner April 8, 2025 20:18
kyepskee added 2 commits April 8, 2025 22:33
create_mock_competition creates a lot of rubbish in the Django database,
so it's important to warn users about that. Also, I add a suggestion to
use dumpdata and loaddata commands so that the previous state of the
database can be easily restored.
I make one of the named arguments of the command required, so that it's
harder to execute by mistake, as it can fill your database with rubbish.
@twalen twalen merged commit eeda7ee into sio2project:master Apr 23, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants