Thursday, September 27, 2012

Re: i am getting ConfigParser.NoSectionError: No section: 'database' plz help

On Fri, Sep 28, 2012 at 4:05 PM, Navnath Gadakh <navnathgadakh@gmail.com> wrote:
> ConfigParser.NoSectionError: No section: 'database'

Off the top of my head, I would suggest you have nothing in the
section DATABASES in your settings.py

Does your settings.py have something that looks like:

DATABASES = {
'default': {
'ENGINE': 'django.db.backends.DBNAME',
'NAME': 'xe',
'USER': 'a_user',
'PASSWORD': 'a_password',
'HOST': '',
'PORT': '',
}
}

--
...we look at the present day through a rear-view mirror. This is
something Marshall McLuhan said back in the Sixties, when the world
was in the grip of authentic-seeming future narratives. He said, "We
look at the present through a rear-view mirror. We march backwards
into the future."

http://www.warrenellis.com/?p=14314

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment