title: Django server stops immediatly after login into admin page
body: <h1>Trying to login to django admin page immediately after clicking login button django server stops</h1>
  
  <p>New to Django trying to create a project in a virtual environment using venv. These are the following steps i did.</p>
  
  <p>1.created a folder named api</p>
  
  <p>2.created a virtual environment using <code>python -m venv vapi</code></p>
  
  <p>3.installed django and ran initial migrations then created super user</p>
  
  <pre><code>pip install django
  django-admin startproject library .
  python manage.py migrate
  python manage.py createsuperuser
  </code></pre>
  
  <p>now tried to login to django adminpage</p>
  
  <p>I haven't changed anything in setting.py file  </p>
  
  <p>using default sqllite db</p>
  
  <p>python 3.7
  django-admin 3.0</p>