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[1].

-- 
Melvyn Sopacua

--------
[1] https://docs.djangoproject.com/en/2.0/ref/settings/#auth-user-model

-- 
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 https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/1971033.SWcSYpt7Ld%40fritzbook.
For more options, visit https://groups.google.com/d/optout.

Reply via email to