Django link frontend traces


I have Sentry working well by by django backend project, I have now added it to my frontend (as a separate Sentry project). I am using the CDN method, as my frontend just just html and some javascript served by Django template engine.

Sentry for my frontend works, but I am unable to link a frontend performance transaction with the backend transaction. From the docs I am supposed to add a header with the traceid, served from the backend, but I am not sure how to do that with Django?