Re: Serialization of custom model fields

2008-11-15 Thread Karen Tracey
On Sat, Nov 15, 2008 at 9:56 AM, AndyH <[EMAIL PROTECTED]> wrote: > > So I'm not missing anything. It's a bug. Ouch... > > Thanks for the info, before I trawled my way through the serializers. > May well have to apply the patch locally to move forward. There > doesn't seem to be much movement on t

Re: Serialization of custom model fields

2008-11-15 Thread AndyH
So I'm not missing anything. It's a bug. Ouch... Thanks for the info, before I trawled my way through the serializers. May well have to apply the patch locally to move forward. There doesn't seem to be much movement on the ticket. On Nov 15, 1:40 pm, "Alex Koshelev" <[EMAIL PROTECTED]> wrote: >

Re: Serialization of custom model fields

2008-11-15 Thread Alex Koshelev
There is ticket and patch for this issue http://code.djangoproject.com/ticket/9522 On Sat, Nov 15, 2008 at 16:38, AndyH <[EMAIL PROTECTED]> wrote: > > Hi, > > I have a custom model field class that stores event recurrence > information. In python this is an instance of dateutil.rrule.rule, and >

Serialization of custom model fields

2008-11-15 Thread AndyH
Hi, I have a custom model field class that stores event recurrence information. In python this is an instance of dateutil.rrule.rule, and in the database I am storing it as an iCal recurrence string. To convert between these two formats I have to_python and get_db_prep_value methods on the custom