<s> """<STR_LIT>""" <EOL> from django . conf . urls import patterns , url <EOL> from django . contrib . auth . decorators import permission_required <EOL> from open_connect . media import views <EOL> urlpatterns = patterns ( <EOL> '<STR_LIT>' , <EOL> url ( r'<STR_LIT>' , views . upload_photos_view , name = '<STR_LIT>' ) , <EOL> url ( r'<STR_LIT>' , views . promote_image_view , name = '<STR_LIT>' ) , <EOL> url ( r'<STR_LIT>' , views . demote_image_view , name = '<STR_LIT>' ) , <EOL> url ( r'<STR_LIT>' , <EOL> views . image_view , <EOL> name = '<STR_LIT>' ) , <EOL> url ( r'<STR_LIT>' , <EOL> views . image_view , <EOL> name = '<STR_LIT>' , <EOL> kwargs = { '<STR_LIT>' : '<STR_LIT>' } ) , <EOL> url ( r'<STR_LIT>' , views . image_view , name = '<STR_LIT:image>' ) , <EOL> url ( r'<STR_LIT>' , views . my_images_view , name = '<STR_LIT>' ) , <EOL> url ( r'<STR_LIT>' , <EOL> permission_required ( <EOL> '<STR_LIT>' , raise_exception = True <EOL> ) ( views . AdminGalleryView . as_view ( ) ) , <EOL> name = '<STR_LIT>' ) <EOL> ) <EOL> urlpatterns += patterns ( <EOL> '<STR_LIT>' , <EOL> url ( r'<STR_LIT>' , <EOL> views . shortened_url_redirect , <EOL> name = '<STR_LIT>' ) , <EOL> url ( r'<STR_LIT>' , views . URLPopularityView . as_view ( ) , name = '<STR_LIT>' ) <EOL> ) </s>
