Forgot to paste in the urls.

urls.py
from django.conf.urls.defaults import *
from django.views.generic.simple import redirect_to
from views import *


urlpatterns = patterns('person',

    url(r'^create_type/$',create_type,name='type_create'),
    url(r'^view_type/(?P<id>\d+)/$',view_type,name='type_view'),
    url(r'^update_type/(?P<id>\d+)/$',update_type,name='type_update'),
    url(r'^list_type/$',list_type,name='type_list'),
    url(r'^delete_type/(?P<id>\d+)/$',delete_type,name='type_delete'),

    url(r'^index',index,name='person_index'),
    url(r'^$', redirect_to, {'url': 'index'}),

)

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to