Skip to content

[Bug] ❌ - Fail populate_db.py #15

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

Open
thesminc opened this issue Apr 17, 2025 · 0 comments
Open

[Bug] ❌ - Fail populate_db.py #15

thesminc opened this issue Apr 17, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@thesminc
Copy link

Summary

Getting this error using Agent:
Please use Copilot agent mode to add test data with the file populate_db.py.

How to reproduce

After this prompt:


Based on the example monafit tracker app in the docs/mona-high-school-fitness-tracker.md file and use octofit as the name for Merington's high school's app. Let's populate the octofit_db database with test data. Use the same data from docs/mona-high-school-fitness-tracker.md file.

  1. Create a test data file in the octofit-tracker/backend/octofit_tracker directory.
  2. Run makemigrations and migrate the database in a Python virtual environment.
  3. Populate the octofit_db database with test data for users, teams, activities, leaderboard, and workouts collections based on test data in docs/mona-high-school-fitness-tracker.md octofit-tracker/backend/octofit_tracker/management/commands/populate_db.py.
  4. Verify the test data is populated in the octofit_db database.

Don't proceed with the next activity until all of these steps are completed.


@thesminc thesminc added the bug Something isn't working label Apr 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

1 participant