This may sound silly, but have you tried renaming that property in your model?

Or better yet using db_column parameter.
Would that help you?

DMI_id = meta.SlugField(db_index = True, unique = True,
prepopulate_from=("title",),db_column="dmi_id")

Wild guess: maybe escaping functions made something in the db backend
case sensitive.

Good Luck

On 11/15/05, Laurent Rahuel <[EMAIL PROTECTED]> wrote:
>
> Yes and I did not find anything relating any upper/lower case issue.
>
> Le Mercredi 16 Novembre 2005 01:00, Eugene Lazutkin a écrit:
> > Did you check if something from "Backwards-incompatible changes" list
> > (http://code.djangoproject.com/wiki/BackwardsIncompatibleChanges) applies
> > to you?
> >
> >
> > "Laurent Rahuel" <[EMAIL PROTECTED]> wrote in message
> > news:[EMAIL PROTECTED]
> >
> > > Hi,
> > >
> > > I was using a "rather" old version of django svn with no problems. I'm
> > > using
> > > Postgresql as backend. I updated sources a now I got a strange problem.
> > >
> > > Since the beginning, one of my models (folder) contains a property
> > > defined like this :
> > >
> > > DMI_id = meta.SlugField(db_index = True, unique = True,
> > > prepopulate_from=("title",))
> > >
> > > Note the uppercase DMI.
> > >
> > > My app is now crashing complaining that "folders"."DMI_id" does not
> > > exists in
> > > table folders. That's true because in my database table I only have a
> > > dmi_id
> > > field (note the lowercase dmi).
> > >
> > > Everything was working well before my django sources update and I did not
> > > change anything I my own poor code.
> > >
> > > Does anybody have an explaination and/or a solution ??
> > >
> > > Regards,
> > >
> > > Laurent.
>

Reply via email to