Skip to content

Build octofit app - #2

Open
nunopires2001 wants to merge 6 commits into
mainfrom
build-octofit-app
Open

Build octofit app#2
nunopires2001 wants to merge 6 commits into
mainfrom
build-octofit-app

Conversation

@nunopires2001

Copy link
Copy Markdown
Owner

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:

  • Added .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.
  • Added .github/prompts/update-octofit-tracker-app.prompt.md: A new prompt for updating Django project files, including instructions to update settings.py, core app files, and ensure the API root is properly configured.

Django Backend Initialization:

  • Added manage.py: The standard Django entry point script for administrative tasks, enabling command-line management of the octofit-tracker project.
  • Added asgi.py: ASGI configuration file for asynchronous server deployment, setting up the Django application for ASGI-compatible servers.

Django Admin Customization:

  • Added 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.

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.

1 participant