src/hp/urls.py
author ymh <ymh.work@gmail.com>
Sat, 01 Dec 2012 02:20:06 +0100
changeset 104 7643c6aea04b
parent 41 b6010b3d6ea8
permissions -rw-r--r--
Added tag V00.13 for changeset 329e6650ee4e

from django.conf.urls import patterns, include, url

# Uncomment the next two lines to enable the admin:
from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('',
    # Examples:
    # url(r'^$', 'hp.views.home', name='home'),
    # url(r'^hp/', include('hp.foo.urls')),
    url(r'^$', 'hp.views.all_videos', name='home'),
    url(r'^video/(?P<content_id>.*)$', 'hp.views.show_video_details', name='video_details'),
    url(r'^kc_proxy/(?P<path>.*)$', 'hp.views.kc_proxy', name='kc_proxy'),
    
    url(r'^api/1.0/', include('hp.api.urls')),

    # Uncomment the admin/doc line below to enable admin documentation:
    # url(r'^admin/doc/', include('django.contrib.admindocs.urls')),


    # Uncomment the next line to enable the admin:
    url(r'^admin/', include(admin.site.urls)),
)