DEV Community

Charisma Elohe
Charisma Elohe

Posted on

1

Django Admin Login Problem

While creating your Django application, you're probably unable to login as the administrator to your site. And this can handicap you since you lose control.

This is a Django x NonRelational Databases limitation

Solution
While creating your superuser, ensure that your server is not running.

  • Stop your server from running . Ctrl + C for those in local webserver development

  • Create superuser python manage.py createsuperuser

  • Run your webserver python manage.py runserver

You're good to go.

Top comments (0)

AWS Q Developer image

Your AI Code Assistant

Automate your code reviews. Catch bugs before your coworkers. Fix security issues in your code. Built to handle large projects, Amazon Q Developer works alongside you from idea to production code.

Get started free in your IDE

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay