次の関係をモデル化する方法:
class Country(models.Model):
# The capital city of this country
capital = models.ForeignKey(City)
## other country stuff
class City(models.Model):
# The country where this city lies in
country = models.ForeignKey(Country)
## other city stuff
これは明らかにコンパイルされません。(都市は国の定義では定義されていません)。助言がありますか?