Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Creating temporary user accounts - Django

I need to setup temporary User models for each visitors, where the visitors are obviously tied by session data.

I might not be aware of it, but does Django support attaching data to Anonymous users?


The only way, I am currently aware of, is to use the session dictionary part of the request object.


Help would be very much appreciated!

like image 265
RadiantHex Avatar asked Mar 19 '10 22:03

RadiantHex


1 Answers

Have a look at django-lazysignup

django-lazysignup is a package designed to allow users to interact with a site as if they were authenticated users, but without signing up. At any time, they can convert their temporary user account to a real user account.

like image 197
Benjamin Wohlwend Avatar answered Sep 23 '22 12:09

Benjamin Wohlwend