<s> from django . conf import settings <EOL> from django . conf . urls import include , url <EOL> from django . contrib import admin <EOL> admin . autodiscover ( ) <EOL> urlpatterns = [ <EOL> url ( r'<STR_LIT>' , include ( admin . site . urls ) ) , <EOL> ] <EOL> if settings . DEBUG : <EOL> urlpatterns = [ <EOL> url ( <EOL> r'<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> { '<STR_LIT>' : settings . MEDIA_ROOT , '<STR_LIT>' : True } <EOL> ) , <EOL> url ( r'<STR_LIT>' , include ( '<STR_LIT>' ) ) , <EOL> ] + urlpatterns </s>
