Skip to content
This repository has been archived by the owner on Feb 10, 2024. It is now read-only.

function based-view to get data from the Django session #5

Open
bouchouichaAek opened this issue Sep 13, 2023 · 1 comment
Open

function based-view to get data from the Django session #5

bouchouichaAek opened this issue Sep 13, 2023 · 1 comment

Comments

@bouchouichaAek
Copy link

Hi

I am attempting to integrate the Chargily API into my website developed by Django, How I can integrate the API using function-based-view to get data (mode and amount etc) from the Django session without using the API form?

best regard

@bouchouichaAek bouchouichaAek changed the title function based-view function based-view to get data from the Django session Sep 13, 2023
@bouchouichaAek bouchouichaAek closed this as not planned Won't fix, can't repro, duplicate, stale Sep 29, 2023
@tarek-berkane
Copy link
Collaborator

Hello @bouchouichaAek,

I trust you're doing well. To implement a function-based-view in chargily-epay-django, I'd like to suggest taking a closer look at how we've implemented this functionality using class-based-views. Adapting this code to suit your needs shouldn't be too challenging.

you can find here the code source of our class-based-view function.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants