Django - ManyToMany relation without the cross table
<p>I have 2 models: City and Service. Each city record can contain many services and each service can be linked to each city.</p>

<pre><code>class City(models.Model):
    name = models.CharField(max_length=255, unique=True)

class Service(models.Model):
    name = models.CharField(max_length=255, unique=True)

class CityService(models.Model):
    city = models.ForeignKey(City)
    service = models.ManyToManyField(Service)
</code></pre>

<p>I use <em>ManyToManyField</em> to enable the multiple selections in Django admin.
But Django creates one more table to store m2m relations..</p>

<p>Is it possible to configure Django models so that to reach the following table structure:</p>

<pre><code>+----+---------------+------------+
| id | city_id       | service_id |
+----+---------------+------------+
|  1 |             1 |         1  |
|  2 |             1 |         2  |
|  3 |             2 |         3  |
+----+---------------+------------+
</code></pre>