title: how to call some logic in my views after rendering template in django
body: <p>I am using <strong>form.py</strong> and the user is typing some Email-id, let us say I want to send an email to that particular email and write all that email into google sheet using gspread, I am able to do this in my <strong>views.py</strong>, but the problem is it's taking a lot of time to write which slow down the rendering process.</p>
  
  <p>Is there any other way I can use my logic after rendering the template.</p>