Groups
Groups
Sign in
Groups
Groups
Django users
Conversations
About
Send feedback
Help
Django choice_set feeding from model class objects
8 views
Skip to first unread message
Zoltan Kohalmy
unread,
Sep 17, 2015, 8:11:05 PM
9/17/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django users
Hey everyone!
Say we have a:
class Friends(models.Model):
person_name = models.CharField(max_length=50)
so this will later on give us instances, like: 'Ben', 'Peter', 'Tom'
class Myself(models.Mode):
your_name = models.CharField(max_length=50)
and here I wish to add a dropdown/radio ChoiceField which feeds from Friends' names.
How do I do that?
Thank you very much in advance!!!
Reply all
Reply to author
Forward
0 new messages