Django >=3 closes dev server when trying to log in in admin

35 views
Skip to first unread message

Cristhiam Gabriel Fernández

unread,
Jan 7, 2020, 8:29:42 PM1/7/20
to Django users
Greetings 

From version 3 I'm getting this error. When I try log in in admin site django closes dev server with no error, only `"POST /admin/login/?next=/admin/ HTTP/1.1" 302 0``

Any suggestion?

Gil Obradors

unread,
Jan 8, 2020, 1:56:26 AM1/8/20
to django...@googlegroups.com
Hi, 302 response status isnt an error
😜

El dc., 8 de gen. 2020, 2:29, Cristhiam Gabriel Fernández <cristh...@gmail.com> va escriure:
Greetings 

From version 3 I'm getting this error. When I try log in in admin site django closes dev server with no error, only `"POST /admin/login/?next=/admin/ HTTP/1.1" 302 0``

Any suggestion?

--
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/6b053e2c-d559-44ed-98e0-c7a5f5d3ef9b%40googlegroups.com.

Gil Obradors

unread,
Jan 8, 2020, 1:59:21 AM1/8/20
to django...@googlegroups.com
Oh yes, sorry, i didnt read right...

Mn, no more output to paste?
Do you use an IDE?

i have django 2 and 3 working without this behaveor

Have you introduced changes to admin?


El dc., 8 de gen. 2020, 7:55, Gil Obradors <gil.ob...@gmail.com> va escriure:

Alfredo Silveira

unread,
Jan 8, 2020, 3:11:14 AM1/8/20
to django...@googlegroups.com
Try update your python version to 3.8



On 8 Jan 2020, at 03:59, Gil Obradors <gil.ob...@gmail.com> wrote:



Cristhiam Gabriel Fernández

unread,
Jan 8, 2020, 11:11:33 AM1/8/20
to Django users
No, no more output in terminal.
I'm using Visual Studio Code.
I'm using pipenv also.
Django 2.2.9 works fine.


El miércoles, 8 de enero de 2020, 1:59:21 (UTC-5), Gil Obradors escribió:
Oh yes, sorry, i didnt read right...

Mn, no more output to paste?
Do you use an IDE?

i have django 2 and 3 working without this behaveor

Have you introduced changes to admin?


El dc., 8 de gen. 2020, 7:55, Gil Obradors <gil.o...@gmail.com> va escriure:
Hi, 302 response status isnt an error
😜

El dc., 8 de gen. 2020, 2:29, Cristhiam Gabriel Fernández <cristh...@gmail.com> va escriure:
Greetings 

From version 3 I'm getting this error. When I try log in in admin site django closes dev server with no error, only `"POST /admin/login/?next=/admin/ HTTP/1.1" 302 0``

Any suggestion?

--
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...@googlegroups.com.

Cristhiam Gabriel Fernández

unread,
Jan 8, 2020, 11:12:50 AM1/8/20
to Django users
3.8? 🤔
Did you mean 2.2.8?
Yes, 2.2.8 works fine.


El miércoles, 8 de enero de 2020, 3:11:14 (UTC-5), Alfredo Silveira escribió:
Try update your python version to 3.8



On 8 Jan 2020, at 03:59, Gil Obradors <gil.o...@gmail.com> wrote:


Oh yes, sorry, i didnt read right...

Mn, no more output to paste?
Do you use an IDE?

i have django 2 and 3 working without this behaveor

Have you introduced changes to admin?


El dc., 8 de gen. 2020, 7:55, Gil Obradors <gil.o...@gmail.com> va escriure:
Hi, 302 response status isnt an error
😜

El dc., 8 de gen. 2020, 2:29, Cristhiam Gabriel Fernández <cristh...@gmail.com> va escriure:
Greetings 

From version 3 I'm getting this error. When I try log in in admin site django closes dev server with no error, only `"POST /admin/login/?next=/admin/ HTTP/1.1" 302 0``

Any suggestion?

--
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...@googlegroups.com.

--
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...@googlegroups.com.

Jasim Ak

unread,
Jan 8, 2020, 11:30:18 AM1/8/20
to django...@googlegroups.com
Update your Python to version 3.8.

Met with the same issue and this worked for me.

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/f3f23188-4ad9-420b-8be7-8af309e87aa9%40googlegroups.com.

Alfredo Silveira

unread,
Jan 8, 2020, 1:26:22 PM1/8/20
to django...@googlegroups.com
Yes, python version 3.8 not Django 



On 8 Jan 2020, at 13:13, Cristhiam Gabriel Fernández <cristh...@gmail.com> wrote:


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/f3f23188-4ad9-420b-8be7-8af309e87aa9%40googlegroups.com.

Cristhiam Gabriel Fernández

unread,
Jan 8, 2020, 2:16:26 PM1/8/20
to Django users
Awesome! upgrade python to 3.8 and django works again 👏
Thank you so much

Cristhiam Gabriel Fernández

unread,
Jan 8, 2020, 2:16:52 PM1/8/20
to Django users
Yup! that works 👏
Thank you so much
Reply all
Reply to author
Forward
0 new messages