<s> from django . conf . urls import patterns , url <EOL> from django . conf import settings <EOL> from opps . core . cache import cache_page <EOL> from . views import AsyncServer , LongPullingServer <EOL> urlpatterns = patterns ( <EOL> '<STR_LIT>' , <EOL> url ( r'<STR_LIT>' , <EOL> cache_page ( settings . OPPS_CACHE_EXPIRE_DETAIL ) ( <EOL> AsyncServer . as_view ( ) ) , name = '<STR_LIT>' ) , <EOL> url ( r'<STR_LIT>' , <EOL> cache_page ( settings . OPPS_CACHE_EXPIRE_DETAIL ) ( <EOL> LongPullingServer . as_view ( ) ) , name = '<STR_LIT>' ) , <EOL> ) </s>
