Thanks for sending a pull request! Please fill in the following content to let us know better about this change.
Please put an x in the box that applies
[ ] Bugfix
[ ] New feature
[X] Refactoring
[ ] Breaking change (any change that would cause existing functionality to not work as expected)
[ ] Documentation Update
[ ] Other (please describe)
Description
Describe what the change is
You don't need to explain HOW you change the code. Your code, including comments in the code should explicitly
self-describe enough about how you change the code.
rename migrations(del willing_to)
rename some columns, having the string "willing_to"
add choices.py
move the string from core/models.py to core/choices.py ( the string = CATEGORY_CHOICES)
For i18n, I make the commend makemessages.
Steps to Test This Pull Request
Steps to reproduce the behavior:
Go to '...'
Click on '....'
Scroll down to '....'
See error
Expected behavior
A clear and concise description of what you expected to happen.
Refacting the file.
Related Issue
If applicable, refernce to the issue related to this pull request.
1119
More Information
Screenshots
If applicable, add screenshots to help explain your problem.
Types of changes
Thanks for sending a pull request! Please fill in the following content to let us know better about this change. Please put an
x
in the box that appliesDescription
Describe what the change is You don't need to explain HOW you change the code. Your code, including comments in the code should explicitly self-describe enough about how you change the code.
choices.py
core/models.py
tocore/choices.py
( the string =CATEGORY_CHOICES
)makemessages
.Steps to Test This Pull Request
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen. Refacting the file.
Related Issue
If applicable, refernce to the issue related to this pull request.
1119
More Information
Screenshots If applicable, add screenshots to help explain your problem.
Additional context Add any other context about the problem here. You may also want to refer to how to wirte the perfect pull request