On Oct 25, 11:47 pm, Caisys <amamd...@gmail.com> wrote: > Thanks but I am not very familiar with forms yet I barely managed to > override the default form. > However, I thought that its ok for the time being since places and > subplaces are not changed frequently so i can live with it for the > time being and move to more important parts until I am more familiar > with the forms. > > I just need to know how to call the a related field in __unicode__ > (self)
You haven't shown your models. What is the name of the foreign key field in Subplace that links to Place? That's the name you should use in the unicode method. -- DR. --~--~---------~--~----~------------~-------~--~----~ 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 django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---