Template 'api.html' not found