You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Investigate requirements for removing junction/base/monkey.py #641
investigating why this was added (possibly by looking that the git blame for that bit of code)
understanding what the effects of removing this code would be (what uses it!?)
whether there need to be changes to this code or some other code in the codebase that would work better, to allow for dropping the monkeypatching
Assuming that goes as I'd expected it to, the next (final) step would be a PR making the relevant code changes and removing this file from the codebase.
Activity
CruiseDevice commentedon Jun 5, 2020
@pradyunsg Hi, can you please explain more on what needs to be done here and what exactly is happening in this file?
pradyunsg commentedon Jun 11, 2020
https://github.com/pythonindia/junction/blob/master/junction/base/monkey.py performs monkeypatches to Django's functions. monkeypatching is usually an anti-pattern and in this case, as far as I can tell, it is something that shouldn't be necessarily needed.
The resolution for this issue would involve:
Assuming that goes as I'd expected it to, the next (final) step would be a PR making the relevant code changes and removing this file from the codebase.