Hi,
Sorry, via the admin interface (Web-GUI) I have inserted the following values:
My Actions
en
Language

mike.test // t...@test.de
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
Request Method:
POST
Request URL:
http://127.0.0.1:8000/admin/BookReminder/interest/add/
Django Version:
1.7
Exception Type:
TypeError
Exception Value:
sequence item 0: expected string, ManyRelatedManager found
Exception Location:
D:\D-Project\SOL\BookReminder\models.py in __str__, line 39
Python Executable:
C:\Python27\python.exe
Python Version:
2.7.6
Python Path:
['D:\\D-Project\\SOL',
 'C:\\Windows\\system32\\python27.zip',
 'C:\\Python27\\DLLs',
 'C:\\Python27\\lib',
 'C:\\Python27\\lib\\plat-win',
 'C:\\Python27\\lib\\lib-tk',
 'C:\\Python27',
 'C:\\Python27\\lib\\site-packages']
Server time:
Tue, 4 Nov 2014 18:48:34 +0100
 
So for me it looks like in the Model there is an error? Otherwise it should work via the GUI that gives me the two fields as input possibilites. The same happens, if I try to add the interesst by using the user in the admin interface and click there on "add" interest.
 
Best Regards,
Mike

--
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 django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
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/trinity-178b3e5e-8e2e-45c0-97f7-158fe3e34fd6-1415124982218%403capp-gmx-bs03.
For more options, visit https://groups.google.com/d/optout.

Reply via email to