<s> import django <EOL> try : <EOL> from django . conf . urls import url , patterns <EOL> except ImportError : <EOL> from django . conf . urls . defaults import url , patterns <EOL> from actstream import feeds , views <EOL> urlpatterns = [ <EOL> url ( r'<STR_LIT>' , feeds . UserActivityFeed ( ) , name = '<STR_LIT>' ) , <EOL> url ( r'<STR_LIT>' , feeds . AtomUserActivityFeed ( ) , <EOL> name = '<STR_LIT>' ) , <EOL> url ( r'<STR_LIT>' , feeds . UserJSONActivityFeed . as_view ( ) , <EOL> name = '<STR_LIT>' ) , <EOL> url ( r'<STR_LIT>' , <EOL> feeds . ModelActivityFeed ( ) , name = '<STR_LIT>' ) , <EOL> url ( r'<STR_LIT>' , <EOL> feeds . AtomModelActivityFeed ( ) , name = '<STR_LIT>' ) , <EOL> url ( r'<STR_LIT>' , <EOL> feeds . ModelJSONActivityFeed . as_view ( ) , name = '<STR_LIT>' ) , <EOL> url ( r'<STR_LIT>' , <EOL> feeds . ObjectActivityFeed ( ) , name = '<STR_LIT>' ) , <EOL> url ( r'<STR_LIT>' , <EOL> feeds . AtomObjectActivityFeed ( ) , name = '<STR_LIT>' ) , <EOL> url ( r'<STR_LIT>' , <EOL> feeds . ObjectJSONActivityFeed . as_view ( ) , name = '<STR_LIT>' ) , <EOL> url ( r'<STR_LIT>' , <EOL> views . follow_unfollow , name = '<STR_LIT>' ) , <EOL> url ( r'<STR_LIT>' , <EOL> views . follow_unfollow , { '<STR_LIT>' : False } , name = '<STR_LIT>' ) , <EOL> url ( r'<STR_LIT>' , <EOL> views . follow_unfollow , { '<STR_LIT>' : False , '<STR_LIT>' : False } , name = '<STR_LIT>' ) , <EOL> url ( r'<STR_LIT>' , <EOL> views . follow_unfollow , { '<STR_LIT>' : False } , name = '<STR_LIT>' ) , <EOL> url ( r'<STR_LIT>' , <EOL> views . followers , name = '<STR_LIT>' ) , <EOL> url ( r'<STR_LIT>' , <EOL> views . following , name = '<STR_LIT>' ) , <EOL> url ( r'<STR_LIT>' , <EOL> views . actor , name = '<STR_LIT>' ) , <EOL> url ( r'<STR_LIT>' , <EOL> views . model , name = '<STR_LIT>' ) , <EOL> url ( r'<STR_LIT>' , views . detail , name = '<STR_LIT>' ) , <EOL> url ( r'<STR_LIT>' , views . user , name = '<STR_LIT>' ) , <EOL> url ( r'<STR_LIT>' , views . stream , name = '<STR_LIT>' ) , <EOL> ] <EOL> if django . VERSION [ : <NUM_LIT:2> ] < ( <NUM_LIT:1> , <NUM_LIT:9> ) : <EOL> urlpatterns = patterns ( '<STR_LIT>' , * urlpatterns ) </s>
