Inheriting poorly coded python/django issue
Greetings fellow 'Charmers,
I've recently had the luck of "inheriting" the codebase from an outsourced project, in which the developers used the project name in all their calls.
Example: from projectname.someapp.models import MyModel
Although I am a terrible newby (background in classic ASP and Javascript to explain how far out of the loop I am), from the reading I've done I gather that this is the incorrect way to do this as it is bad for re-use and portability.
That being said, I'm stuck with a huge amount of code, all of which is using this non-recommended style.
Is there any way to make PyCharm work with this? Would I be better off researching how to do a global search and replace and cross my fingers that everything still works?
I apologize for my newby-ness, and unfortunately there's just not a ton of stuff floating around the net for this awesome dev environment. Anyone interested in getting paid to tutor? lol (only half joking)
Thanks for your time and for the high quality software.
Please sign in to leave a comment.