On Mon, Oct 19, 2009 at 9:55 AM, The Danny Bos wrote:
> Will this display all CollectionTypes even if there is no record for a
> user in CollectionUserPile?
no. in that case try this (untested):
in the view:
mytypes = ((t,
Will this display all CollectionTypes even if there is no record for a
user in CollectionUserPile?
As I'd want to set a default item if there isn't, but still loop
through all Types.
d
On Oct 20, 1:35 am, Javier Guerra wrote:
> On Mon, Oct 19, 2009 at 6:53 AM, The Danny
On Mon, Oct 19, 2009 at 6:53 AM, The Danny Bos wrote:
>
> K, I've got one for ya.
>
> I've created a new table to handle Users latest "owned" item, how
> would I get this joined data up in my views.py where I'm currently
> just looping through CollectionTypes. Tables and
K, I've got one for ya.
I've created a new table to handle Users latest "owned" item, how
would I get this joined data up in my views.py where I'm currently
just looping through CollectionTypes. Tables and current Query is
below:
models.py
class CollectionType(models.Model):
title =
4 matches
Mail list logo