I created a contact form based on https://hellowebapp.com/news/tutorial-setting-up-a-contact-form-with-django and integrated SendGrid api and everything works peachy. But, I need to include this simple contact form on several views but don’t want to repeat the code on every view. How do I create a service or shared function that will allow me to set tup the code once but then call it in any view that I need it?
Thank you,
Chuck
@shazow - Any thoughts?