S
S
S__S2019-10-01 14:30:52
Django
S__S, 2019-10-01 14:30:52

How to manage money in Django?

Hello, I have a question. When developing a marketplace site on Django, there was a problem with organizing the internal economy of a web application. That is, there are 2 actors, the seller and the buyer. The buyer credits the money to the account, then makes a purchase, and this money becomes the property of the seller. (Sorry for the triviality).
Question: Is there a battery in Django, or a Python library that allows you to properly organize all this economy? Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
noremorse_ru, 2019-10-01
@S__S

Make a balance for each user, store their virtual money there, create a transaction entity with statuses (transfer completed, in progress, canceled, and so on) and manage the balance of these transactions

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question