Thanks in advance for any help. I almost had it - I wish - but don't think django liked starting with an empty database.
When defining the models.py, rather than use a handtyped LOOKUP_PEOPLE (as above) I would like LOOKUP_PEOPLE to provide the choices from a list of forenames. How do I do that, when the forenames are in the same 'class People'? (I understand I won't see these in the models.py file).
Thanks again.
Daniel Roseman
unread,
Jul 6, 2014, 10:14:30 PM7/6/14
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...@googlegroups.com
Sounds like you want a ForeignKey to "self". -- DR.
Dean
unread,
Jul 7, 2014, 1:26:17 AM7/7/14
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...@googlegroups.com
Spot on DR - thanks - for pointing me in the right direction :-)