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

Issue 80 createmodel #170

Merged
merged 13 commits into from
Sep 4, 2020
Merged

Conversation

watchtheblur
Copy link
Member

What type of PR is this? (check all applicable)

  • πŸ› Bug Fix
  • ✨ Feature (e.g. API change, enhancement, addition, etc.)
  • ♻️ Refactor
  • πŸ“ Documentation
  • πŸ”– Release
  • 🚩 Other (concerning: )

Context

Closes Issue #80

This should be merged in after #81

Other Related Tickets & Documents (as needed)

This relates to Issue #79

Implementation Details

Installed osprojects model by editing models.py, and installed app by adding osprojects to base.py. Ran migrations for osprojects

docker-compose run --rm app python ./manage.py makemigrations osprojects
docker-compose run --rm app python ./manage.py migrate

New Libraries/Dependancies Introduced (Fill out as needed)

Any new migration files added?

  • πŸ‘ yes
  • πŸ™… no, because they aren't needed

Did you add tests?

Code added or changed without test coverage or good reason for exemption won't be approved.

  • πŸ‘ yes
  • πŸ™‹ no, because I need help
  • πŸ™… no, because they aren't needed

Did you add documentation?

  • πŸ“œ readme.md
  • πŸ“œ contributing.md
  • πŸ“œ wiki entry
  • πŸ™‹ I'd like someone to help write documentation, and will file a new issue for it
  • πŸ™… no documentation needed

@lpatmo lpatmo closed this Aug 27, 2020
@lpatmo lpatmo reopened this Aug 27, 2020
@codecov
Copy link

codecov bot commented Aug 27, 2020

Codecov Report

❗ No coverage uploaded for pull request base (main@ca44c1f). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #170   +/-   ##
=======================================
  Coverage        ?   83.78%           
=======================================
  Files           ?       32           
  Lines           ?      518           
  Branches        ?        0           
=======================================
  Hits            ?      434           
  Misses          ?       84           
  Partials        ?        0           

Continue to review full report at Codecov.

Legend - Click here to learn more
Ξ” = absolute <relative> (impact), ΓΈ = not affected, ? = missing data
Powered by Codecov. Last update ca44c1f...0574967. Read the comment docs.

@watchtheblur watchtheblur marked this pull request as ready for review August 28, 2020 00:03
@watchtheblur watchtheblur changed the title [Draft] Issue 80 createmodel Issue 80 createmodel Aug 28, 2020
@BethanyG BethanyG self-requested a review August 28, 2020 03:25
Copy link
Member

@BethanyG BethanyG left a comment

Choose a reason for hiding this comment

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

LGTM!

  1. Downloaded branch
  2. Ran migrations
  3. Logged into DB and verified tables were created
  4. Started app and verified that no startup problems were logged.

@BethanyG
Copy link
Member

BethanyG commented Sep 4, 2020

@lpatmo - should we be merging this?

@lpatmo
Copy link
Member

lpatmo commented Sep 4, 2020

Yep! Thought I already did, sorry!

@lpatmo lpatmo merged commit 2611abd into codebuddies:main Sep 4, 2020
@BethanyG
Copy link
Member

BethanyG commented Sep 8, 2020

@lpatmo So I can't exactly revert this or it's associated change #81 -- but I should. This PR should not have been approved - it is missing tests!! So the next thing we need to make sure to do for this endpoint is add the tests in for this and for all other issues. I was distracted. But I won't be next time!!

@lpatmo
Copy link
Member

lpatmo commented Sep 8, 2020

lol, I didn't forget -- I honestly didn't think this PR needed tests, but then I looked up an example and it (kinda??) makes sense to me. I documented in #179!

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.

3 participants