| author | nishanth |
| Fri, 29 Jan 2010 19:27:26 +0530 | |
| changeset 5 | aea7e764c033 |
| parent 2 | 3db830ff66ee |
| child 6 | 94136f9a48bc |
| permissions | -rw-r--r-- |
| 1 | 1 |
from django.conf.urls.defaults import * |
2 |
||
3 |
# Uncomment the next two lines to enable the admin: |
|
4 |
from django.contrib import admin |
|
5 |
admin.autodiscover() |
|
6 |
||
|
5
aea7e764c033
created views and templates for homepage,browse_task and added actions.
nishanth
parents:
2
diff
changeset
|
7 |
from pytask.taskapp.views.users import redirect_to_homepage, homepage |
|
aea7e764c033
created views and templates for homepage,browse_task and added actions.
nishanth
parents:
2
diff
changeset
|
8 |
from pytask.taskapp.views.tasks import browse_tasks, view_task |
|
aea7e764c033
created views and templates for homepage,browse_task and added actions.
nishanth
parents:
2
diff
changeset
|
9 |
|
| 1 | 10 |
urlpatterns = patterns('',
|
11 |
# Example: |
|
12 |
# (r'^pytask/', include('pytask.foo.urls')),
|
|
13 |
||
14 |
# Uncomment the admin/doc line below and add 'django.contrib.admindocs' |
|
15 |
# to INSTALLED_APPS to enable admin documentation: |
|
16 |
# (r'^admin/doc/', include('django.contrib.admindocs.urls')),
|
|
17 |
||
|
5
aea7e764c033
created views and templates for homepage,browse_task and added actions.
nishanth
parents:
2
diff
changeset
|
18 |
(r'^$', homepage), |
|
aea7e764c033
created views and templates for homepage,browse_task and added actions.
nishanth
parents:
2
diff
changeset
|
19 |
(r'^task/browse/$', browse_tasks), |
|
aea7e764c033
created views and templates for homepage,browse_task and added actions.
nishanth
parents:
2
diff
changeset
|
20 |
(r'^task/view/tid=(\d+)', view_task), |
|
aea7e764c033
created views and templates for homepage,browse_task and added actions.
nishanth
parents:
2
diff
changeset
|
21 |
|
| 1 | 22 |
(r'^admin/', include(admin.site.urls)), |
23 |
||
24 |
) |