I have the following models:
class Category(models.Model): name = models.CharField(max_length=40) class Item(models.Model): name = models.CharField(
Here is some javascript (JQuery based) to change the item option values when category changes:
You need a view to be called on the /items/ URL that supplies a JSON list of the valid items.
You can hook this into your admin by using model admin media definitions.