-
Notifications
You must be signed in to change notification settings - Fork 5
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
Usage requirements refactor #749
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #749 +/- ##
==========================================
+ Coverage 88.17% 88.18% +0.01%
==========================================
Files 152 152
Lines 6198 6198
==========================================
+ Hits 5465 5466 +1
+ Misses 733 732 -1
|
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.
Looks like you've changed all line endings from \n
(the Linux/Unix default) to \r\n
(the Windows default) 😅 The default Git setting on Windows is to convert all line endings to \n
when committing, and you can reset that setting to the default value by running git config --global core.autocrlf true
🙂 See the GitHub docs on line endings for more details.
Btw, do you want my review on your code? It will be detailed, but I won't do it to enforce some code standard on this repo; rather, I'll to try to teach conventions and good coding practices that will be useful in a programming career 🙂 No worries if you're not interested 😊 |
We need these changes as soon as possible for the new printers, but i'm still interested in the review for future improvement and learning. Thanks |
Worst case, it's always possible to just check out this branch on the server, if needed for whatever reason 🤠 But anyway: First, it would be great if you could convert the line endings, like I mentioned earlier, as the diff is pretty unreadable 😅 |
Proposed changes
Machine types and courses use a new permission class instead of boolean for usage requirements
Areas to review closely
Checklist
(If any of the points are not relevant, mark them as checked)
makemigrations
,makemessages
andcompilemessages
management commands and committed any changes that should be included in this PR