from django.conf import settings
from django.conf.urls.defaults import patterns, include
from django.contrib.staticfiles.urls import staticfiles_urlpatterns

from funfactory.monkeypatches import patch
patch()

from events.api import EventResource

event_resource = EventResource()

# Uncomment the next two lines to enable the admin:
# from django.contrib import admin
# admin.autodiscover()

urlpatterns = patterns('',
    (r'^api/', include(event_resource.urls)),
    (r'', include('mozcal.events.urls')),
    (r'^browserid/', include('django_browserid.urls')),

    # Generate a robots.txt
    (r'^robots\.txt$',
        lambda r: HttpResponse(
            "User-agent: *\n%s: /" % 'Allow' if settings.ENGAGE_ROBOTS else 'Disallow' ,
            mimetype="text/plain"
        )
    )

    # Uncomment the admin/doc line below to enable admin documentation:
    # (r'^admin/doc/', include('django.contrib.admindocs.urls')),

    # Uncomment the next line to enable the admin:
    # (r'^admin/', include(admin.site.urls)),
)

## In DEBUG mode, serve media files through Django.
if settings.DEBUG:
    urlpatterns += staticfiles_urlpatterns()

@@ -413,18 +413,16 @@
 rns('',%0A
-  
   (r'%5Eap
@@ -453,26 +453,24 @@
 rce.urls)),%0A
-  
   (r'', incl
@@ -497,18 +497,16 @@
 rls')),%0A
-  
   (r'%5Ebr
@@ -554,18 +554,16 @@
 ')),%0A%0A  
- 
- 
 # Genera
@@ -578,18 +578,16 @@
 ots.txt%0A
-  
   (r'%5Ero
@@ -598,24 +598,16 @@
 %5C.txt$',
-%0A       
  lambda 
@@ -623,24 +623,16 @@
 sponse(%0A
-        
     %22Use
@@ -704,24 +704,16 @@
 llow' ,%0A
-        
     mime
@@ -733,28 +733,15 @@
 ain%22
-%0A        
 )%0A  
- 
- 
 )%0A%0A
-  
   # 
@@ -806,18 +806,16 @@
 tation:%0A
-  
   # (r'%5E
@@ -871,18 +871,16 @@
 ls')),%0A%0A
-  
   # Unco
@@ -920,18 +920,16 @@
  admin:%0A
-  
   # (r'%5E
@@ -1038,18 +1038,16 @@
 .DEBUG:%0A
-  
   urlpat

Switch to 2 spaces tabs in urls.py