CAPE templates for Django