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

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -