[Answer]-Error about django project path and module import rules

1👍

If you are trying with wsgi setup, you need to update the path in your wsgi script most likely wsgi.py

Otherwise, update your PYTHONPATH for this path.

UPDATE: you can import as

from myproject import dbUtils

Updating sys.path in settings.py doesn’t really a good place for that.

👤Rohan

Leave a comment