inflearn logo
강의

강의

N
챌린지

챌린지

멘토링

멘토링

N
클립

클립

로드맵

로드맵

지식공유

파이썬 사용자를 위한 웹개발 입문 A to Z Django + Bootstrap

blog 앱 만들기; Post 모델 만들기; admin에 추가하기

python manage.py runserver 친 후에 아래와 같은 문구들이 뜨면서 127.0.0.1:8000으로 가도 안 떠요 ㅠㅠ

252

kimsh806

작성한 질문수 10

0

Watching for file changes with StatReloader

Performing system checks...

System check identified no issues (0 silenced).

September 24, 2019 - 22:31:23

Django version 2.2.5, using settings 'my_site_prj.settings'

Starting development server at http://127.0.0.1:8000/

Quit the server with CTRL-BREAK.

Exception in thread django-main-thread:

Traceback (most recent call last):

  File "C:\github\django_sh_website\venv\lib\site-packages\django\core\servers\basehttp.py", line 45, in get_internal_wsgi_application

    return import_string(app_path)

  File "C:\github\django_sh_website\venv\lib\site-packages\django\utils\module_loading.py", line 17, in import_string

    module = import_module(module_path)

  File "C:\Users\kimsh\Anaconda3\lib\importlib\__init__.py", line 127, in import_module

    return _bootstrap._gcd_import(name[level:], package, level)

  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import

  File "<frozen importlib._bootstrap>", line 983, in _find_and_load

  File "<frozen importlib._bootstrap>", line 965, in _find_and_load_unlocked

ModuleNotFoundError: No module named 'my_site_prj.wsgi'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):

  File "C:\Users\kimsh\Anaconda3\lib\threading.py", line 917, in _bootstrap_inner

    self.run()

  File "C:\Users\kimsh\Anaconda3\lib\threading.py", line 865, in run

    self._target(*self._args, **self._kwargs)

  File "C:\github\django_sh_website\venv\lib\site-packages\django\utils\autoreload.py", line 54, in wrapper

    fn(*args, **kwargs)

  File "C:\github\django_sh_website\venv\lib\site-packages\django\core\management\commands\runserver.py", line 137, in inner_run

    handler = self.get_handler(*args, **options)

  File "C:\github\django_sh_website\venv\lib\site-packages\django\contrib\staticfiles\management\commands\runserver.py", line 27, in get_handler

    handler = super().get_handler(*args, **options)

  File "C:\github\django_sh_website\venv\lib\site-packages\django\core\management\commands\runserver.py", line 64, in get_handler

    return get_internal_wsgi_application()

  File "C:\github\django_sh_website\venv\lib\site-packages\django\core\servers\basehttp.py", line 50, in get_internal_wsgi_application

    ) from err

django.core.exceptions.ImproperlyConfigured: WSGI application 'my_site_prj.wsgi.application' could not be loaded; Error importing module.

bootstrap django python

답변 1

0

SungYong Lee

이 질문 이후에 다른 질문을 또 올리셨던데, 이 부분은 해결이 되셨나요? 

후속 강의

0

390

1

완성했습니다. 감사합니다

0

322

2

오늘 vps 에 domain 을 지정해주고 아직 활성화되지 않았는데

0

299

1

test 결과 두 가지 error 가 발생했습니다. 뭐가 잘못된 건지 도저히 모르겠습니다.

0

422

1

accounts/login 이 존재하지 않는다고 나옵니다

0

269

2

코드 질문입니다

0

248

1

포스트에 markdown을 사용해서 이미지를 추가할때

0

311

1

New Post 관련 질문드립니다.

0

179

1

이번 영상부터 각 포스트에 프리뷰 사진이 달라지셔서 질문 드립니다.

0

337

1

base 작업한 후 Category가 블로그 하단으로 내려갔습니다.

0

254

1

혹시 소스코드 전체가 담긴 주소를 좀 알 수 있을까요?

0

265

1

9분 경 테스트에서 Assretion Error가 발생합니다.

0

235

1

파이참 초기 설치 후 설정 관련해서 git에 항상 add되는 옵션을 체크했습니다.

0

346

3

F12를 눌러 console 창에서 오류를 확인할때 몇번째 줄인지 나오지 않습니다.

0

396

1

post view도 delete하려는데 막혀서 ㅠㅠ

0

197

1

"GET / HTTP/1.1" 400 143 그리고 "GET / HTTP/1.1" 404 2031

0

3304

3

연결이 안됩니다

0

506

8

서버에 연결하고 나면 그 후에 Cmder가 작동이 안되요

0

378

2

서버에 배포후 어드민계정

0

590

2

안녕하세요! 실서버에 올린 sqlite3의 데이터를 직접 확인하려면 어찌하나요?

0

2039

3

gitignore안먹히는현상

0

292

1

cmder 종료시 서버도 같이 종료됩니다.

0

220

1

' python manage.py makemigration blog ' 명령어 에러

0

588

2

python manage.py makemigrations 를 했을 때 오류가 납니다.

0

560

2