from django.conf.urls import url

from .views import ChannelsView
from .views import ChannelsDetailView

urlpatterns = [
    url(r'^$', ChannelsView.as_view(), name='list'),
    url(r'^channels/(?P<uid>[a-f0-9]{8}-?[a-f0-9]{4}-?4[a-f0-9]{3}-?[89ab][a-f0-9]{3}-?[a-f0-9]{12})', ChannelsDetailView.as_view(), name='detail'),
    url(r'^channels/(?P<slug>[-\w]+)/$', ChannelsDetailView.as_view(),
        name='slug-detail'),
]

58580d3026c1ea44bfadf30562900bcc9f99b0dd
<mask token>

<mask token>
urlpatterns = [url('^$', ChannelsView.as_view(), name='list'), url(
    '^channels/(?P<uid>[a-f0-9]{8}-?[a-f0-9]{4}-?4[a-f0-9]{3}-?[89ab][a-f0-9]{3}-?[a-f0-9]{12})'
    , ChannelsDetailView.as_view(), name='detail'), url(
    '^channels/(?P<slug>[-\\w]+)/$', ChannelsDetailView.as_view(), name=
    'slug-detail')]

from django.conf.urls import url
from .views import ChannelsView
from .views import ChannelsDetailView
urlpatterns = [url('^$', ChannelsView.as_view(), name='list'), url(
    '^channels/(?P<uid>[a-f0-9]{8}-?[a-f0-9]{4}-?4[a-f0-9]{3}-?[89ab][a-f0-9]{3}-?[a-f0-9]{12})'
    , ChannelsDetailView.as_view(), name='detail'), url(
    '^channels/(?P<slug>[-\\w]+)/$', ChannelsDetailView.as_view(), name=
    'slug-detail')]

from django.conf.urls import url

from .views import ChannelsView
from .views import ChannelsDetailView

urlpatterns = [
    url(r'^$', ChannelsView.as_view(), name='list'),
    url(r'^channels/(?P<uid>[a-f0-9]{8}-?[a-f0-9]{4}-?4[a-f0-9]{3}-?[89ab][a-f0-9]{3}-?[a-f0-9]{12})', ChannelsDetailView.as_view(), name='detail'),
    url(r'^channels/(?P<slug>[-\w]+)/$', ChannelsDetailView.as_view(),
        name='slug-detail'),
]
