Django Framework or Not

Hello guys I’m working on a survey form website with DJango
And I want user to generate a code to embed on their website

<!-- Start of HubSpot Embed Code -->
  <script type="text/javascript" id="hs-script-loader" async defer src="//"></script>
<!-- End of HubSpot Embed Co
<script src="//" async></script>

And I don’t know how to do it
Will I use The Django Framework
If yes drop resources to help me work it out

(Without Framework)
And still if no I don’t still know how to do it DJango
Drop resources to help me do it normal way in Django with framework