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

Feature/technologies #42

Merged
merged 2 commits into from
Sep 3, 2024
Merged

Feature/technologies #42

merged 2 commits into from
Sep 3, 2024

Conversation

bartczak-pa
Copy link
Owner

@bartczak-pa bartczak-pa commented Sep 3, 2024

Summary by Sourcery

Add a new Technology model to the portfolio application, including a migration file for database schema updates. Enhance the Hobby model by adding type annotations to its str method.

New Features:

  • Introduce a new Technology model with a unique name field to the portfolio application.

Enhancements:

  • Add type annotations to the str method in the Hobby model.

@bartczak-pa bartczak-pa changed the base branch from master to dev September 3, 2024 17:18
Copy link
Contributor

sourcery-ai bot commented Sep 3, 2024

Reviewer's Guide by Sourcery

This pull request introduces a new 'Technology' model to the portfolio app and updates the 'Hobby' model's str method. It also includes the corresponding migration file for the new 'Technology' model.

File-Level Changes

Change Details Files
Added a new 'Technology' model
  • Created a new model class 'Technology' with a 'name' field
  • Set 'verbose_name_plural' to 'Technologies' in the Meta class
  • Implemented str method to return the technology name
bartczak_tech/portfolio/models.py
Updated the 'Hobby' model's str method
  • Added return type annotation -> str to the str method
bartczak_tech/portfolio/models.py
Created a migration for the new 'Technology' model
  • Generated a new migration file for creating the 'Technology' model
  • Defined the 'Technology' model fields in the migration
  • Set the migration dependencies
bartczak_tech/portfolio/migrations/0002_technology.py

Tips
  • Trigger a new Sourcery review by commenting @sourcery-ai review on the pull request.
  • Continue your discussion with Sourcery by replying directly to review comments.
  • You can change your review settings at any time by accessing your dashboard:
    • Enable or disable the Sourcery-generated pull request summary or reviewer's guide;
    • Change the review language;
  • You can always contact us if you have any questions or feedback.

@bartczak-pa bartczak-pa merged commit 1f8d5b4 into dev Sep 3, 2024
3 checks passed
@bartczak-pa bartczak-pa deleted the feature/technologies branch September 6, 2024 14: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.

1 participant