We actually have a Django example here:
https://github.com/typesense/showcase-joins-django
You just create the collections needed, query your primary database, and send them over to the Typesense server. Afterwards, query them as usual, using our Python client