I am trying to login to admin url of the Django post creating superuser through command prompt. After i clicked log in button i am getting "Python has stopped working".
Python Ver: 3.7.0 Django Ver: 3.0
Step 1: Created website using django-admin command
Step 2: Using runserver command verified Django Default home page is loading
Step 3: Tried admin/ post creating super admin users.
Step 4: Post Login button click, "Python Stopped working" error is displayed.
What I tried to solve this issue without any success
- Verified through shell my created user is active, superadmin, is_staff and all are true
from django.contrib.auth import authenticate
u = authenticate(username="username", password="password")
Tried adding and removing
SESSION_COOKIE_SECURE = Falseinsettings.pyVerifed
ALLOWED_HOSTS = []insettings.pyWhat should I do to see the admin page?