Closed anler closed 12 years ago
Sorry, I think this is more an issue with djangotoolbox
Not a problem, thanks for the report. I've changed the function to be version agnostic anyway, just in case.
I meet this problem again. I'm using the version 1.3 and pymssql to connect with sqlserver. It can create table but put errot when inert values... as:TypeError: db_type() got multiple values for keyword argument 'connection'
my code is: from Blog.models import * import datetime
p = Person(p_date=datetime.datetime.now(),pid='003',name='summer',address='caidian',vince='hubei')
p.save()
Hi, I had this error in Django 1.3 with djangotoolbox and AppEngine because inside JSONField.db_type you are not passing the 'connection' param as a keyword argument, here's a fragment of the stack-trace:
for some reason, inside subclassing.py, django 1.3 and djangotoolbox's indexer is messing with the
connection
param when calling the following function:I fixed it using this diff but I haven't tested it with other versions