In particular, this resolves the template error with regards to crispyforms when deploying. It also provides support for Django 2.0.