开发者

Adding a Variable To Request Object in Django

开发者 https://www.devze.com 2023-03-15 05:47 出处:网络
How can I add a value to to the request object in django so that is available on redirect. I am tryi开发者_StackOverflowng to sign users up and then redirect them to a paypal link for payment. I want

How can I add a value to to the request object in django so that is available on redirect. I am tryi开发者_StackOverflowng to sign users up and then redirect them to a paypal link for payment. I want to pass the user id to the paypal submission but can't figure out how to pass the value.


I was able to set a variable in the session dict and it worked just fine.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号