from django.conf.urls import include, url
from django.contrib import admin
import settings

urlpatterns = (
    url(r'^$', 'VowelCatApp.views.home', name='home'),
    url(r'^admin/', include(admin.site.urls)),
    url(r'^auth/$', 'VowelCatApp.views.auth_view'),
    url(r'^logout/$', 'VowelCatApp.views.logout'),
    url(r'^loggedin/$', 'VowelCatApp.views.loggedin'),
    url(r'invalid/$', 'VowelCatApp.views.invalid_login'),
    url(r'^register/', 'VowelCatApp.views.register_user'),
    url(r'^register_success/', 'VowelCatApp.views.register_success'),   
    url(r'^files/', 'VowelCatApp.views.files'),
    url(r'^practice/', 'VowelCatApp.views.practice'),
    url(r'^download/', 'VowelCatApp.views.download'),
    url(r'^listening/', 'VowelCatApp.views.listening'),
    url(r'^training/', 'VowelCatApp.views.training'),
    url(r'^upload/', 'VowelCatApp.views.upload'),
    url(r'^update_user/', 'VowelCatApp.views.update_user'),
)

if not settings.DEBUG:
    from django.contrib.staticfiles.urls import staticfiles_urlpatterns

    urlpatterns += staticfiles_urlpatterns()

@@ -68,16 +68,49 @@
 t admin%0A
+from django.conf import settings%0A
 import s
@@ -994,75 +994,31 @@
     
-from django.contrib.staticfiles.urls import staticfiles_url
+urlpatterns += 
 patterns
 %0A%0A  
@@ -1017,51 +1017,121 @@
 erns
-%0A
+('',
 %0A    
-urlpatterns += staticfiles_urlpatterns(
+    (r'%5Estatic/(?P%3Cpath%3E.*)$', 'django.views.static.serve', %7B'document_root': settings.STATIC_ROOT%7D),%0A    
 )%0A

Trying to fix error in urls.py. erip