Hi, A new CSRF token gets generated after you log in, so you'll need to ask django for the new one, or simply ready the new value from document.cookie.
Collin On Monday, January 19, 2015 at 3:08:34 AM UTC-5, Neil Asnani wrote: > > Hi, I am trying to build a single page, restful application to track > expenses that allows users to sign up, log in, and edit / delete / filter > expenses, all on a single page. I am very new to Django, and all other web > technologies and this app is making my head spin. I have been working on > this for the past week now and have made progress but I am getting errors > left and right and do not know how to resolve them. I am also having > difficulty finding and following the tutorials online. I am however not new > to programming and once I get past this initial road block should pick > things up quickly. > > The code is here: https://github.com/tested22/Expense-tracker1 I am > currently getting a csrf token error when I merged the log in and sign up > pages onto home.html, though I have the csrf token tags in the forms. > > Could someone please spend some time with me via Skype or Google hangouts > to explain Django and help me troubleshoot my application? I would be so > thankful and we could work out a form of payment. > -- 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+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/bdb01abf-9523-4509-8793-17e6f7ffc614%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.