pytask/urls.py
author nishanth
Thu, 28 Jan 2010 19:17:31 +0530
changeset 1 b7bbb12e3b8e
child 2 3db830ff66ee
permissions -rw-r--r--
created a django project called pytask.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1
b7bbb12e3b8e created a django project called pytask.
nishanth
parents:
diff changeset
     1
from django.conf.urls.defaults import *
b7bbb12e3b8e created a django project called pytask.
nishanth
parents:
diff changeset
     2
b7bbb12e3b8e created a django project called pytask.
nishanth
parents:
diff changeset
     3
# Uncomment the next two lines to enable the admin:
b7bbb12e3b8e created a django project called pytask.
nishanth
parents:
diff changeset
     4
from django.contrib import admin
b7bbb12e3b8e created a django project called pytask.
nishanth
parents:
diff changeset
     5
admin.autodiscover()
b7bbb12e3b8e created a django project called pytask.
nishanth
parents:
diff changeset
     6
b7bbb12e3b8e created a django project called pytask.
nishanth
parents:
diff changeset
     7
from pytask.taskapp.seed_db import seed_db
b7bbb12e3b8e created a django project called pytask.
nishanth
parents:
diff changeset
     8
from pytask.taskapp import views
b7bbb12e3b8e created a django project called pytask.
nishanth
parents:
diff changeset
     9
b7bbb12e3b8e created a django project called pytask.
nishanth
parents:
diff changeset
    10
urlpatterns = patterns('',
b7bbb12e3b8e created a django project called pytask.
nishanth
parents:
diff changeset
    11
    # Example:
b7bbb12e3b8e created a django project called pytask.
nishanth
parents:
diff changeset
    12
    # (r'^pytask/', include('pytask.foo.urls')),
b7bbb12e3b8e created a django project called pytask.
nishanth
parents:
diff changeset
    13
b7bbb12e3b8e created a django project called pytask.
nishanth
parents:
diff changeset
    14
    # Uncomment the admin/doc line below and add 'django.contrib.admindocs' 
b7bbb12e3b8e created a django project called pytask.
nishanth
parents:
diff changeset
    15
    # to INSTALLED_APPS to enable admin documentation:
b7bbb12e3b8e created a django project called pytask.
nishanth
parents:
diff changeset
    16
    # (r'^admin/doc/', include('django.contrib.admindocs.urls')),
b7bbb12e3b8e created a django project called pytask.
nishanth
parents:
diff changeset
    17
b7bbb12e3b8e created a django project called pytask.
nishanth
parents:
diff changeset
    18
    (r'^$', views.homepage),
b7bbb12e3b8e created a django project called pytask.
nishanth
parents:
diff changeset
    19
    (r'^accounts/logout/?$', views.logout_user),
b7bbb12e3b8e created a django project called pytask.
nishanth
parents:
diff changeset
    20
    (r'^accounts/login/?$', views.login_user),
b7bbb12e3b8e created a django project called pytask.
nishanth
parents:
diff changeset
    21
    (r'^accounts/register/?$', views.register_user),
b7bbb12e3b8e created a django project called pytask.
nishanth
parents:
diff changeset
    22
    #(r'^user/view?uid=(\d+)$', views.view_profile),
b7bbb12e3b8e created a django project called pytask.
nishanth
parents:
diff changeset
    23
    #(r'^user/edit/?$', views.edit_profile),    
b7bbb12e3b8e created a django project called pytask.
nishanth
parents:
diff changeset
    24
    #(r'^user/view/?$', views.browse_users),
b7bbb12e3b8e created a django project called pytask.
nishanth
parents:
diff changeset
    25
    
b7bbb12e3b8e created a django project called pytask.
nishanth
parents:
diff changeset
    26
    (r'^admin/', include(admin.site.urls)),
b7bbb12e3b8e created a django project called pytask.
nishanth
parents:
diff changeset
    27
b7bbb12e3b8e created a django project called pytask.
nishanth
parents:
diff changeset
    28
    (r'^seed_db/?$',seed_db),
b7bbb12e3b8e created a django project called pytask.
nishanth
parents:
diff changeset
    29
)