Hello, i have in my models.py:
class Estates(LoggerModelMixin,Standard_Model_Mixin): contactperson = models.ManyToManyField(Address,default=None,related_name='estates_contactperson') Now i want in my views.py i have my fieldname contactperson and now i want to get related class name from this field in this case "Address" I know that i can get field per: self.Meta.model._meta.get_field('contactperson') but i have no idea how a can get related class Name "Address" Can someone help me please? -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/django-users/2a679319-b1ec-4a43-aa73-0c349728862en%40googlegroups.com.