Hi Jeremy, thanks for the info,

I meant mssql, sorry.

the issue with object_id is that mssql can not insert an integer PK
into a  TEXT field.

so how should it be handled then if the field type can not be changed?

peter



On Aug 3, 9:02 pm, "Jeremy Dunck" <[EMAIL PROTECTED]> wrote:
> On 8/3/07, pk11 <[EMAIL PROTECTED]> wrote:
>
> > - django's admin log model object_id's type is changed  from text to
> > integer (is there a reason why object_id is declared as textfield?)
>
> object_id is whatever the arbitrary model's PK is, and you can't
> assume it's an integer in the general case.  The model's PK is
> serialized to text.
>
> > - mysql throws an error  because it can handle only 23:59:59.99 but
> > not 23:59:59.999999, please see: django/db/models/fields/__init__.py
> > at 222 line
>
> mysql or mssql?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@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-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to