Re: Add a "split" field to a model causes problems

2012-11-04 Thread Mike Johnson
Ahh, got it now. Thanks! On Sunday, November 4, 2012 1:10:48 PM UTC-8, Andrew Ingram wrote: > > Hi Mike, > > It looks like I missed part of the problem, namely that abstract models > are involved. These model definitions should trigger the error: > > from django.db import models > > > class Bar(m

Re: Add a "split" field to a model causes problems

2012-11-04 Thread Andrew Ingram
Hi Mike, It looks like I missed part of the problem, namely that abstract models are involved. These model definitions should trigger the error: > from django.db import models > > > class Bar(models.Model): > name = models.CharField(max_length=250) > > > class AbstractFoo(models.Model)

Re: Add a "split" field to a model causes problems

2012-11-04 Thread Mike Johnson
Hi Andrew, I'm trying to come up with a test case for this and am struggling to reproduce the problem in test. Can you post some code to help us reproduce it? Thanks, Mike On Tuesday, October 23, 2012 3:52:10 AM UTC-7, Andrew Ingram wrote: > > Hi all, > > This one stung me today. Basically as

Re: Add a "split" field to a model causes problems

2012-11-03 Thread Stephen Burrows
I've opened a ticket to track this issue. On Tuesday, October 23, 2012 3:52:10 AM UTC-7, Andrew Ingram wrote: > > Hi all, > > This one stung me today. Basically as part of an event (calendar) app, I > have functionality for splitting a series of even

Re: Add a "split" field to a model causes problems

2012-10-23 Thread Alex Gaynor
On Tue, Oct 23, 2012 at 5:11 PM, Russell Keith-Magee < russ...@keith-magee.com> wrote: > > > On Tue, Oct 23, 2012 at 6:52 PM, Andrew Ingram wrote: > >> Hi all, >> >> This one stung me today. Basically as part of an event (calendar) app, I >> have functionality for splitting a series of events into

Re: Add a "split" field to a model causes problems

2012-10-23 Thread Russell Keith-Magee
On Tue, Oct 23, 2012 at 6:52 PM, Andrew Ingram wrote: > Hi all, > > This one stung me today. Basically as part of an event (calendar) app, I > have functionality for splitting a series of events into two at a given > timestamp. The details aren't particularly relevant, but the key thing is > that

Add a "split" field to a model causes problems

2012-10-23 Thread Andrew Ingram
Hi all, This one stung me today. Basically as part of an event (calendar) app, I have functionality for splitting a series of events into two at a given timestamp. The details aren't particularly relevant, but the key thing is that I had a method called "split" on one of the models. This was w