<gh_stars>1-10
from django.conf.urls import url

from bluebottle.initiatives.views import (
    InitiativeList, InitiativeDetail, InitiativeImage,
    RelatedInitiativeImageList, RelatedInitiativeImageContent,
    InitiativeReviewTransitionList,
    InitiativeMapList, InitiativeRedirectList,
    ThemeList, ThemeDetail
)


urlpatterns = [

    url(
        r'^$',
        InitiativeList.as_view(),
        name='initiative-list'
    ),
    url(
        r'^/(?P<pk>\d+)$',
        InitiativeDetail.as_view(),
        name='initiative-detail'
    ),
    url(
        r'^/transitions$',
        InitiativeReviewTransitionList.as_view(),
        name='initiative-review-transition-list'
    ),
    url(
        r'^/(?P<pk>\d+)/image/(?P<size>\d+x\d+)$',
        InitiativeImage.as_view(),
        name='initiative-image'
    ),

    url(
        r'^/redirects$',
        InitiativeRedirectList.as_view(),
        name='initiative-redirect-list'
    ),

    url(
        r'^/related-images$',
        RelatedInitiativeImageList.as_view(),
        name='related-initiative-image-list'
    ),
    url(
        r'^/themes$',
        ThemeList.as_view(),
        name='initiative-theme-list'
    ),
    url(
        r'^/themes/(?P<pk>\d+)$',
        ThemeDetail.as_view(),
        name='initiative-theme'
    ),

    url(
        r'^/(?P<pk>\d+)/related-image/(?P<size>\d+(x\d+)?)$',
        RelatedInitiativeImageContent.as_view(),
        name='related-initiative-image-content'
    ),

    url(
        r'^/map/$',
        InitiativeMapList.as_view(),
        name='initiative-map-list'
    ),
]
