pytask/urls.py
changeset 363 9b0812962133
parent 340 0f9d485609ac
child 396 08893f05cc3d
equal deleted inserted replaced
362:070f01dd7d8e 363: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 )