-
Notifications
You must be signed in to change notification settings - Fork 57
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
fix: django import error #162
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #162 +/- ##
=======================================
Coverage 98.94% 98.94%
=======================================
Files 71 71
Lines 1228 1228
Branches 70 70
=======================================
Hits 1215 1215
Misses 8 8
Partials 5 5
☔ View full report in Codecov by Sentry. |
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.
@src-r-r Thank you for the PR.
Can I suggest replacing ungettext
by ngettext
everywhere as opposed to importing as? The unicode functions are gone for good.
Yikes, sorry about that, been stressing out about finding sustainable work so haven't gotten to it. It's super-quiet today so I'll work on it (BTW, if you happen to know of anyone who needs a team lead, feel free to reach out). |
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.
Thank you for the update!
I guess the ngettext as ngettext
is probably unnecessary.
Also, you'll have to remove mptt
from the test settings, since mptt
is gone from django-filer. (See here:
'mptt', |
HI, it looks like this change is required to use Django 4.2. Is there a plan to release those changes? |
Description
Just a simple PR to fix the import error. Line 5-9 are the "real" changes.
All the other changes you see are just the linter cleaning up the code.
Related resources
Checklist
master
Slack to find a “pr review buddy” who is going to review my pull request.