lumenwrites / django-react-blog

Simple blog built with Django and React/Redux, deployed with Docker, and served with nginx/uwsgi.
http://digitalmind.io
MIT License
563 stars 95 forks source link

Login shows Bad Login Info #7

Open nggary opened 6 years ago

nggary commented 6 years ago

I've followed all the steps mentioned in readme docker-compose up docker exec -i -t backend /bin/bash python3.5 manage.py migrate python3.5 manage.py createsuperuser (create root user)

But when I goto localhost/login and login, the webpage show "Bad Login Info"

leikoilja commented 5 years ago

Hey @nggary . Most likely docker backend image was silently failing to build and start. That's why you could access frontend, but when trying to login you are accessing data from db using django restframework, while the backend has failed to start to begin with.

It has been fixed in this PR