i am new to django.

i have a very simple question.
wht is the url  i need to give to httpresponseredirect()  to load my
home page with url  http://127.0.0.1:8000/
my urls.py looks like dis:

urlpatterns = patterns('',
    # Examples:
    url(r'^$', 'person.views.home', name='home'),
    url(r'^edit/$', 'person.views.edit', name='edit'),

    #url(r'^persons/$', 'person.views.index', name='index'),
    # url(r'^mysite/', include('mysite.foo.urls')),

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

    # Uncomment the next line to enable the admin:
    url(r'^admin/', include(admin.site.urls)),


)

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@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.

  • urls NISA BALAKRISHNAN

Reply via email to