Build octofit app - #2
Open
nunopires2001 wants to merge 6 commits into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces new prompt files to guide automated fixes and updates for the octofit-tracker workshop, and adds essential Django backend files for project initialization and admin configuration. The changes focus on supporting GitHub Actions troubleshooting, Django project setup, and admin interface customization.
Prompt and Automation Enhancements:
.github/prompts/fix-step.prompt.md: A comprehensive prompt to diagnose and automatically fix validation issues for specific workshop steps (steps 2–5), detailing diagnostic checks, common fixes, and self-healing actions for both Django and React portions of the octofit-tracker project..github/prompts/update-octofit-tracker-app.prompt.md: A new prompt for updating Django project files, including instructions to updatesettings.py, core app files, and ensure the API root is properly configured.Django Backend Initialization:
manage.py: The standard Django entry point script for administrative tasks, enabling command-line management of the octofit-tracker project.asgi.py: ASGI configuration file for asynchronous server deployment, setting up the Django application for ASGI-compatible servers.Django Admin Customization:
octofit_tracker/admin.py: Registers the main models (User,Team,Workout,Activity,Leaderboard) with the Django admin site, providing custom list displays, filters, search fields, and read-only fields to enhance admin usability.