Hi,
I've got the django adming setup but if i look at posts for example i
just get a with post object loads of times. How can i it so it
displays the post title?
In my admin.py i have:
admin.site.register(Post)
and the model is:
post_title = models.CharField(max_length=750)
.........
post_tags = models.ManyToManyField(Tag)
def _str_(self):
return self.post_title
if i had to guess i imangine this would be sommet to do with def_str_
thanks,
Andrew
--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---