Hi anyone to teach me forex trading guys...
On Thu, 15 Jun 2023, 11:36 Benjamin Schollnick,
wrote:
> Hi Everyone!
> So I want to know how to implement a binary tree to a web app.
> This is how the app works:
>
> — Person A opens an account
> — Person A refers to people
> — Person B invests,
>
> Hi Everyone!
> So I want to know how to implement a binary tree to a web app.
> This is how the app works:
>
> — Person A opens an account
> — Person A refers to people
> — Person B invests,
> — Person A get 10% of Person B's investment
> So it goes on iteratively.
Please note, nothing here
# views.py
from django.shortcuts import render, redirect
from .models import Person, BinaryTree
def create_person(request):
if request.method == 'POST':
name = request.POST.get('name')
account = float(request.POST.get('account'))
referral_id = request.POST.get('referra
Hi Everyone!
So I want to know how to implement a binary tree to a web app.
This is how the app works:
— Person A opens an account
— Person A refers to people
— Person B invests,
— Person A get 10% of Person B's investment
So it goes on iteratively.
Please, how can I implement this in Django?
4 matches
Mail list logo