On Sat, Apr 29, 2006 at 08:20:30PM -0500, James Bennett wrote: > In the tutorial, the field on the Choice model ('poll') is the same as > the name of the model it's being related to ('poll'), which is why it > looks that way. Whenever they're different, you want to use the name > of the field on your model.
Which is why I said a few weeks ago that the choice of field and class names for the tutorial must be such that there can be no confusion (this is a learning example), and the way that field and class names are documented should be exceedingly clear too... -- Glenn --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~----------~----~----~----~------~----~------~--~---