- \n
\n \n
\n
- \n
\n
Django’s built-in admin interface comes with a neat feature that lets you dynamically add new related items—ForeignKey fields or ManyToManyField fields—to the pull-down menu (or multiple-select in the case of ManyToManyFields). There’s no documentation on this, and the pieces are spread across a couple of admin and form files in the source, but it turns out to be pretty easy to leverage this functionality for your own custom forms.\n
\n
- \n
\n \n
\n