Here is the table:

class CsRemove(models.Model):
    action = models.CharField(max_length=3, db_column='Action') #
Field name made lowercase.
    endpointid = models.IntegerField(primary_key=True,
db_column='EndpointId') # Field name made lowercase.
    devicetype = models.IntegerField(primary_key=True,
db_column='DeviceType') # Field name made lowercase.
    channelnumber = models.IntegerField(primary_key=True,
db_column='ChannelNumber') # Field name made lowercase.
    actiondate = models.DateField(primary_key=True,
db_column='ActionDate') # Field name made lowercase.
    class Meta:
        db_table = u'cs_remove'

I can use MySQL Query browser and insert successfully. Django cannot.
I can easily roll some MySQL code to do this, but would prefer to do
it the Django way.

What am I missing?

Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to