l" <[EMAIL PROTECTED]> wrote:
> > I am attempting to use a custom manager for related object access, as
> > documented here<
> http://docs.djangoproject.com/en/dev/topics/db/managers/#using-manage...>,
> > but it does not appear to be working properly. Upon
On 4 déc, 21:39, "Luke Graybill" <[EMAIL PROTECTED]> wrote:
> I am attempting to use a custom manager for related object access, as
> documented
> here<http://docs.djangoproject.com/en/dev/topics/db/managers/#using-manage...>,
> but it does not appear to be wo
I am attempting to use a custom manager for related object access, as
documented
here<http://docs.djangoproject.com/en/dev/topics/db/managers/#using-managers-for-related-object-access>,
but it does not appear to be working properly. Upon accessing the reverse
relationship, I am gett
> > Is it possible, from the table object to determine which cell objects
> > are marked as being in row 1?
>
> Let's say your table object is t_obj. Then you can do:
>
> row_one_cells = t_obj.cell_set.filter(row=1)
Is this callable from a template? I'm trying as much as possible to
use the gene
Hi,
On Apr 3, 5:16 pm, Jared <[EMAIL PROTECTED]> wrote:
> I have something of an odd question, I think... I have a couple of
> objects setup something like this (there are more fields, but this
> seems to be enough of a relevant example)...
>
> class table(models.Model):
> name = models.Char
I have something of an odd question, I think... I have a couple of
objects setup something like this (there are more fields, but this
seems to be enough of a relevant example)...
class table(models.Model):
name = models.CharField()
class cell(models.Model):
name = models.CharField()
6 matches
Mail list logo