Thank you for your reply. I removes all the migrations and dropped the 
database. Now when I try to make migrations i get the following error in my 
terminal.
Thanks and regards,
Saloni

*Error:*
accounts.User.user_ptr: (fields.E301) Field defines a relation with the 
model 'auth.User', which has been swapped out.
        HINT: Update the relation to point at 'settings.AUTH_USER_MODEL'.

On Saturday, 23 June 2018 23:25:25 UTC+5, Melvyn Sopacua wrote:
>
> 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 
> <https://docs.djangoproject.com/en/2.0/ref/settings/#auth-user-model>.
>
>  
>
> -- 
>
> Melvyn Sopacua
>

-- 
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/6e8d5f2a-e77b-48e3-baf7-dddb6a06faa2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to