Wednesday, November 23, 2011

Re: Very strange KeyError on 'PORT' in db/backends/mysql/base.py

just another wild guess:

in django/db/utils.py Line 84:

for setting in ('NAME', 'USER', 'PASSWORD', 'HOST', 'PORT'):
conn.setdefault(setting, '')

It looks like PORT is set to '' instead of 3306 if missing. But still it should be in the dict.

really strange, yes.

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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate