google-code-export / django-pyodbc

Automatically exported from code.google.com/p/django-pyodbc
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

User password is defaulting to "None" when empty #95

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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

Original issue reported on code.google.com by telln...@gmail.com on 16 Nov 2010 at 12:53

GoogleCodeExporter commented 9 years ago
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.

Original comment by telln...@gmail.com on 16 Nov 2010 at 12:57

GoogleCodeExporter commented 9 years ago

Original comment by vcc.ch...@gmail.com on 24 Mar 2011 at 4:44

GoogleCodeExporter commented 9 years ago
Fixed in r190, thanks.

Original comment by vcc.ch...@gmail.com on 17 Apr 2011 at 5:32