Hi everyone, I'm Antonello and I am new to django. I'm trying to write my very first serious app, so now all the problems are coming out.
I have a model with two fields like these state =models.ForeignKey(State) city = models.ForeignKey(City) where State is class State(models.Model): name = models.CharField("State",maxlength=100, core = True) and City is class City(models.Model): id_state = models.ForeignKey(State) name = models.CharField("City name",maxlength=100, core = True) now the problem is that in my admin i want to display in the city field only cities related to the previously selected state, how can i do this? Thank you very much, Antonello --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~----------~----~----~----~------~----~------~--~---