pytask/urls.py
changeset 125 9b0812962133
parent 102 0f9d485609ac
equal deleted inserted replaced
124:070f01dd7d8e 125:9b0812962133
     3 from registration.views import register
     3 from registration.views import register
     4 from registration.backends.default import DefaultBackend
     4 from registration.backends.default import DefaultBackend
     5 import pytask.profile.regbackend
     5 import pytask.profile.regbackend
     6 
     6 
     7 from pytask.profile.forms import CustomRegistrationForm
     7 from pytask.profile.forms import CustomRegistrationForm
       
     8 from pytask.views import home_page
     8 
     9 
     9 from django.shortcuts import redirect
    10 from django.shortcuts import redirect
    10 
    11 
    11 # Uncomment the next two lines to enable the admin:
    12 # Uncomment the next two lines to enable the admin:
    12 from django.contrib import admin
    13 from django.contrib import admin
    31         name='registration_register'),
    32         name='registration_register'),
    32 
    33 
    33     (r'^accounts/', include('registration.urls')),
    34     (r'^accounts/', include('registration.urls')),
    34     (r'^profile/', include('pytask.profile.urls')),
    35     (r'^profile/', include('pytask.profile.urls')),
    35     (r'^task/', include('pytask.taskapp.urls')),
    36     (r'^task/', include('pytask.taskapp.urls')),
       
    37     (r'^$', home_page),
    36 )
    38 )