urls.py
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
changed the url in email activation

from django.conf.urls.defaults import *

from registration.views import register
from pytask.profile.forms import CustomRegistrationForm

# Uncomment the next two lines to enable the admin:
# from django.contrib import admin
# admin.autodiscover()

urlpatterns = patterns('',
    # Example:
    # (r'^pytask/', include('pytask.foo.urls')),

    # Uncomment the admin/doc line below to enable admin documentation:
    # (r'^admin/doc/', include('django.contrib.admindocs.urls')),

    # Uncomment the next line to enable the admin:
    # (r'^admin/', include(admin.site.urls)),
    url(r'localhost:8000', None, name="site"),

    url(r'^accounts/register/$', register,
        {'form_class': CustomRegistrationForm},
        name='registration_register'),
)