Quantcast

Can't log in to admin interface:

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Can't log in to admin interface:

Christos Jonathan Hayward

In Why is Django not filling out variable entries? , insight based on a comment helped me get past the main obstacle I was struggling with, of not being able to get to the admin login screen.

However, after that was addressed, there was another other issue that was uncovered, issues that also related to the admin interface but don't seem to be immediately connected to the initially reported issue. Specifically:

While I can submit the login form, I don't seem to really seem to be able to log in. Every time I've entered my credentials I've been redirected to a Django admin login page, with the URL varying somewhat. I know it's treacherously easy to mistype a long password, but when I was getting login failures I used copy-and-paste to assign the same password as I was trying to log into again. So while mistyping a password is an easy trap to get stuck in, I adapted by trying an approach where the reassigned user password is the same pasted password as in trying to log in.

I tried manually entering the first and last character to eliminate the possibility of including unwanted whitespace, but it still doesn't work. Django has claimed incorrect login details for every administrative set of credentials I've offered. (I've also used python manage.py shell to confirm that the username for the superuser is what I thought it was: admin.

What if anything do I need to be able to log in to an administrative account, created by python manage.py createsuperuser?

(From http://stackoverflow.com/questions/42818766/how-can-i-get-the-django-admin-to-look-and-feel-its-normal-self )



--
Christos Jonathan Seth HaywardChristos Jonathan Seth Hayward, an Orthodox Christian author (main site • bookshelf).

If you read one of my books, I would ask you to very seriously consider The Best of Jonathan's Corner. It has favorites I've been collecting for years.

If you're looking for a place to start, why not Doxology?

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAE6_B5TJB%2BhTo%2Bx_kefFxd4c%2B8%3DfyGMk%3DkScuE6vfqbBJNrbyA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Can't log in to admin interface:

Melvyn Sopacua

On Wednesday 15 March 2017 14:27:55 C.J.S. Hayward wrote:

> Django has claimed incorrect login details for every

> administrative set of credentials I've offered. (I've also used

> python manage.py shell to confirm that the username for the superuser

> is what I thought it was: admin.

 

Any chance you have django.contrib.sites in INSTALLED_APPS but do NOT have a SITE_ID configured in settings.py?

--

Melvyn Sopacua

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/27587716.vO5QGuCTZL%40devstation.
For more options, visit https://groups.google.com/d/optout.
Loading...