<s> from django . views . i18n import javascript_catalog <EOL> from django . views . static import serve <EOL> from cms . utils . compat . dj import is_installed <EOL> from cms . utils . conf import get_cms_setting <EOL> from django . conf import settings <EOL> from django . conf . urls import include , url <EOL> from django . conf . urls . i18n import i18n_patterns <EOL> from django . contrib import admin <EOL> admin . autodiscover ( ) <EOL> urlpatterns = [ <EOL> url ( r'<STR_LIT>' , include ( admin . site . urls ) ) , <EOL> url ( r'<STR_LIT>' , serve , <EOL> { '<STR_LIT>' : settings . MEDIA_ROOT , '<STR_LIT>' : True } ) , <EOL> url ( r'<STR_LIT>' , serve , <EOL> { '<STR_LIT>' : get_cms_setting ( '<STR_LIT>' ) , '<STR_LIT>' : True } ) , <EOL> url ( r'<STR_LIT>' , javascript_catalog ) , <EOL> ] <EOL> urlpatterns += i18n_patterns ( <EOL> url ( r'<STR_LIT>' , include ( '<STR_LIT>' ) ) , <EOL> ) <EOL> if settings . DEBUG and is_installed ( '<STR_LIT>' ) : <EOL> import debug_toolbar <EOL> urlpatterns += [ <EOL> url ( r'<STR_LIT>' , include ( debug_toolbar . urls ) ) , <EOL> ] </s>
