ModuleNotFoundError: No module named 'pageflows.website'

I am making a project in Django, and trying to optimise my code and trying to implement Don't repeat techniques. Here I have three class with same functions in it, which I am calling. I put these functions into utils.py file ad just used there names in context after importing them in my views. In those functions I am using the models to get the data, I have imported them in utils but after all this it raises an error **ModuleNotFoundError: No module named 'pageflows.website' **

I don't get it why this error occured? Kindly help me out in this.

I don't get it why this error occured? Kindly help me out in this.

Вернуться на верх