Saturday, June 23, 2018

Re: ValueError at /feedback/by/feedback/new Cannot assign "": "Feedback.user" must be a "User" instance.

On zaterdag 23 juni 2018 10:52:09 CEST Saloni Kalra wrote:

> https://github.com/salonikalra/feedback

> This is a feedback application for teachers by the students. I have been

> constntly getting the following error:

> ValueError at /feedback/by/feedback/new

> Cannot assign "<User: feedback>": "Feedback.user" must be a "User" instance.

 

You're using a custom user model, but have not set AUTH_USER_MODEL.

 

--

Melvyn Sopacua

No comments:

Post a Comment