#NEWLINE# def get_urls( self ) : #NEWLINE# #INDENT# from django.conf.urls.defaults import patterns #NEWLINE# urlpatterns = patterns ( '' ) #NEWLINE# for ( pattern , resource ) in self . resources . items ( ) : #NEWLINE# #INDENT# urlpatterns += resource . get_urls ( ) #NEWLINE# #UNINDENT# return pattern