I tried cross importing functions from modules, and couldn't understand how to solve it, tried to add if name == main in main app, didn't worked though. Guess it works somehow different in Django , and much complex to make importing that way. Moved views to views.py, template rendering function to another module and it worked.
I tried cross importing functions from modules, and couldn't understand how to solve it, tried to add if name == main in main app, didn't worked though. Guess it works somehow different in Django , and much complex to make importing that way. Moved views to views.py, template rendering function to another module and it worked.