Hi everyone, I need support with django admin page...
# support-questions
e
Hi everyone, I need support with django admin page. How do I make default login-password login on admin page work? Or if it is complicated, how do I integrate supertokens auth into django admin page?
r
hey @execreate @sattvikc
talk here please.
Not completely sure, would u like to try overriding the admin login to call the supertokens auth and then map it to django's super user? - https://stackoverflow.com/questions/11341663/django-override-admin-sites-login-form
e
nevermind, it works just out of the box if you configure your django cache backend correctly😅 I forgot to include username in my redis URL, that's why I was getting the error
redis.exceptions.ResponseError: WRONGPASS invalid username-password pair or user is disabled.
I mean, logging in using
django.contrib.auth.models.User
works fine with the default Django Admin config
s
oh alright
7 Views