<s> from django . conf . urls . defaults import * <EOL> from django . conf import settings <EOL> from django . contrib import admin <EOL> from djcelery . models import PeriodicTask <EOL> from molly . conf . admin import RunnablePeriodicTaskAdmin <EOL> from molly . conf import applications , all_apps <EOL> from molly . utils . views import ReverseView <EOL> from molly . utils . i18n import SetLanguageView , javascript_catalog <EOL> admin . autodiscover ( ) <EOL> admin . site . unregister ( PeriodicTask ) <EOL> admin . site . register ( PeriodicTask , RunnablePeriodicTaskAdmin ) <EOL> urlpatterns = patterns ( '<STR_LIT>' , <EOL> ( r'<STR_LIT>' , include ( admin . site . urls ) ) , <EOL> ( r'<STR_LIT>' , include ( '<STR_LIT>' ) ) , <EOL> ( r'<STR_LIT>' , applications . home . urls ) , <EOL> ( r'<STR_LIT>' , ReverseView , { } , '<STR_LIT>' ) , <EOL> ( r'<STR_LIT>' , SetLanguageView , { } , '<STR_LIT>' ) , <EOL> ( r'<STR_LIT>' , javascript_catalog , <EOL> { '<STR_LIT>' : settings . INSTALLED_APPS } , '<STR_LIT>' ) ) <EOL> for app in ( app for app in all_apps ( ) if app . has_urlconf and app . local_name != '<STR_LIT>' ) : <EOL> urlpatterns += patterns ( '<STR_LIT>' , <EOL> ( r'<STR_LIT>' + app . local_name + '<STR_LIT:/>' , include ( app . urls ) ) ) <EOL> urlpatterns += patterns ( '<STR_LIT>' , <EOL> ( r'<STR_LIT>' , '<STR_LIT>' , { '<STR_LIT:url>' : '<STR_LIT>' } ) , <EOL> ( r'<STR_LIT>' , '<STR_LIT>' , { '<STR_LIT:url>' : '<STR_LIT>' } ) , <EOL> ( r'<STR_LIT>' , '<STR_LIT>' , { '<STR_LIT:url>' : '<STR_LIT>' } ) , <EOL> ( r'<STR_LIT>' , '<STR_LIT>' , { '<STR_LIT:url>' : '<STR_LIT>' } ) , <EOL> ( r'<STR_LIT>' , '<STR_LIT>' , { '<STR_LIT:url>' : '<STR_LIT>' } ) , <EOL> ) <EOL> handler500 = '<STR_LIT>' <EOL> if settings . DEBUG : <EOL> urlpatterns += patterns ( '<STR_LIT>' , <EOL> ( r'<STR_LIT>' , '<STR_LIT>' , <EOL> { '<STR_LIT>' : settings . STATIC_ROOT } ) <EOL> ) </s>
