Typical Django Error

102 views
Skip to first unread message

Soumen Khatua

unread,
Jun 18, 2019, 6:16:56 AM6/18/19
to django...@googlegroups.com
Hi Folks,

After I turnded debug into False and Alowed host=['providedip','*']. It's showing like this:
    mod = import_module(mod_name)
  File "C:\Users\sou\AppData\Local\Programs\Python\Python36\lib\importlib\__
__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 994, in _gcd_import
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 953, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'views'

Please help me guys it's urgent.

Thank You


regards,
Soumen

bharat pamnani

unread,
Jun 18, 2019, 6:56:41 AM6/18/19
to django...@googlegroups.com
Its basically a file importing error from model thats why your view is showing error and saying No module name views check your importing file and make sure that file which you are importing is using in your program. I am sure it will fix the problem.



--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAPUw6WbAroJcmBD57Vs-Bpw7Q_fRu9FmpAArehC-pkn%2BxJFDrw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages