we don't need 'extra content here'. It should be 
url(r'^connect/$', direct_to_template, {'template': 'connect.html'}, name='connect'),