urls.py
author Nishanth Amuluru <nishanth@fossee.in>
Fri, 07 Jan 2011 09:44:52 +0530
changeset 256 718b7b0309f1
parent 238 8d8a3f5af24f
child 259 3efb40900b87
permissions -rwxr-xr-x
added a url for the site
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
238
8d8a3f5af24f Initial commit
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     1
from django.conf.urls.defaults import *
8d8a3f5af24f Initial commit
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     2
8d8a3f5af24f Initial commit
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     3
# Uncomment the next two lines to enable the admin:
8d8a3f5af24f Initial commit
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     4
# from django.contrib import admin
8d8a3f5af24f Initial commit
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     5
# admin.autodiscover()
8d8a3f5af24f Initial commit
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     6
8d8a3f5af24f Initial commit
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     7
urlpatterns = patterns('',
8d8a3f5af24f Initial commit
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     8
    # Example:
8d8a3f5af24f Initial commit
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     9
    # (r'^pytask/', include('pytask.foo.urls')),
8d8a3f5af24f Initial commit
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    10
8d8a3f5af24f Initial commit
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    11
    # Uncomment the admin/doc line below to enable admin documentation:
8d8a3f5af24f Initial commit
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    12
    # (r'^admin/doc/', include('django.contrib.admindocs.urls')),
8d8a3f5af24f Initial commit
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    13
8d8a3f5af24f Initial commit
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    14
    # Uncomment the next line to enable the admin:
8d8a3f5af24f Initial commit
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    15
    # (r'^admin/', include(admin.site.urls)),
256
718b7b0309f1 added a url for the site
Nishanth Amuluru <nishanth@fossee.in>
parents: 238
diff changeset
    16
    url(r'localhost:8000', None, name="site"),
238
8d8a3f5af24f Initial commit
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    17
)