Source

django-tube / tube / urls.py

Full commit
# -*- coding: utf-8 -*-

from django.conf.urls import patterns, url

from tube import views


urlpatterns = patterns('',
    url('^(?P<pk>[0-9]+)/(?P<slug>[-\w]+)/$', views.VideoDetail.as_view(), name='tube-video'),
    url('^$', views.VideoList.as_view(), name='tube-video-list'),
)