Re: Filter by ForeignKey reference??

2009-02-03 Thread Markus T.
Thanks for your reply! Your approach returns a list of dictionaries (or tuples if values_list () is used). Do you know of a straight forward way that returns a list of model objects, like filter() or all()? (I mean something smarter than looping the returned list of tuples and creating a new

Nosetests. maximum recursion depth exceeded

2009-02-03 Thread Oleg Oltar
Hi! I am creating one of my firsts django projects. I created nose tests to cover my application and got 100% code coverage My repo is git://github.com/oltarasenko/usermanaging.git Now I am trying to modify my project to make settings be platform independent. So I added following lines to my

mptt usage

2009-02-03 Thread new_user
Hi, everyone. Recently I've installed mptt app on my project. But I cannot find out how to use it. Should I use it's functions manually, or could I use admin interface to order my models in tree structure? Thx in advance. --~--~-~--~~~---~--~~ You received this

Django Get/POST problem

2009-02-03 Thread Aldo
Hi folks, MY URL is x.y.z/list It shows a list of objects. They have link buttons to delete/update for each object. When I click delete for an object I go to a URL via POST with the object id in the url This brings me to a "Are you sure you want to delete this object page". MY URL is

Re: "invalid reference to FROM-clause" for nested annotate query

2009-02-03 Thread omat
I opened the ticket: http://code.djangoproject.com/ticket/10182 Thanks. On Feb 3, 1:25 am, Russell Keith-Magee wrote: > On Mon, Feb 2, 2009 at 4:46 PM,omat wrote: > > > I just remembered that the above error occured when running on > > Postgresql 8.2.

<    1   2