I'm writing a rudimentary exercise app in django, with the following table structure:
Routine Exercise Segment ===== ===== ===== routine_name exercise_name routine_id (fk) routine_id exercise_id exercise_id (fk) order duration * (fk) = foreign key In practice, this looks as follows: <https://lh3.googleusercontent.com/-TBTlJazPPBA/VDSaG6O_PFI/AAAAAAAAAUE/UftSycm-NYg/s1600/Screen%2BShot%2B2014-10-06%2Bat%2B8.48.54%2BPM.png> A Routine contains numerous Segments, and each segment contains one Exercise, the order number (where the segment appears in the routine – first, second, third, etc), and the duration of that segment. My question is, is there an way to allow someone to add a new exercise type from the "Add routine" view? I.e., if I'm making a new routine, I don't necessarily want to have to drop out and go to the Exercise table view to add a new exercise to the list. Thanks in advance! Elli *Note: This was cross-posted to StackOverflow <http://stackoverflow.com/questions/26227062/insert-to-foreign-key-linked-table-in-django-admin-interface>, with very few views there. I thought I'd try here as well.* -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/4955d625-d898-4fdf-b186-a8db536363b9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.