Monday, October 31, 2022

Re: Deploy django app on railway

I had the same issues but I ended up editing Django version to 3.2 in the requirements.txt 

That's one of the new features of Django 4.1, use less version of Django like 3.2 it won't give you problems.

I suggest you do the same, will try to figure it out

On Mon, 31 Oct 2022, 18:48 Lakshyaraj Dash, <dashlakshyaraj2006@gmail.com> wrote:
I'm having troubles in using django app on railway ie after deployment I get csrf token validation error even if my forms are protected with csrf tokens.
Please anyone fix this problem.

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAF7qQgA_XroFAEsKPEVmZ%3Dxj2GyGJwUk5xXe8BG9cr%3DTbUaLDQ%40mail.gmail.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-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CANfc-pArQzu9cVAudf3S_Mx5x5Zab7Z8gEWtCAvjRgB3QBu%2BdQ%40mail.gmail.com.

No comments:

Post a Comment