<s> from django . conf . urls import patterns , include , url <EOL> from rest_framework import routers <EOL> from rest_framework . urlpatterns import format_suffix_patterns <EOL> from api import views <EOL> router = routers . DefaultRouter ( ) <EOL> router . register ( r'<STR_LIT>' , views . ItemView ) <EOL> router . register ( r'<STR_LIT>' , views . MerchantView ) <EOL> router . register ( r'<STR_LIT>' , views . SiteView ) <EOL> urlpatterns = patterns ( '<STR_LIT>' , <EOL> url ( r'<STR_LIT>' , include ( router . urls ) ) , <EOL> url ( r'<STR_LIT>' , views . AnalyticsView . as_view ( ) ) ) </s>
