you saved it in Admin or in your own form? If in form, problem could be your
"def save()" function.
did check table(s) of Book model? is it empty?
Radovan
[EMAIL PROTECTED] wrote:
>
>
> sorry, i forgot to mention that i am using debian stable version
> 0.95.1-1etch2
>
> ---------------------------------------------------------------------
>
> hi all
>
> i have a model with two ManyToManyFields. The problem is, that when i
> choose some values,save it, and later come to the same record, the
> values for this columns are not visible as marked. From mysql terminal
> everything is ok. So it is little bit confusing.
>
> class Tester(models.Model):
> title=models.CharField('title', maxlength=255)
> test_winner=models.ManyToManyField(Book,
> related_name="band_tester_winner")
> test_losser=models.ManyToManyField(Book,
> related_name="book_tester_looser")
>
> def __str__(self):
> return self.title
>
> class Admin:
> list_display = ('id', 'title', )
> list_display_links = ('title', )
>
> actualy i do not know where to look for debugging
> thank you
> pavel
>
>
>
>
> >
>
>
--
View this message in context:
http://www.nabble.com/manyTomany-visibility-in-admin-tp19669374p19682592.html
Sent from the django-users mailing list archive at Nabble.com.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---