On Wed, 2006-05-10 at 14:25 -0700, [EMAIL PROTECTED] wrote:
> Here is the scenario:
> 
> I create my models, call up the admin interface, insert some records.
> 
> so far, so good.
> 
> back to admin man page I click on the database I have just edited to
> see my records.
> It then show me a table with as many blank lines as records in my
> database. The title of this table is "select foo_item to change" where
> foo_item is the name of my model.

The admin interface, by default, will display whatever __str__ for your
model returns. So if you have somehow created a __str__ output that is
the empty string or something that is not printable, you might see this
effect.

Try experimenting at the command line (have a look at docs/db-api.txt to
see how to do this) to see what happens when you retrieve an object from
the database and what str(objectInstance) produces.

Malcolm



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to