You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In raw_id_fields =[ 'user', 'content'] the content should be course as the value(s) of raw_id_fields must be either a foreign key or many-to-many field.
Here is the traceback (with docker-compose.yml)
web_1 | ERRORS:
web_1 | <class 'chat.admin.MessageAdmin'>: (admin.E003) The value of 'raw_id_fields[1]' must be a foreign key or a many-to-many field.
The text was updated successfully, but these errors were encountered:
Here is the screenshot from the book:
In
raw_id_fields =[ 'user', 'content']
thecontent
should becourse
as the value(s) ofraw_id_fields
must be either a foreign key or many-to-many field.Here is the traceback (with
docker-compose.yml
)The text was updated successfully, but these errors were encountered: