title: Django Syntax Error in url.py file
body: <p>I am working through the getting started with django project and keep getting a syntax error at the end of the first video when running locally:</p>
  
  <pre><code>SyntaxError at /  
  invalid syntax (urls.py, line 12)  
  Request Method: GET  
  Django Version: 1.5  
  Exception Type: SyntaxError  
  Exception Value:invalid syntax (urls.py, line 12)
  </code></pre>
  
  <p>My urls.py file is:  </p>
  
  <pre><code>from django.conf.urls import patterns, include, url  
  from django.contrib import admin  
  from django.views.generic import TemplateView  
  
  admin.autodiscover()  
  
  urlpatterns = patterns('',
      url(r"^$",TemplateView.as_view(template_name="index.html"))  
      url(r'^admin/', include(admin.site.urls))  
  )  
  </code></pre>
  
  <p>Thanks for your help</p>