Yeah - sorry. My constant biggest headache with Django is the lack of
access to properties during field definition. It would be cool (and it
seems natural) to just do this:
image = models.ImageField(upload_to=(%s/%s) % (self.artist, self.book))
or this:
latest_mix = models.ForeignKey(Mix, limit_choices_to={
recording.song.id = self.song.id })
But I don't think it would be easy to make Django do this
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---