How to access the csrf_token inside django view

前端 未结 0 1048
小鲜肉
小鲜肉 2021-01-23 16:30

I\'m trying to access the csrf_token inside the django view function.

I have tried importing the csrf:

from django.template.context_processors import csrf
         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题