> Den 04/11/2014 kl. 19.16 skrev [email protected]:
> 
> Hi,
> Sorry, via the admin interface (Web-GUI) I have inserted the following values:
> My Actions
> en
> Language
> 
> mike.test // [email protected]
> User
> 
> Dan Brown
> Author
> 
> If I now try to add an Interest (“Dan Brown” and “en”) via the GUI selection 
> I get:
> TypeError at /admin/BookReminder/interest/add/
> sequence item 0: expected string,ManyRelatedManager found

It looks like the Interest model is supposed to connect one author with one 
language. In that case, the fields the Interest class should be 
models.ForeignKey, not models.ManyToManyField.

Erik

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/4736339F-EEBA-41C6-B9E7-D12B161A0B46%40cederstrand.dk.
For more options, visit https://groups.google.com/d/optout.

Reply via email to