Использование Django 3.0 через Pycharm. После первого запуска runserver
я получаю следующие ошибки. Кто-нибудь знает? Проект полностью пуст. До сих пор выполнялись только «startproject» и «runserver».
Запускается runserver, но как только я открываю ссылку для просмотра в браузере, я получаю следующее сообщение?
You have 17 unapplied migration(s). Your project may not work properly until you apply the migrations for app(s): admin, auth, contenttypes, sessions.
Run 'python manage.py migrate' to apply them.
April 02, 2020 - 21:37:53
Django version 3.0.3, using settings 'django_devel_app.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CTRL-BREAK.
[02/Apr/2020 21:37:56] "GET / HTTP/1.1" 200 16351
----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 64833)
Traceback (most recent call last):
File "C:\Users\BJS\anaconda3\envs\djangoproject\lib\socketserver.py", line 650, in process_request_thread
self.finish_request(request, client_address)
File "C:\Users\BJS\anaconda3\envs\djangoproject\lib\socketserver.py", line 360, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "C:\Users\BJS\anaconda3\envs\djangoproject\lib\socketserver.py", line 720, in __init__
self.handle()
File "C:\Users\BJS\anaconda3\envs\djangoproject\lib\site-packages\django\core\servers\basehttp.py", line 174, in handle
self.handle_one_request()
File "C:\Users\BJS\anaconda3\envs\djangoproject\lib\site-packages\django\core\servers\basehttp.py", line 182, in handle_one_request
self.raw_requestline = self.rfile.readline(65537)
File "C:\Users\BJS\anaconda3\envs\djangoproject\lib\socket.py", line 669, in readinto
return self._sock.recv_into(b)
ConnectionAbortedError: [WinError 10053] An established connection was aborted by the software in your host machine
----------------------------------------
Not Found: /favicon.ico
[02/Apr/2020 21:37:57] "GET /favicon.ico HTTP/1.1" 404 1982
----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 64834)
Traceback (most recent call last):
File "C:\Users\BJS\anaconda3\envs\djangoproject\lib\socketserver.py", line 650, in process_request_thread
self.finish_request(request, client_address)
File "C:\Users\BJS\anaconda3\envs\djangoproject\lib\socketserver.py", line 360, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "C:\Users\BJS\anaconda3\envs\djangoproject\lib\socketserver.py", line 720, in __init__
self.handle()
File "C:\Users\BJS\anaconda3\envs\djangoproject\lib\site-packages\django\core\servers\basehttp.py", line 174, in handle
self.handle_one_request()
File "C:\Users\BJS\anaconda3\envs\djangoproject\lib\site-packages\django\core\servers\basehttp.py", line 182, in handle_one_request
self.raw_requestline = self.rfile.readline(65537)
File "C:\Users\BJS\anaconda3\envs\djangoproject\lib\socket.py", line 669, in readinto
return self._sock.recv_into(b)
ConnectionAbortedError: [WinError 10053] An established connection was aborted by the software in your host machine