Home > Back-end >  Django: I need to supersede a particular Python module in a no-longer-maintained package
Django: I need to supersede a particular Python module in a no-longer-maintained package

Time:06-10

Well, I think that the "Pinax" package is no longer maintained ...

Anyway, it refers to a now-deprecated django.utils.tzinfo package. I need to make a one-line change to one source module, and then cause that version of the package to be loaded instead of the one in the module directory. Is there a generic way in Django to do that sort of thing? (I know that some packages such as the Machina forum software can do this.)

CodePudding user response:

I would uninstall the module you want to modify from your virtual environment, then fork the module to your github, commit your changes, and install it to your virtual environment from your github like

python -m pip install git https://github.com/path/to/repo
  • Related