-
-
Notifications
You must be signed in to change notification settings - Fork 32
Feature/#48 drakeredwind01 accomplishment #476
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/#48 drakeredwind01 accomplishment #476
Conversation
Added new template for changing tables
updated the update template
Updated update table template
|
I think the extra commits in your PR is something I did. I redid some of those commits for formatting after you sync'd your code to them. But that's fine. I or you can get rid of them later. I think you skipped some of the steps in the tutorial. Most of that document is not optional. The tests have some flexibility if you know better ways to test. |
|
removed fields |
|
Closes #48 Overview: Key Changes:
Addressing Issue #48 Action Items:
|
…ly backend changes
| - id: flake8 | ||
| exclude: "^app/core/migrations/|^app/data/migrations/|^app/core/scripts" | ||
| args: [--max-line-length=119, --max-complexity=4, --pytest-fixture-no-parentheses] | ||
| args: [--max-line-length=119, --max-complexity=4, --pytest-fixture-no-parentheses, --extend-ignore=EXE002] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note: This change is fine since flake8's file check of "executable scripts should start with shebang" is broken for Windows filesystem.
@drakeredwind01 has the repo checked out to his Windows filesystem D:\ drive and NTFS has no notion of the executable bit. So it tells flake8 that all files are executable, including ones like app/core/admin.py that's not executable under POSIX. So flake8 complains and says it should have a shebang, which is wrong.
Anyway, pre-commit has its own check for this that does work with NTFS and we already have it enabled - id: check-executables-have-shebangs, so the flake8 one is redundant.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@drakeredwind01 you should delete this file too. I think you deleted the one in the other PR earlier.
|
I don't remember if this is ready for review or an in-progress PR that you wanted me to comment on. If it's in-progress, you should select "Convert to draft" in the top of the right sidebar on this page. It looks like you're still missing some changes such as registering the model with the admin site, and model tests. |
|
I tried. really hard several times. can't figure out how to do the rebase yet. i'll just copy everything. delete the commits and try again. hoping i get it in before someone else submits anything else. |
|
@drakeredwind01 you can start again if it's easier. But we do have guides for resolving merge conflicts involving database migrations. |
|
Closing since #530 supersedes this. |
Fixes #48
What changes did you make?
added the Accomplishment model with code for the API
Why did you make the changes (we will use this info to test)?
asked to in an issue