Tuesday, October 12, 2010

How to launch home page from urls.py?

Hello,

Currently in my urls.py I have "( r'^winapp/(?P<path>.*)$',
'django.views.static.serve', { 'document_root': 'winapp' } )," and I
can launch my home pahe by pointing my browser to something like
"a.b.com/winapp/HomePage.html".

I have gone through the documentation and a couple of books, but I
cannot figure out how to launch "HomePage.html" by using just
"a.b.com".

Any help is highly appreciated!

Thank you,
Chris

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment