简体   繁体   English

将 Flutterwave 添加到 django 模板和视图中

[英]Adding Flutterwave in to django template and view

I have created flutterwave developer account, as you can see down here I have setup everything except template and views.py file我已经创建了 flutterwave 开发者帐户,你可以在这里看到我已经设置了除模板和 views.py 文件之外的所有内容

settings.py file设置.py 文件

FLUTTERWAVE_SECRET_KEY = 'my-keys'
FLUTTERWAVE_PUBLIC_KEY = 'my-keys'

Installed apps:已安装的应用程序:

'djangoflutterwave'

urls.py file urls.py 文件

path("djangoflutterwave/", include("djangoflutterwave.urls", namespace="djangoflutterwave"))

I don't know how to write the amount to charge for each user and also don't know what to put inside my template and views.py file.我不知道如何为每个用户编写收费金额,也不知道在我的模板和 views.py 文件中放入什么。

Is anybody who wish to help me please?请问有人愿意帮助我吗?

Did you read the Readme of the library you are using from: https://github.com/bdelate/django-flutterwave您是否阅读过您正在使用的库的自述文件: https ://github.com/bdelate/django-flutterwave

If you did in fact read the Readme, you would see it contains full instructions and usage examples which directly answer your question.如果您确实阅读了自述文件,您会看到它包含直接回答您问题的完整说明和使用示例。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM