# WebDev Module and Html Templating

**URL:** <https://forum.inductiveautomation.com/t/webdev-module-and-html-templating/38320>\
**Category:** Ignition\
**Tags:** ignition80\
**Created:** [September 2, 2020, 6:24pm UTC](https://forum.inductiveautomation.com/t/webdev-module-and-html-templating/38320 "2020-09-02T18:24:49Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![scott.stamps](https://avatars.discourse-cdn.com/v4/letter/s/ba9def/32.png) [@scott.stamps](https://forum.inductiveautomation.com/u/scott.stamps)\
**Post date:** [February 17, 2021, 3:42pm UTC](https://forum.inductiveautomation.com/t/webdev-module-and-html-templating/38320/3 "2021-02-17T15:42:32Z")

</div>

I never got a reply, but your timing is funny as I was just researching this again a couple of days ago.

Basically, you need to be able to add a custom package to your Gateway, which [this post](http://forum.inductiveautomation.com/t/how-do-we-import-new-python-libraries-to-ignition/10037) outlines. I chose [Mako](https://docs.makotemplates.org/en/latest/) for templating, but there are many Python templating options available.

Next, take the downloaded package, unzip it and copy it to the pylib directory mentioned in the link above.  
 ![Screenshot 2021-02-17 093752](https://us1.discourse-cdn.com/inductiveautomation/original/3X/0/9/0970d8dec8976b15eaebc1939293ba3302b74264.png)

Finally, to test, you can use the script console in the Ignition Designer.

 ![Screenshot 2021-02-17 093324](https://us1.discourse-cdn.com/inductiveautomation/original/3X/a/4/a4930e65b53d5c1efd805ae8139b6c0a3e906e7b.png)

Hope this helps.

\*\*\* Update \*\*  
Unfortunately, we are running into issues when attempting to import this into a Web Dev Python resource file. It seems to be in line with [this post](http://forum.inductiveautomation.com/t/codecregistryerror-when-importing-json-library/34668).

---

_[View the full topic](https://forum.inductiveautomation.com/t/webdev-module-and-html-templating/38320)._
