Re: Temporary access to link in django

2007-09-12 Thread Przemek Gawronski
> take 5 minutes out to create a temp user model and table You're suggesting to extend the User model? Something like: class TempUser(models.Model): user = models.ForeignKey(User) ... Przemek -- AIKIDO TANREN DOJO - Poland - Warsaw - Mokotow - Ursynow - Natolin info: http://tanr

Re: Temporary access to link in django

2007-09-12 Thread Kenneth Gonsalves
On 12-Sep-07, at 1:51 PM, Przemek Gawronski wrote: > My main objection here is the pollution of user table. There > (hopefully) > will be quiet a few registrations. Since there is no need to have any > information about the visitor, after it'll be deleted after a month. take 5 minutes out to

Re: Temporary access to link in django

2007-09-12 Thread Przemek Gawronski
> I think you may be complicating things unnecesarily by not creating a > user. Well, maybe that's why I'm asking for suggestions :) > Why not look at creating a temporary user group, and maybe adding an > additional check at login if this user is a temporary user, they > cannot login 1 month af

Re: Temporary access to link in django

2007-09-12 Thread MikeHowarth
I think you may be complicating things unnecesarily by not creating a user. Why not look at creating a temporary user group, and maybe adding an additional check at login if this user is a temporary user, they cannot login 1 month after the date created of the user? On Sep 12, 7:50 am, Przemek G

Temporary access to link in django

2007-09-11 Thread Przemek Gawronski
Hi, I want to give a temporary access to link to a visitor but I don't want to create an user account for him but give access only to him. In general the scenario is to look more/less like this: 1 - visitor fills a form with some data, including an email field and a password, 2 - data from the fo