Re: Implementing Foreign Key without admin interface

2012-03-28 Thread Sandeep kaur
On Fri, Mar 9, 2012 at 4:31 AM, Ramiro Morales wrote: > On Thu, Mar 8, 2012 at 4:44 PM, Sandeep kaur wrote: >>                        job_no_id = client.job_no >>                        ... >> Am I wrong somewhere?  How should I do this?  Please help!! > > Yes, that client variable appears ma

Re: Implementing Foreign Key without admin interface

2012-03-08 Thread Ramiro Morales
On Thu, Mar 8, 2012 at 4:44 PM, Sandeep kaur wrote: >                        job_no_id = client.job_no >                        ... > Am I wrong somewhere?  How should I do this?  Please help!! Yes, that client variable appears magically. Please paste working code, an abridged version but wor

Implementing Foreign Key without admin interface

2012-03-08 Thread Sandeep kaur
I am using forms, to make the entries from the user. But when it comes to using foreign key in a table and then making entries to it, I am unable to do so. See my code: models.py: class ClientJob(models.Model): """ :ClientJob: ClientJob Class is define all fi