On 9/19/07, Jacob Kaplan-Moss <[EMAIL PROTECTED]> wrote:
>
> On 9/19/07, Joe Holloway <[EMAIL PROTECTED]> wrote:
> > Anyone give me a nudge in the right direction?
>
> Posting the model you're working with is gonna help quite a bit.
> Chances are you've got something wrong there.

You are right.  By process of elimination I was able to reduce my
model to this and still recreate the error:

class Organization(models.Model):
    organization_id = models.IntegerField(primary_key=True)
    services = models.CharField()
    class Meta:
        db_table = u'tm_organization'

The problem appears to be with the 'services' field.  I speculated
that 'services' may be reserved somewhere so I changed it to this:

    my_field = models.CharField (db_column='services')

The same error resulted, so now I'm thinking that something doesn't
like there being a column named 'services'.

Does that make sense?

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to