<s> from django . conf import settings <EOL> from django . conf . urls . defaults import url , include , patterns , handler404 , handler500 <EOL> from django . contrib import admin <EOL> from complaints . views import ComplaintsApp <EOL> from sillywalks import views <EOL> admin . autodiscover ( ) <EOL> urlpatterns = patterns ( '<STR_LIT>' , <EOL> url ( '<STR_LIT>' , '<STR_LIT>' , { '<STR_LIT>' : '<STR_LIT>' } , name = '<STR_LIT:index>' ) , <EOL> url ( '<STR_LIT>' , include ( ComplaintsApp ( ) ) ) , <EOL> ) <EOL> urlpatterns += patterns ( '<STR_LIT>' , <EOL> url ( '<STR_LIT>' , views . index , name = '<STR_LIT>' ) , <EOL> url ( '<STR_LIT>' , views . edit , name = '<STR_LIT>' ) , <EOL> url ( '<STR_LIT>' , views . view , name = '<STR_LIT>' ) , <EOL> url ( '<STR_LIT>' , views . edit , name = '<STR_LIT>' ) , <EOL> url ( '<STR_LIT>' , views . delete , name = '<STR_LIT>' ) , <EOL> url ( '<STR_LIT>' , include ( views . complaints_app ) ) , <EOL> ) <EOL> urlpatterns += patterns ( '<STR_LIT>' , <EOL> url ( '<STR_LIT>' , include ( admin . site . urls ) ) , <EOL> ) <EOL> if settings . DEBUG : <EOL> from django . views . static import serve <EOL> urlpatterns += patterns ( '<STR_LIT>' , ( r'<STR_LIT>' , serve , { '<STR_LIT>' : settings . MEDIA_ROOT } ) ) </s>
