Hi all

I'd like to set up an admin form that will use something like a
SlugField's prepopulate_from to fill several text fields with
information from foreignkey, float, and other fields. It doesn't seem
Django's current function will meet my needs, but I'm trying to figure
out the best way to proceed before I start hacking around with
Javascript. Here's a bit of pseudocode:

class Player(models.Model):
    team = models.ForeignKey(Team)
    team_text = models.CharField(maxlength=100,
prepopulate_from=('team',))

This example makes the text field seem redundant, but it's really not.
It's also just as likely that I'm completely missing the obvious
solution. Got any suggestions? 

Thanks,
Chase


--~--~---------~--~----~------------~-------~--~----~
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 more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to