Re: Q - returning a data to the template. (many models).

2008-09-29 Thread Tom MacKenzie
{ product }}, company: {{ product.co }} > {% endfor %} > > As a sidenote, I'd use readable column names such as "company" instead of > "co". If you need to map to a legacy database which has "co_id" as the name > of the column, simply do: > > com

Re: Q - returning a data to the template. (many models).

2008-09-28 Thread Tom MacKenzie
If anyone could have a look it would be much appreciated. -Tom On Sat, Sep 27, 2008 at 6:40 PM, Tom MacKenzie <[EMAIL PROTECTED]>wrote: > http://django.pastebin.com/d1c579dbf > > Thanks! > > > On Sat, Sep 27, 2008 at 5:48 PM, Ovnicraft <[EMAIL PROTECTED]> wrote

Re: Q - returning a data to the template. (many models).

2008-09-27 Thread Tom MacKenzie
http://django.pastebin.com/d1c579dbf Thanks! On Sat, Sep 27, 2008 at 5:48 PM, Ovnicraft <[EMAIL PROTECTED]> wrote: > is posible use pastebin? http://django.pastebin.com/ > > 2008/9/27 [EMAIL PROTECTED] <[EMAIL PROTECTED]> > >> >> my view is below. >> >> >> >>Search{% if query %}

Setting up Admin on Fedora 9

2008-09-12 Thread Tom MacKenzie
Hi All, I am able to view the admin pages correctly via python's development server. Once I set up in Apache it looses its format. I have tinkered with the settings.py and /etc/httpd/conf.d/python.conf so much my eyes are starting to cross :) can anyone help out a newb and post instructions