If its frozen, perhaps your server is not running <https://about.me/maninder.s.kumar?promo=email_sig&utm_source=product&utm_medium=email_sig&utm_campaign=edit_panel&utm_content=thumb> Maninder Kumar about.me/maninder.s.kumar <https://about.me/maninder.s.kumar?promo=email_sig&utm_source=product&utm_medium=email_sig&utm_campaign=edit_panel&utm_content=thumb>
On Tue, Sep 1, 2020 at 9:57 AM Haris Ahmad <xhado...@gmail.com> wrote: > Hello dear, > > add that app in settings.py in installed apps > Eg. "base.apps.BaseAppConfig" > Or simply > "base" > > Kind regards Haris > > On Tue, 1 Sep 2020, 3:59 AM Manal Helal, <manalor...@gmail.com> wrote: > >> Hi >> >> I am using DJango to the first time and appreciate some explanation to >> the error I am receiving. I followed the steps in the polls app tutorial: >> >> https://docs.djangoproject.com/en/3.1/intro/tutorial01/ >> >> and getting the following error when running: python manage.py runserver >> >> *path('app/', include('app.urls')),* >> >> * File >> "/home/me/website/venv/lib/python3.8/site-packages/django/urls/conf.py", >> line 34, in include* >> >> * urlconf_module = import_module(urlconf_module)* >> >> * File "/home/me/opt/python-3.8.1/lib/python3.8/importlib/__init__.py", >> line 127, in import_module* >> >> * return _bootstrap._gcd_import(name[level:], package, level)* >> >> * File "<frozen importlib._bootstrap>", line 1014, in _gcd_import* >> >> * File "<frozen importlib._bootstrap>", line 991, in _find_and_load* >> >> * File "<frozen importlib._bootstrap>", line 973, in >> _find_and_load_unlocked* >> >> *ModuleNotFoundError: No module named 'app.urls'* >> >> I tried adding >> >> from app import views >> >> >> but not working and I am obviously have a long way understanding the >> classes and directory structure of Django and appreciate a clarification to >> make things easier, >> >> >> thank you in advance >> >> >> Manal >> >> -- >> 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+unsubscr...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/django-users/a0c75269-ad22-4860-b6bd-3b9f69b8cfd7n%40googlegroups.com >> <https://groups.google.com/d/msgid/django-users/a0c75269-ad22-4860-b6bd-3b9f69b8cfd7n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- > 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+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/CAG0UDYZtwYzMd1vJoLu-4EMP3inrJ3oE%2BXOk04q06SsLAitkFA%40mail.gmail.com > <https://groups.google.com/d/msgid/django-users/CAG0UDYZtwYzMd1vJoLu-4EMP3inrJ3oE%2BXOk04q06SsLAitkFA%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CABOHK3SyXHAr%2BJjKrRb8TahbmC%2BjjyDcqKyLwc7B1%2BoMbWYNHQ%40mail.gmail.com.