Using a manipulator with ModelForms

2009-06-27 Thread paultanner
Whilst I appreciate that hidden fields can be less than ideal in some cases I want to set default values in a form generated from a model. http://code.djangoproject.com/wiki/CookBookManipulatorWithHiddenFields gives some guidance but this approach appears to be deprecated in django 1.02 (and the

Problem with passing information from related model to a view

2009-06-24 Thread paultanner
As you can see from this I am just learning django. I am trying to list contacts and their related organisations. This does list the contact names. No errors are raised but fields from Organisations do not show with this view and template. I guess I need to be more explicit in referncing the rela

Re: Installing django admin on apache/ mod_python

2008-12-22 Thread paultanner
. It will be looking for admin.site.root but where does it expect that to be? Also, as there is nothing in apache's error log, is there anywhere else where evidence could be found? On Dec 21, 9:31 am, paultanner wrote: > No more input on this for a while so I tried various moving th

Re: Installing django admin on apache/ mod_python

2008-12-21 Thread paultanner
runs OK /foo gives a 404 error via django debug /admin just hangs (blank browser - nothing appears on apache error log.) Any suggestions pls? Paul On Nov 18, 12:08 pm, "Karen Tracey" wrote: > On Tue, Nov 18, 2008 at 3:39 AM, paultanner wrote: > > > I got a fresh dis

Re: Installing django admin on apache/ mod_python

2008-11-18 Thread paultanner
ov 18, 12:08 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > On Tue, Nov 18, 2008 at 3:39 AM, paultanner <[EMAIL PROTECTED]> wrote: > > > I got a fresh distribution (1.01) and installed it on RHEL4 linux/ > > apache/mod_python (in a subdomain) > > python

Installing django admin on apache/ mod_python

2008-11-18 Thread paultanner
I got a fresh distribution (1.01) and installed it on RHEL4 linux/ apache/mod_python (in a subdomain) python is 2.3.4 the trivial app /tim (from the book) works OK so most of the config must be right then tried to add the admin interface, modifying settings.py and .. urls.py --- from django.