[Fixed]-Django: What is the basic difference beween User and Anonymous user?

1👍

Your understanding is incorrect. The User model is (by default, you can always customise this) used for any registered user, including superusers, staff members and standard users of your django app (if you allow for user registration). An anonymous user is any vistor to your site which isn’t logged in, or doesn’t have an account.

0👍

As @dentemm says is correct. You can also find more difference between User and AnonymousUser from here https://docs.djangoproject.com/en/1.11/ref/contrib/auth/#anonymoususer-object

Leave a comment