please am building an ecomerce website and i want anonymous user to be able to add to cart update delete and checkout using only django sessions
See the docs at How to use sessions | Django documentation | Django, particularly the first line:
Django provides full support for anonymous sessions.
You pretty much use sessions for anonymous users the same way you use them for authenticated users. The sessions are identified by by a cookie that gets sent to the user’s browser and are not directly tied to their authentication status.
1 Like