Saturday, March 11, 2023

Re: Django Admin

Please share your code so we can be able to assist you

On Sat, 11 Mar 2023 at 8:04 PM, James Hunt <newbypassers@gmail.com> wrote:
Hi there. I am fairly new to Django but have had previous success with creating an app and being able to access the Admin page.
Recently, if I attempt to access the admin page of a new Django app it throws the CSRF error upon trying to log in!!!

I have attempted several ways to bypass this error including adding allowed hosts but I cant seem to get past this issue.

Can someone please provide me with the definitive way of stopping CSRF error when simply trying to access the admin part of Django? I mean there are no post functions that really apply to this feature so I cant understand the CSRF token.

I cant get past this issue which means I can never access the admin page!!

Please help.

Regards

James

--
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/e13c7765-831e-45c5-b091-c8fcfbed19c5n%40googlegroups.com.
--
Letlaka Tsotetsi
071 038 1485
Letlaka.t@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/CAMCgpdJpk3b0c-7G__2-CtyP77%2BcJTmotqZ63dhuTnCNqNxAhg%40mail.gmail.com.

No comments:

Post a Comment