Django - CSRF verification failed -


i've got error when try login in django site:

forbidden (403) csrf verification failed. request aborted. reason given failure:     referer checking failed - https://mydomain.com/mysitename not match https://mydomain.com/. 

surely because "mysitename" don't see config set specify that. workaround disable csrf verification module not option in production.

any idea how fix problem?


Comments

Popular posts from this blog

php - mySql Join with 4 tables -

css - Text drops down with smaller window -

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -