id,summary,reporter,owner,description,type,status,component,version,severity,resolution,keywords,cc,stage,has_patch,needs_docs,needs_tests,needs_better_patch,easy,ui_ux 9920,"Empty string is not the same as typing ""localhost"" in DATABASE_HOST in settings.py",crazy2k,nobody,"I was reading Django's book (http://www.djangobook.com/). At Chapter 5, you start playing a little with the database server. I chose PostgreSQL, and I filled the settings accordingly. However, when I tried: {{{ >>> from django.db import connection >>> cursor = connection.cursor() }}} (after running ''python manage.py shell'') I got an error. I had left the DATABASE_HOST setting blank in settings.py, because it says: DATABASE_HOST = '' # Set to empty string for localhost. Not used with sqlite3. I made it work by explictly adding ""localhost"" there. The version of Django I've installed is 1.0-1ubuntu1. ",Bug,closed,Documentation,1.0,Normal,fixed,postgresql host localhost empty,alan.justino@…,Accepted,1,0,0,0,0,0