django - Redefine class/model of python module -
i want use django-achievements
(link) module in app, lack fields in it's model. example, want add charfield
path picture of badge/achievement. need modify module's engine.py
file that.
what right way that? download module main app' folder , modify original files, or can somehow redefine methods/classes of original models.py
, engine.py
locally without modifing original files?
i'd fork , make own modifications directly source. if it's improvement can create pull request , contribute code actual repository (not required, can keep own use).
Comments
Post a Comment