Whoops... i see now that it never even finds your urs.py so it must be something wrong with the configuration on webfaction...
you have to look into your /webapps/PROJECT_NAME/apache/conf/ httpd.conf file to see if everything is setup correctly. On Aug 10, 12:01 pm, gumbah <joost.ruy...@gmail.com> wrote: > I read "from mysite.views import hello " in your code... > > are you sure your webapp is in the "mysite" folder? > > best regards > > On Aug 10, 1:45 am, "ezulo...@gmail.com" <ezulo...@gmail.com> wrote: > > > 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 athttp://ezuloaga.webfactional.com/myproject/hello/todisplay > > 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 -~----------~----~----~----~------~----~------~--~---