Database setup Issue

2013-03-21 Thread Kamalakannan Srinivasan
Hi, I installed PostgreSQL 8.4.16 and was trying to set up the database as specified in the tutorial under djangoproject.com. I gave the Engine name as 'django.db.backends.postgresql_psycopg2' and Name as 'PostgreSQL' and ran the python manage.py syncdb command. But it gave the error 'database

Re: Django 1.5 & Python 2.7.3 - Not able to view pages

2013-03-19 Thread Kamalakannan Srinivasan
Thanks. On Tuesday, March 19, 2013 9:05:12 PM UTC+5:30, Kamalakannan Srinivasan wrote: > Hi, > > I have just started learning Django 1.5 and am reading The Django Book > Chapter 3: Views and URL Confs. > > I set up the Views.py with the following code: > >

Django 1.5 & Python 2.7.3 - Not able to view pages

2013-03-19 Thread Kamalakannan Srinivasan
Hi, I have just started learning Django 1.5 and am reading The Django Book Chapter 3: Views and URL Confs. I set up the Views.py with the following code: *from django.http import HttpResponse def hello(request): return HttpResponse("Hello world")* Then I created the urls file with the