Modify inline templates to handle slight Django 1.6+ backwards incompatibility -- https://code.djangoproject.com/ticket/13696