Linked-models

2008-09-03 Thread andylockran
Guys, I'm just starting out with Django, so please bear with me. I've got a suppliers database, with a unique REF for each supplier. I've also got a contracts database, also with a unique contract number. There's another model, which I state below.. the first two fields are to store the above t

Re: forms and dynamic # of form fields

2008-09-04 Thread andylockran
just started using Django myself. For how I've done this, check-out http://www.launcpad.net/posys/pypo - look at http://bazaar.launchpad.net/~andylockran/posys/pypo/annotate/6?file_id=models.py-20080902200058-47p99xmqjp3zourq-3 for the model. Regards, Andy --~--~-~--~~---

Accessing other attributes from Foreign-key

2008-09-04 Thread andylockran
Guys, I have the following model : from pypo.contracts.models import job_id from pypo.suppliers.models import Company ##Create your models here class ponum(models.Model): contract = models.ForeignKey(job_id) supplier = models.ForeignKey(Company) Description = models.

Re: 'Django in Under a Minute' screencast, requesting feedback before v1-final is ready

2008-09-04 Thread andylockran
Love it :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For

Re: Apache httpd conf with mod_python

2008-09-09 Thread andylockran
Ok, it could be that your PythonPath is wrong? /home/chris/web/django_project's' rather than the singular project. Does your ucwv sit @ /home/chris/web/django_projects/ucwv? Regards, Andy Karen Tracey wrote: > On Tue, Sep 9, 2008 at 8:05 AM, <[EMAIL PROTECTED] > > w