author | Nishanth Amuluru <nishanth@fossee.in> |
Fri, 07 Jan 2011 10:30:26 +0530 | |
changeset 261 | d736049a518f |
parent 259 | 3efb40900b87 |
child 264 | 8c2376baee94 |
permissions | -rwxr-xr-x |
238 | 1 |
from django.conf.urls.defaults import * |
2 |
||
259
3efb40900b87
added the url for creating a login
Nishanth Amuluru <nishanth@fossee.in>
parents:
256
diff
changeset
|
3 |
from registration.views import register |
3efb40900b87
added the url for creating a login
Nishanth Amuluru <nishanth@fossee.in>
parents:
256
diff
changeset
|
4 |
from pytask.profile.forms import CustomRegistrationForm |
3efb40900b87
added the url for creating a login
Nishanth Amuluru <nishanth@fossee.in>
parents:
256
diff
changeset
|
5 |
|
238 | 6 |
# Uncomment the next two lines to enable the admin: |
7 |
# from django.contrib import admin |
|
8 |
# admin.autodiscover() |
|
9 |
||
10 |
urlpatterns = patterns('', |
|
11 |
# Example: |
|
12 |
# (r'^pytask/', include('pytask.foo.urls')), |
|
13 |
||
14 |
# Uncomment the admin/doc line below to enable admin documentation: |
|
15 |
# (r'^admin/doc/', include('django.contrib.admindocs.urls')), |
|
16 |
||
17 |
# Uncomment the next line to enable the admin: |
|
18 |
# (r'^admin/', include(admin.site.urls)), |
|
256
718b7b0309f1
added a url for the site
Nishanth Amuluru <nishanth@fossee.in>
parents:
238
diff
changeset
|
19 |
url(r'localhost:8000', None, name="site"), |
259
3efb40900b87
added the url for creating a login
Nishanth Amuluru <nishanth@fossee.in>
parents:
256
diff
changeset
|
20 |
|
3efb40900b87
added the url for creating a login
Nishanth Amuluru <nishanth@fossee.in>
parents:
256
diff
changeset
|
21 |
url(r'^accounts/register/$', register, |
3efb40900b87
added the url for creating a login
Nishanth Amuluru <nishanth@fossee.in>
parents:
256
diff
changeset
|
22 |
{'form_class': CustomRegistrationForm}, |
3efb40900b87
added the url for creating a login
Nishanth Amuluru <nishanth@fossee.in>
parents:
256
diff
changeset
|
23 |
name='registration_register'), |
238 | 24 |
) |