author | nishanth |
Thu, 04 Feb 2010 19:34:03 +0530 | |
changeset 9 | 3ad980fc23ca |
parent 1 | 7818992cbf83 |
child 12 | a93eebabfeb1 |
permissions | -rw-r--r-- |
0
a87d642f1ba5
Initial commit that has bare minimum django project files.
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
1 |
from django.conf.urls.defaults import * |
a87d642f1ba5
Initial commit that has bare minimum django project files.
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
2 |
|
a87d642f1ba5
Initial commit that has bare minimum django project files.
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
3 |
# Uncomment the next two lines to enable the admin: |
1
7818992cbf83
Created taskapp and added data to models.py and edited settings.py to make it usable in admin interface.
Nishanth <nishanth@fossee.in>
parents:
0
diff
changeset
|
4 |
from django.contrib import admin |
7818992cbf83
Created taskapp and added data to models.py and edited settings.py to make it usable in admin interface.
Nishanth <nishanth@fossee.in>
parents:
0
diff
changeset
|
5 |
admin.autodiscover() |
0
a87d642f1ba5
Initial commit that has bare minimum django project files.
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
6 |
|
a87d642f1ba5
Initial commit that has bare minimum django project files.
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
7 |
urlpatterns = patterns('', |
a87d642f1ba5
Initial commit that has bare minimum django project files.
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
8 |
# Example: |
a87d642f1ba5
Initial commit that has bare minimum django project files.
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
9 |
# (r'^pytask/', include('pytask.foo.urls')), |
a87d642f1ba5
Initial commit that has bare minimum django project files.
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
10 |
|
a87d642f1ba5
Initial commit that has bare minimum django project files.
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
11 |
# Uncomment the admin/doc line below and add 'django.contrib.admindocs' |
a87d642f1ba5
Initial commit that has bare minimum django project files.
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
12 |
# to INSTALLED_APPS to enable admin documentation: |
a87d642f1ba5
Initial commit that has bare minimum django project files.
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
13 |
# (r'^admin/doc/', include('django.contrib.admindocs.urls')), |
9
3ad980fc23ca
removed views.py from taskapp and created a package views. added auth_profile setting to settings.py
nishanth
parents:
1
diff
changeset
|
14 |
|
3ad980fc23ca
removed views.py from taskapp and created a package views. added auth_profile setting to settings.py
nishanth
parents:
1
diff
changeset
|
15 |
(r'^admin/', include(admin.site.urls)), |
0
a87d642f1ba5
Initial commit that has bare minimum django project files.
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
16 |
|
a87d642f1ba5
Initial commit that has bare minimum django project files.
Nishanth <nishanth@fossee.in>
parents:
diff
changeset
|
17 |
) |