Re: Creating a temporary model in tests

2009-06-05 Thread Branko Vukelic
On Jun 5, 1:02 pm, Russell Keith-Magee wrote: > On Fri, Jun 5, 2009 at 5:28 PM, foxbunny wrote: > > > Hi, > > > I'm trying to figure out how to create tests for my PermaLib app. It > > uses ContentTypes to store permalinks for any model in a Django > > project. Since the app itself has only one

Re: Creating a temporary model in tests

2009-06-05 Thread Russell Keith-Magee
On Fri, Jun 5, 2009 at 5:28 PM, foxbunny wrote: > > Hi, > > I'm trying to figure out how to create tests for my PermaLib app. It > uses ContentTypes to store permalinks for any model in a Django > project. Since the app itself has only one model, and it has no > get_absolute_url() (obviously, beca

Creating a temporary model in tests

2009-06-05 Thread foxbunny
Hi, I'm trying to figure out how to create tests for my PermaLib app. It uses ContentTypes to store permalinks for any model in a Django project. Since the app itself has only one model, and it has no get_absolute_url() (obviously, because it is not needed), I was trying to find a way to define a