title: Unable to log in to django admin
body: <p>I know this question has been asked before, but either I don't understand how to apply the solutions provided or they don't work. I think my case may be much simpler.</p>
  
  <p>I am a beginner with Django and I'm following first the djangogirls tutorial. I installed Django in a virtual environment that I created with <code>conda</code>. The first time I tried it, I was perfectly able to create a superuser and log in to the account successfully. However, that time I created the project in <code>C:\Users\User\</code> and it was not very organized since there were a whole lot of files and folders there along with the project.</p>
  
  <p>Now, I created a second virtual environment and a new project, which is in F:, another partition of the same drive. I did everything I had done the first time, but when I tried to log in to the admin page, I get a message saying the credentials are incorrect. Actually, I created other two superusers (successfully), but always get the same message.</p>
  
  <p>I also created a third virtual environment and project (in the same partition where the OS is not), this time with pip, to follow exactly the same process in the djangogirls tutorial. However, the exact same thing happened. I thought maybe, for the project with the virtual environment created with <code>conda</code>, the project had to be in the same partition as the OS, which is why I created a third project using the same virtual environment but in the C drive. Always the same error.</p>
  
  <p>I tried creating a new superuser for the very first app I was creating (the one that wasn't organized), and it was created successfully and I was able to log in successfully too.</p>
  
  <p>From all the answers I have read, there might be something wrong with the database, but I don't understand how to apply those solutions.</p>
  
  <p>I'm using Windows 10. Python 3.7.6 and Django 3.0.3.</p>
  
  <p><strong>EDIT 1</strong></p>
  
  <p>The exact steps I'm following (and their order) are the following:</p>
  
  <ol>
  <li>Create project with</li>
  </ol>
  
  <p><code>django-admin.exe startproject myproject .</code></p>
  
  <p>in a dedicated directory in the drive F (partition. Windows is in C).</p>
  
  <ol start="2">
  <li><p>In the settings.py file, change the time zone, add the path for static files with <code>STATIC_ROOT = os.path.join(BASE_DIR, 'static')</code>, change <code>ALLOWED_HOSTS</code> value with <code>ALLOWED_HOSTS = ['127.0.0.1', '.pythonanywhere.com']</code>, as the tutorial specifies.</p></li>
  <li><p>I'm using the default sqlite3, and setting it up with</p></li>
  </ol>
  
  <p><code>python manage.py migrate</code></p>
  
  <p>After this I run the server and everything looks great so far.</p>
  
  <ol start="4">
  <li>Create the application with</li>
  </ol>
  
  <p><code>python manage.py startapp blog</code></p>
  
  <p>as the tutorial specifies.</p>
  
  <ol start="5">
  <li>Add the app to the <code>INSTALLED_APPS</code> variable</li>
  </ol>
  
  <pre><code>INSTALLED_APPS = [
      'django.contrib.admin',
      'django.contrib.auth',
      'django.contrib.contenttypes',
      'django.contrib.sessions',
      'django.contrib.messages',
      'django.contrib.staticfiles',
      'blog.apps.BlogConfig',
  ]
  </code></pre>
  
  <ol start="6">
  <li><p>Create a new model for a blog post.</p></li>
  <li><p>Add the new model to the database, like so:</p></li>
  </ol>
  
  <pre><code>python manage.py makemigrations blog
  python manage.py migrate blog
  </code></pre>
  
  <p><strong>EDIT 2</strong> (forgot to add this step)</p>
  
  <ol start="8">
  <li>Register the model in the admin.py file with </li>
  </ol>
  
  <pre><code>from django.contrib import admin
  from .models import Post
  
  admin.site.register(Post)
  </code></pre>
  
  <ol start="9">
  <li>Create a super user with <code>python manage.py createsuperuser</code>, which is successful.</li>
  </ol>
  
  <p>Then, after doing this, I can't log in, which originally worked.</p>