﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
21589	syncdb fails aparently in the createsuperuser stage	Shlomo Anglister	nobody	"This is pretty long a complicated, sorry

Tool Versions:
OS: Linux SuSE11
Python: 2.6.5
SQL server: 2008 R2
djanjo_pyodbc from lionheart (0.2.1)
pyodbc based on FreeTDS 0.82

Connection and permissions are okay,
%> python2.6.5 manage.py inspectdb
Worked, the output is messy but, I can handle it.

The error is:
    return connection.ops.field_cast_sql(db_type, internal_type) % lhs
TypeError: field_cast_sql() takes exactly 2 arguments (3 given)

Stack trace is attached, as a newbie to django I am not familiar enough with the DB modelsts to make a call (debug efficiently)
Attached is a stack trace."	Bug	closed	Database layer (models, ORM)	1.6	Normal	invalid	field_cast_sql, syncdb, createsuperuser		Unreviewed	0	0	0	0	0	0
