Home>

villages to prescribe the views and urms, it was prescribed, as a result, when trying to start the project on the Python3 manage.py runserver team, I get errors

(Nata &
Paints) yslepenko @ US131: ~ /pycharmProjects /NATA &
Paints /Root $ Python3 Manage.py runserver
Watching for File Changes with Statreloader
PERFORING SYSTEM CHECKS ...
Exception in Thread Django-Main-Thread:
Traceback (MOST Recent Call Last):
  File "/usr/Lib/Python3.8/threading.py", line 932, in _bootstrap_inner
    self.run ()
  File "/usr/Lib/Python3.8/threading.py", line 870, in run
    Self._Target (* Self._Args, ** self._kwargs)
  File "/Home /Yslepenko /PycharmProjects /It -Blog /Nata &
Paints /Lib /Python3.8 /Site-Packages /Django /Utils /AutoReload.py ", Line 53, in Wrapper
    Fn (* Args, ** kwargs)
  File "/Home /Yslepenko /PycharmProjects /It -Blog /Nata &
Paints /Lib /Python3.8 /Site-Packages /Django /Core /Management /Commands /Runserver.py ", Line 118, in Inner_Run
    Self.Check (Display_NUM_ERRORS= TRUE)
  File "/Home /Yslepenko /PycharmProjects /It -Blog /Nata &
Paints /Lib /Python3.8 /Site-Packages /Django /Core /Management /Base.py ", Line 392, In Check
    All_issues= Checks.Run_Checks (
  File "/Home /Yslepenko /PycharmProjects /It -Blog /Nata &
Paints /Lib /Python3.8 /Site-Packages /Django /Core /Checks /Registry.py ", Line 70, in Run_Checks
    New_errors= Check (app_configs= app_configs, databases= Databases)
  File "/Home /Yslepenko /PycharmProjects /It -Blog /Nata &
Paints /Lib /Python3.8 /Site-Packages /Django /Core /Checks /URLS.PY ", LINE 13, IN CHECK_URL_CONFIG
    RETURN CHECK_RESOLVER (RESOLVER)
  File "/Home /Yslepenko /PycharmProjects /It -Blog /Nata &
Paints /Lib /Python3.8 /Site-Packages /Django /Core /Checks /URLS.PY ", Line 23, In Check_Resolver
    RETURN CHECK_METHOD ()
  File "/Home /Yslepenko /PycharmProjects /It -Blog /Nata &
Paints /Lib /Python3.8 /Site-Packages /Django /URLS /RESOLVERS.PY ", LINE 408, IN CHECK
    For Pattern in Self.url_patterns:
  File "/Home /Yslepenko /PycharmProjects /It -Blog /Nata &
Paints /Lib /Python3.8 /Site-Packages /Django /Utils /Functional.py ", Line 48, In __Get__
    Res= Instance .__ DICT __ [Self.name]= Self.func (Instance)
  File "/Home /Yslepenko /PycharmProjects /It -Blog /Nata &
Paints /Lib /Python3.8 /Site-Packages /Django /URLS /RESOLVERS.PY ", LINE 589, IN URL_PATTERNS
    Patterns= GetAttr (Self.urlconf_Module, URLPATTERNS, Self.urlconf_Module)
  File "/Home /Yslepenko /PycharmProjects /It -Blog /Nata &
Paints /Lib /Python3.8 /Site-Packages /Django /Utils /Functional.py ", Line 48, In __Get__
    Res= Instance .__ DICT __ [Self.name]= Self.func (Instance)
  File "/Home /Yslepenko /PycharmProjects /It -Blog /Nata &
Paints /Lib /Python3.8 /Site-Packages /Django /URLS /RESOLVERS.PY ", LINE 582, IN URLCONF_MODULE
    Return Import_Module (Self.urlconf_name)
  File "/usr/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 975, in _find_and_load_unlocked
  File "<
frozen importlib._bootstrap >
", Line 671, in _Load_unlocked
  File "<
frozen importlib._bootstrap_external >
", Line 783, In Exec_Module
  File "<
frozen importlib._bootstrap >
", Line 219, in _call_with_frames_removed
  File "/Home /Yslepenko /PycharmProjects /Nata &
PAINTS /ROOT /ROOT /URLS.PY, LINE 22, IN <
Module >
    Path ('Blog.urls')),
  File "/Home /Yslepenko /PycharmProjects /It -Blog /Nata &
Paints /Lib /Python3.8 /Site-Packages /Django /URLs /conf.py ", Line 34, in include
    urlconf_module= import_module (urlconf_module)
  File "/usr/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 975, in _find_and_load_unlocked
  File "<
frozen importlib._bootstrap >", Line 671, in _load_unlocked file" <
frozen importlib._bootstrap_external >
", Line 783, In Exec_Module
  File "<
frozen importlib._bootstrap >
", Line 219, in _call_with_frames_removed
  File "/Home /Yslepenko /PycharmProjects /Nata &
Paints /root /blog /urls.py ", Line 2, In <
Module >
    from .views import _list, create, details, edit, delete
  File "/Home /Yslepenko /PycharmProjects /Nata &
Paints /root /blog /views.py ", Line 2, In <
Module >
    from .forms import postform, postform2
MODULENOTFOUDERROR: NO MODULE NAMED 'BLOG.FORMS'

The most important part of the mistake forgot to show

andreymal2021-04-04 23:51:11

First, any text, including the text of the error, should be uploading to the text, not a picture, and secondly, as @ndreymal has already noticed, the most important and informative part of the error description is usually contained by the end.

V-Mor2021-04-05 01:11:35

Show your error completely!

Миша2021-04-05 03:45:00

Under your question there is a edit button, copy the full text of the error and insert into your question.

Интик2021-04-05 05:59:22

@Andreymal added

Julia2021-04-05 07:05:18