Re: Accessing instance values in a model...

2006-05-31 Thread Luke Plant
On Tuesday 23 May 2006 20:04, medhat wrote: > 1. I would like to generate the 'upload_to' parameter of the > FileField based on the value of another field in my model. > > example: > > === > class File(models.Model): > title = models.CharField(maxlength=50) > project = models.ForeignKey(P

Re: Accessing instance values in a model...

2006-05-31 Thread medhat
Any insight from the django gurus out there? Thanks! --~--~-~--~~~---~--~~ 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

Re: Accessing instance values in a model...

2006-05-23 Thread favo
I have the same question. --~--~-~--~~~---~--~~ 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