Description
Hello,
I use a lot "db_column" in my model classes, mainly to shorten field names in mongodb.
But by reinstalling django_nonrel on my environnement, I noticed that the db_column doesn't work anymore for the EmbeddedModelField.
It worked very well before and I think that the last changes on djangotoolbox broke it.
For example, with the following classes:
class MyClass (models.Model):
comments = ListField(EmbeddedModelField('Comment'))
class Comment (models.Model):
text = models.TextField(db_column='t')
date = models.DateTimeField(db_column='d')
Everytime I query MyClass, I get the following error:
'" t' is an invalid keyword argument for this function"
If I remove the db_column in the fields, it works again, but with "text" as the field name ...
Can you make a fix ?
Thanks a lot