Prompt file imported from luisrx7/flai-workshop-github-copilot-800 (
.github/prompts/update-octofit-tracker-app.prompt.md). Copyright stays with the author.
Update Django project files for octofit-tracker app
Django App Updates
- All Django project files are in the
octofit-tracker/backend/octofit_trackerdirectory.
- Update
settings.pyfor MongoDB connection and CORS. And make sureoctofit_tracker,rest_framework, anddjongoare inINSTALLED_APPS. - Update
models.py,serializers.py,urls.py,views.py,tests.py, andadmin.pyto support users, teams, activities, leaderboard, and workouts collections. - Ensure
/points to the api andapi_rootis present inurls.py.