<s> from __future__ import unicode_literals <EOL> from django . conf . urls import url , include <EOL> from rest_framework import routers <EOL> from . views import UserViewSet , PostViewSet , CategoryViewSet , PageViewSet , SiteViewSet <EOL> router = routers . DefaultRouter ( trailing_slash = False ) <EOL> router . register ( r'<STR_LIT>' , UserViewSet ) <EOL> router . register ( r'<STR_LIT>' , PageViewSet ) <EOL> router . register ( r'<STR_LIT>' , PostViewSet ) <EOL> router . register ( r'<STR_LIT>' , CategoryViewSet ) <EOL> router . register ( r'<STR_LIT>' , SiteViewSet , SiteViewSet . as_view ( { '<STR_LIT>' : '<STR_LIT>' } ) ) <EOL> urlpatterns = [ <EOL> url ( r'<STR_LIT>' , include ( router . urls ) ) , <EOL> url ( r'<STR_LIT>' , include ( '<STR_LIT>' ) ) , <EOL> url ( r'<STR_LIT>' , include ( '<STR_LIT>' , namespace = '<STR_LIT>' ) ) , <EOL> url ( r'<STR_LIT>' , include ( '<STR_LIT>' , namespace = '<STR_LIT>' ) ) , <EOL> ] </s>
