src/hp/urls.py
author ymh <ymh.work@gmail.com>
Wed, 07 Nov 2012 11:48:38 +0100
changeset 37 b4ed8cdc654c
child 38 0fe2f3f5466f
permissions -rw-r--r--
update virtualenv + create the first file structure
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
37
b4ed8cdc654c update virtualenv + create the first file structure
ymh <ymh.work@gmail.com>
parents:
diff changeset
     1
from django.conf.urls import patterns, include, url
b4ed8cdc654c update virtualenv + create the first file structure
ymh <ymh.work@gmail.com>
parents:
diff changeset
     2
b4ed8cdc654c update virtualenv + create the first file structure
ymh <ymh.work@gmail.com>
parents:
diff changeset
     3
# Uncomment the next two lines to enable the admin:
b4ed8cdc654c update virtualenv + create the first file structure
ymh <ymh.work@gmail.com>
parents:
diff changeset
     4
# from django.contrib import admin
b4ed8cdc654c update virtualenv + create the first file structure
ymh <ymh.work@gmail.com>
parents:
diff changeset
     5
# admin.autodiscover()
b4ed8cdc654c update virtualenv + create the first file structure
ymh <ymh.work@gmail.com>
parents:
diff changeset
     6
b4ed8cdc654c update virtualenv + create the first file structure
ymh <ymh.work@gmail.com>
parents:
diff changeset
     7
urlpatterns = patterns('',
b4ed8cdc654c update virtualenv + create the first file structure
ymh <ymh.work@gmail.com>
parents:
diff changeset
     8
    # Examples:
b4ed8cdc654c update virtualenv + create the first file structure
ymh <ymh.work@gmail.com>
parents:
diff changeset
     9
    # url(r'^$', 'hp.views.home', name='home'),
b4ed8cdc654c update virtualenv + create the first file structure
ymh <ymh.work@gmail.com>
parents:
diff changeset
    10
    # url(r'^hp/', include('hp.foo.urls')),
b4ed8cdc654c update virtualenv + create the first file structure
ymh <ymh.work@gmail.com>
parents:
diff changeset
    11
b4ed8cdc654c update virtualenv + create the first file structure
ymh <ymh.work@gmail.com>
parents:
diff changeset
    12
    # Uncomment the admin/doc line below to enable admin documentation:
b4ed8cdc654c update virtualenv + create the first file structure
ymh <ymh.work@gmail.com>
parents:
diff changeset
    13
    # url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
b4ed8cdc654c update virtualenv + create the first file structure
ymh <ymh.work@gmail.com>
parents:
diff changeset
    14
b4ed8cdc654c update virtualenv + create the first file structure
ymh <ymh.work@gmail.com>
parents:
diff changeset
    15
    # Uncomment the next line to enable the admin:
b4ed8cdc654c update virtualenv + create the first file structure
ymh <ymh.work@gmail.com>
parents:
diff changeset
    16
    # url(r'^admin/', include(admin.site.urls)),
b4ed8cdc654c update virtualenv + create the first file structure
ymh <ymh.work@gmail.com>
parents:
diff changeset
    17
)