Django can't find user with 'python manage.py changepassword' -


i've got code (using python 3.4, django 1.7, , postgresql) pushed heroku. worked fine until added login. on local machine, used shell add user, create password, , save user/password. pattern worked locally, foreman.

the setup seems have worked:

heroku run python3 manage.py shell = user.objects.get(id=1) 

the server returns

<user: {'username':'me'}>.  

asking a.password returns hashed password changes when a.set_password('blah') , a.save().

that's , normal, except username/password (unhashed) won't log me in. when run:

heroku run python3 manage.py changepassword me 

heroku responds with:

commanderror: user 'me' not exist 

how can user saved , retrievable in shell, implying it's in database, not found otherwise using "manage.py changepassword"?

most importantly, how can log website on heroku?

****edit**** ran python manage.py createsuperuser in heroku shell create user log in. once did, saw none of css loaded. i'm not sure how that's related, 2 big problems @ same time make me suspicious it's totally unrelated.


Comments

Popular posts from this blog

css - SVG using textPath a symbol not rendering in Firefox -

Java 8 + Maven Javadoc plugin: Error fetching URL -

order - Notification for user in user account opencart -