django-code-generator
django-code-generator copied to clipboard
Update templates.py
Handling directories in a way that works on both Linux and Windows
Thanks for your contribution @reedjones . The commit, however, has several unnecessary changes, such as unnecessary imports or the print in the init of the class. As a suggestion, the problem could be more easily fixed by changing line 25 and using os.sep
instead of '/'
.