def empty_urlconf(request):
 t = Template(EMPTY_URLCONF_TEMPLATE, name='Empty URLConf template')
 c = Context({'project_name': settings.SETTINGS_MODULE.split('.')[0]})
 return HttpResponse(t.render(c), mimetype='text/html')

def empty_urlconf ( request ) : t = Template ( EMPTY_URLCONF_TEMPLATE , name = 'Empty URLConf template' ) c = Context ( { 'project_name' : settings . SETTINGS_MODULE . split ( '.' ) [ 0 ] } ) return HttpResponse ( t . render ( c ) , mimetype = 'text/html' )
create an empty urlconf 404 error response .