Tip: have a teddy bear/rubber ducky/other toy that you can explain your
problem too. They (probably) won't be able to solve it, but formulating it
in a way to explain what is wrong to someone else is a great way to get
more clarity on exactly what the problem is, and then solving it yourself.
Hi -
Responding to myself...
Doesn't this always happen? As soon as you ask for help, you figure out the
solution.
Here's what I want: c_list = C.objects.fiter(b__a__pk = pk_of_a_instance)
- Craig
On Thu, Dec 8, 2011 at 9:36 AM, Craig wrote:
> Hi -
>
> I'm pretty new
Hi -
I'm pretty new to Django and I'm trying to do something that's
probably pretty easy, but getting it to happen is eluding me. Here's a
simplified version of what I want to do:
class A(models.Model):
name = models.CharField(max_length = 10)
class B(models.Model):
info =
3 matches
Mail list logo