So i am very new to django and have a little python experience. im
using webfraction to host my application and followed their
instructions on starting a django webapp. i have the server up and
running and im using the 1.0 documentation at djangobook.com, and
running django 1.0 for my webapp. I cannot seem to get my helloworld
URL at http://ezuloaga.webfactional.com/myproject/hello/ to display
anything other than the default django page. here are my views.py and
urls.py files. according to the documentation, it should display my
hello world page. Thanks for any help!

[ezulo...@web93 myproject]$ cat views.py
from django.http import HttpResponse

def hello(request):
    return HttpResponse("Hello world")

----

[ezulo...@web93 myproject]$ cat urls.py
from django.conf.urls.defaults import *
from mysite.views import hello

urlpatterns = patterns('',
    ('^hello/$', hello),
)


http://ezuloaga.webfactional.com/myproject/hello/

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to