Django query to join records of two tables
问题 I am using django-mssql 1.6.2 package with django 1.7 to get one or several records of tables from sql server 2008. When I call "get" or "filter" as follows, everything is fine but my server program is very slow. Consider the following tables: class Contact(models.Model): id = models.IntegerField(primary_key=True, unique=True, null=False) address = models.CharField(max_length = 100) phone = models.IntegerField(unique=True) class Parent(models.Model): id = models.IntegerField(primary_key=True,