<filename>src/exports/urls.py<gh_stars>1-10
# -*- coding: utf-8 -*-


from django.conf.urls import url

from exports.views import ExportCreate, ExportList, DownloadView


urlpatterns = [

    url(r'^$',
        ExportList.as_view(),
        name="export_list"),
    url(r'^(?P<organisation>[\w-]+)/(?P<category>[\w-]+)/$',
        ExportCreate.as_view(),
        name="export_create"),
    url(r'^(?P<uid>[-\w]+)/$',
        DownloadView.as_view(),
        name='export_download')
]

<filename>src/exports/urls.py<gh_stars>1-10
# -*- coding: utf-8 -*-


from django.conf.urls import url

from exports.views import ExportCreate, ExportList, DownloadView


urlpatterns = [

    url(r'^$',
        ExportList.as_view(),
        name="export_list"),
    url(r'^(?P<organisation>[\w-]+)/(?P<category>[\w-]+)/$',
        ExportCreate.as_view(),
        name="export_create"),
    url(r'^(?P<uid>[-\w]+)/$',
        DownloadView.as_view(),
        name='export_download')
]

# -*- coding: utf-8 -*-