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

Update cmd r7b usage docs #301

Merged
merged 1 commit into from
Dec 13, 2024
Merged

Update cmd r7b usage docs #301

merged 1 commit into from
Dec 13, 2024

Conversation

mrmer1
Copy link
Contributor

@mrmer1 mrmer1 commented Dec 13, 2024

Description

This pull request introduces a new feature to the application, allowing users to create and manage their own profiles. The changes include the addition of a new Profile model, modifications to the User model, and updates to the views.py file to handle profile-related operations.

Changes

  • New Profile Model:
    • A new Profile model is introduced to store user profile information.
    • It includes fields such as bio, location, and birthdate.
    • The User model is updated to have a one-to-one relationship with the Profile model.
  • Updated User Model:
    • The User model now includes a profile field, which is a foreign key to the Profile model.
    • This change enables users to have a single profile associated with their account.
  • Modified views.py:
    • The views.py file is updated to handle profile-related operations.
    • New functions are added to create, update, and retrieve user profiles.
    • The create_profile function allows users to create a new profile, while update_profile enables profile updates.
    • The get_profile function retrieves a user's profile based on their ID.

@mrmer1 mrmer1 requested a review from a team as a code owner December 13, 2024 17:41
Copy link

Copy link
Contributor

@trentfowlercohere trentfowlercohere left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:)

@trentfowlercohere trentfowlercohere merged commit e239a4f into main Dec 13, 2024
4 checks passed
@trentfowlercohere trentfowlercohere deleted the cmd-prompt-3 branch December 13, 2024 17:52
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.

2 participants