Re: Reverse mappings raising exceptions

2009-04-12 Thread Elliott
On Apr 12, 1:51 am, Glenn Maynard wrote: > Accessing a reverse OneToOneField mapping with no object raises > DoesNotExist (http://code.djangoproject.com/ticket/10227).  I think > the difference between when an object is expected and when None is an > ordinary result is

Re: ifequal/ifnotequal fails while in a for loop

2009-04-12 Thread murray
Sorry for the mis-post.. I however found my probelm... self.render_to_response('sitesearch.html', { 'query': int(myid), <--- converted to int... 'pics': pics, On Apr 12, 11:36 pm, murray wrote: > My ultimate goal is to create a nested list with sub-list

Re: ifequal/ifnotequal fails while in a for loop

2009-04-12 Thread Russell Keith-Magee
On Mon, Apr 13, 2009 at 11:36 AM, murray wrote: > > My ultimate goal is to create a nested list with sub-list items that > are controlled by a div tag and > will expand when the the "parent" link is clicked. Django-developers is for discussing the development of Django

ifequal/ifnotequal fails while in a for loop

2009-04-12 Thread murray
My ultimate goal is to create a nested list with sub-list items that are controlled by a div tag and will expand when the the "parent" link is clicked. - Link1 - Link2 - SubLink1 - SubLink2 - SubLink3 - Link3 - Link4 i.e. if you clicked on "Link3", then "Link2's" sublinks will be

Re: Deletion of related objects

2009-04-12 Thread bo
On Apr 9, 5:04 am, Russell Keith-Magee wrote: > On Thu, Apr 9, 2009 at 5:02 AM, Jeremy Dunck wrote: > > > On Tue, Mar 31, 2009 at 5:47 PM, Malcolm Tredinnick > > wrote: > > >> On Tue, 2009-03-31 at 14:48 -0500, Jeremy Dunck

Re: GSoC 2009: Testing Upgrades/Awesomeness

2009-04-12 Thread Mikeal Rogers
Figured I should chime in on this. I'm one of the co-creators of the Windmill project and I thought I should clarify the different levels of support Windmill has for django and nose. Windmill tests have a fairly integrated test framework of their own. Many months back we added a feature that

Reverse mappings raising exceptions

2009-04-12 Thread Glenn Maynard
Accessing a reverse OneToOneField mapping with no object raises DoesNotExist (http://code.djangoproject.com/ticket/10227). I think the difference between when an object is expected and when None is an ordinary result is strong and common enough to warrant a field option. The vast majority of