Thanks, I indeed did not run my manage.py file.

On Oct 9, 5:35 am, Andi Trînculescu <a...@persons.ro> wrote:
> You probably didn't run manage.py runserver.
> You also need to install your app in settings.py
>
> On Oct 9, 12:50 am, lyrical <ninanguyen4e...@gmail.com> wrote:
>
> > I'm following the Django book but run into a pathing problem (I think)
> > I did exactly what the book said, even copying and pasting the code as
> > to make sure I didn't make a typo.
>
> > so in the views.py I have
>
> > from django.http import HttpResponse
>
> > def hello(request):
> > return HttpResponse("Hello world")
>
> > and url I have
>
> > from django.conf.urls.defaults import *
> > from mysite.views import hello
>
> > urlpatterns = patterns('',
> > ('^hello/$', hello),
> > )
>
> > I get the error "Unable to connect" what is wrong?

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