Django admin no recuerda mi superusuario

43 views
Skip to first unread message

Francisco Muller

unread,
Oct 13, 2019, 7:23:40 PM10/13/19
to Django users
When creating a super user in django with python3 manage.py createsuperuser
and at another time I want to log in to the administrator of my project with my super user who does not let me connect with my username and password.
What should I change in the settings so that django can remember my superuser account every time I log in?

DANIEL URBANO DE LA RUA

unread,
Oct 13, 2019, 7:54:26 PM10/13/19
to django...@googlegroups.com
No tienes nada que hacer en el setting 

--
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 django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/ccf5f81b-74a4-4149-ab93-76164d056c39%40googlegroups.com.

DANIEL URBANO DE LA RUA

unread,
Oct 13, 2019, 7:55:10 PM10/13/19
to django...@googlegroups.com
Que base de datos tienes configurada rn el setting.py

Julio Cojom

unread,
Oct 13, 2019, 8:00:05 PM10/13/19
to django...@googlegroups.com
Pensé en la BD pero cuando ejecuta manager.py eso debería de afectar la base que tenga en settings. Sera que hay 2 proyectos y ejecutas sobre uno pero necesitas los resultados en otro? Has revisado la tabla de usuarios en la BD para ver si está creado el registro?

DANIEL URBANO DE LA RUA

unread,
Oct 13, 2019, 8:03:23 PM10/13/19
to django...@googlegroups.com
Cuando ejecutas un migrate se crean las tablas en la db que tengas en el setting 

Gil Obradors

unread,
Oct 13, 2019, 9:07:07 PM10/13/19
to django...@googlegroups.com
Hi Francisco!

What are you trying to do?  Step to step
What is the expected behavior?
What is the real behaviour?
Are you talking to save the password to the browser?



Missatge de DANIEL URBANO DE LA RUA <dannybo...@gmail.com> del dia dg., 13 d’oct. 2019 a les 22:03:
Reply all
Reply to author
Forward
0 new messages