[Answered ]-How can a call a postgresql function from Django for live server?

1👍

Try this

from django.db import connection

with connection.cursor() as cursor:
    cursor.callproc("fn_wallet_statement", __arguments__)

Leave a comment