Open ascripter opened 9 years ago
I'll check this and well this repo i sno longer used, so that's the reason I saw your issue till now, if you keep using django click, there's a new repo, and even a new package, thanks for contributing, I will check your code
Your code totally works and has been merged into the project, and now it does not open an empty file if template not found :) thanks
Even if a clicked template does exist, it won't open if it's not in the "templates" base-directory. I've modified the code so that it traverses all subdirectories of "templates" and opens the template if it's found. If nothing's found, still open's an empty file. It's a quick, not a clean solution and not thoroughly testet
django_click.py: