You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From: Davis Goglin [mailto:[email protected]]
Sent: Thursday, November 06, 2014 6:05 PM
To: lionheart/django-pyodbc
Cc: Raila, Wayne F.
Subject: Re: [django-pyodbc] Error if settings miss OPTIONS key (#44)
You just have to define an options key in the configuration. Something like
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/44#issuecomment-62068065.
The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.
In DatabaseWrapper class in init method self.settings only defined if options is not None
so if we don't have OPTIONS key in settings then we've got an error in _cursor method return statement:
return CursorWrapper(cursor, self.driver_supports_utf8, self.encoding)
because self.encofing is never defined.
The text was updated successfully, but these errors were encountered: