Re: What's the recommended way to use ForeignKey?

2009-05-17 Thread Alex Gaynor
On Sun, May 17, 2009 at 5:31 PM, Thierry wrote: > > In the Django doc at > http://docs.djangoproject.com/en/dev/ref/models/fields/#django.db.models.ForeignKey > , > it mentions explicitly specifying the application label in 1.0: > > class Car(models.Model): >

What's the recommended way to use ForeignKey?

2009-05-17 Thread Thierry
In the Django doc at http://docs.djangoproject.com/en/dev/ref/models/fields/#django.db.models.ForeignKey, it mentions explicitly specifying the application label in 1.0: class Car(models.Model): manufacturer = models.ForeignKey('production.Manufacturer') The above is using a string for the