class Address(models.Model):
Io chiamerei la classe Location.
"""Address detail, based on the XAL Standard.
"""
Mai sentito sto standard. Non possiamo usare nomi normali?
country = models.ForeignKey(Country)
ok
administrative_area = models.CharField(maxlength=50, blank=True)
sub_administrative_area = models.CharField(maxlength=50, blank=True)
locality = models.CharField(maxlength=50, blank=True)
eh!? city non è abbastanza?
thoroughfare = models.CharField(maxlength=50, blank=True)
Io sta parola ho dovuto leggerla sul vocabolario perché giuro che non
l'ho mai sentita. A che serve?
Ok per la storia delle referenze e raccomandazioni.
--
Lawrence
http://www.oluyede.org/blog
http://www.neropercaso.it
_______________________________________________
Python mailing list
[email protected]
http://lists.python.it/mailman/listinfo/python