Skip to content
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

Backend: add seeding options #194

Closed
EwoutV opened this issue Mar 29, 2024 · 1 comment
Closed

Backend: add seeding options #194

EwoutV opened this issue Mar 29, 2024 · 1 comment
Assignees
Labels

Comments

@EwoutV
Copy link
Contributor

EwoutV commented Mar 29, 2024

Now, it's hard to test with actual data when someone logs in as a test user locally. When DEBUG=True, it would be nice if the following happens when a new user is made:

  • Automatically make the user a professor, assistant and student
  • Add courses to the student, professor and assitant models, spanning over multiple years
  • Add projects to these courses

Next to this, we should look into the package django-faker to seed our database with (a lot of) realistic data, e.g. generate 1000 fake courses with projects, 10.000 fake students...

@EwoutV EwoutV added this to the Frontend milestone milestone Mar 29, 2024
@EwoutV EwoutV self-assigned this Mar 29, 2024
@EwoutV EwoutV changed the title Add seeding options Backend: add seeding options Apr 5, 2024
@EwoutV EwoutV assigned Topvennie and tyboro2002 and unassigned EwoutV Apr 5, 2024
@EwoutV
Copy link
Contributor Author

EwoutV commented Apr 9, 2024

Closed by #248

@EwoutV EwoutV closed this as completed Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants