Export to GitHub

django-pyodbc - issue #95

User password is defaulting to "None" when empty


Posted on Nov 16, 2010 by Happy Monkey

What steps will reproduce the problem? 1. Create a new project with Django 1.2.3 2. Edit settings.py and use empty password 3. run manage.py syncdb

What is the expected output? It should create session, authentication tables, etc

What do you see instead? Login failed for user __.

What version of the product are you using? revision 183

On what operating system? Windows XP Pro

Please provide any additional information below. I am using pyodbc 2.1.7 and SQL Server 2000 on Windows Server 2003

Comment #1

Posted on Nov 16, 2010 by Happy Monkey

I tried replacing None with empty string at line 143 on pyodbc\base.py and it worked. I dont know if this is the best solution.

Comment #2

Posted on Mar 24, 2011 by Swift Panda

(No comment was entered for this change.)

Comment #3

Posted on Apr 17, 2011 by Swift Panda

Fixed in r190, thanks.

Status: Fixed

Labels:
Type-Defect Priority-Medium