<s> from django . conf . urls import patterns , include , url <EOL> from django . conf . urls . static import static <EOL> from django . conf import settings <EOL> from django . views . generic import TemplateView <EOL> from django . contrib import admin <EOL> admin . autodiscover ( ) <EOL> urlpatterns = patterns ( '<STR_LIT>' , <EOL> url ( r'<STR_LIT>' , TemplateView . as_view ( template_name = '<STR_LIT>' ) ) , <EOL> url ( r'<STR_LIT>' , include ( admin . site . urls ) ) , <EOL> ) <EOL> if settings . DEBUG : <EOL> import debug_toolbar <EOL> urlpatterns += patterns ( '<STR_LIT>' , <EOL> url ( r'<STR_LIT>' , include ( debug_toolbar . urls ) ) , <EOL> ) </s>
