<s> import os <EOL> from django . conf import settings <EOL> from django . conf . urls . defaults import * <EOL> from django . contrib import admin <EOL> from django . views . static import serve <EOL> from cheeserater . packages . views import homepage <EOL> from cheeserater . packages . models import Package <EOL> from voting . views import vote_on_object <EOL> urlpatterns = patterns ( '<STR_LIT>' , <EOL> ( r'<STR_LIT>' , include ( '<STR_LIT>' ) ) , <EOL> ( r'<STR_LIT>' , admin . site . root ) , <EOL> ( r'<STR_LIT>' , include ( '<STR_LIT>' ) ) , <EOL> ( <EOL> r'<STR_LIT>' , <EOL> vote_on_object , { <EOL> "<STR_LIT>" : Package , <EOL> "<STR_LIT>" : True , <EOL> } , <EOL> "<STR_LIT>" <EOL> ) , <EOL> ( r'<STR_LIT>' , homepage ) , <EOL> ) <EOL> if settings . DEBUG : <EOL> urlpatterns += patterns ( '<STR_LIT>' , <EOL> ( r'<STR_LIT>' , serve , { <EOL> '<STR_LIT>' : os . path . join ( os . path . dirname ( __file__ ) , "<STR_LIT>" ) <EOL> } ) <EOL> ) <EOL> admin . autodiscover ( ) </s>
