Search code examples
djangoadminweb-development-server

Django development server quits itself when accessing admin page


I am following the django docs tutorial to build a polls app i just created the superuser but whenever i try to access the admin page the server quits on its own with no error message that's in both chrome and firefox i'm on windows


Solution

  • You need to check your version numbers of Django and Python to ensure compatibility. There is a problem with Django 3.0 (the latest version) and with version 3.7.0 of Python and potentially its older versions as well.

    Try updating your Python installation to see if that fixes the issue.