On 5/10/2009 8:03 AM, Jamie Pittock wrote:
> Please excuse the subject if it makes no sense.
>
> Simplified, I have two models Pub and Town. Pub has a ForeignKey
> field called 'town'. I'm using the generic object_list view to
> display all pubs in a particular town (based on a town slug in the
On May 10, 5:03 pm, Jamie Pittock wrote:
> Please excuse the subject if it makes no sense.
>
> Simplified, I have two models Pub and Town. Pub has a ForeignKey
> field called 'town'. I'm using the generic object_list view to
> display all pubs in a particular town (based on a town slug in the
>
Please excuse the subject if it makes no sense.
Simplified, I have two models Pub and Town. Pub has a ForeignKey
field called 'town'. I'm using the generic object_list view to
display all pubs in a particular town (based on a town slug in the
url). Something like this...
def pubs_by_town(requ
3 matches
Mail list logo