view user_photos/urls.py @ 1178:a584caef1576

Remove Catch a Wave Radio link. Google gives a big scary warning if you try to follow this link.
author Brian Neal <bgneal@gmail.com>
date Sat, 13 Apr 2019 14:38:40 -0500
parents 364f8ec48612
children
line wrap: on
line source
"""URLs for the user_photos application."""
from django.conf.urls import url

import user_photos.views


urlpatterns = [
    url(r'^upload/$', user_photos.views.upload, name='user_photos-upload'),
    url(r'^upload-ajax/$',
        user_photos.views.upload_ajax,
        name='user_photos-upload_ajax'),
    url(r'^upload-ajax-v3/$',
        user_photos.views.upload_ajax_v3,
        name='user_photos-upload_ajax_v3'),
    url(r'^photo/(?P<pk>\d+)/$',
        user_photos.views.PhotoView.as_view(),
        name='user_photos-detail'),
    url(r'^gallery/(?P<username>[\w.@+-]{1,30})/$',
        user_photos.views.GalleryView.as_view(),
        name='user_photos-gallery'),
    url(r'^delete/$', user_photos.views.delete, name='user_photos-delete'),
    url(r'^hotlink/$',
        user_photos.views.hotlink_image,
        name='user_photos-hotlink'),
]