Thanks Tracey! it works :) yea actually i did the tutorial, i cant believe i missed out that part. Looks like i need more brushing up.
On Apr 22, 10:36 am, Karen Tracey <kmtra...@gmail.com> wrote: > On Wed, Apr 21, 2010 at 10:20 PM, Jx <l3earl3ea...@gmail.com> wrote: > > [snip] > > When i view the change user page, my country field is displayed as a > > drop down box as intended, but the contents of the drop down box is > > the "Country Object" instead of my intention to display the name of > > the country. > > Your Country model needs a __unicode__ method to define what a Country > should look like for display. This method is covered fairly early in the > tutorial: > > http://docs.djangoproject.com/en/dev/intro/tutorial01/#playing-with-t... > > (If you have not worked through the tutorial it is a really good first step > to pick up stuff like this, and it is not very long.) > > Karen > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to django-us...@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group > athttp://groups.google.com/group/django-users?hl=en. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.