Re: confirm user by ref_has and email

2010-11-26 Thread bruno desthuilliers
On 25 nov, 15:11, robos85 wrote: > Yes it looks that: > from django.db import models > from django.contrib.auth.models import User > > class UserProfile(models.Model): >     user = models.ForeignKey(User, unique=True) >     register_hash = models.CharField(max_length=32) > >

Re: confirm user by ref_has and email

2010-11-25 Thread robos85
Yes it looks that: from django.db import models from django.contrib.auth.models import User class UserProfile(models.Model): user = models.ForeignKey(User, unique=True) register_hash = models.CharField(max_length=32) And now I want to do something like this: check =

Re: confirm user by ref_has and email

2010-11-25 Thread bruno desthuilliers
On 25 nov, 12:55, robos85 wrote: > I'm wondering how to confirm user by ref_hash and email. I know how to > check by ref_hash in my UserProfile model but have no idea how to > connect users model with my UserProfile model. > It's required because I'm checking email (Users) and

Re: confirm user by ref_has and email

2010-11-25 Thread robos85
EDIT - title should be: "confirm user by reg_hash and email" On 25 Lis, 12:55, robos85 wrote: > I'm wondering how to confirm user by ref_hash and email. I know how to > check by ref_hash in my UserProfile model but have no idea how to > connect users model with my UserProfile

confirm user by ref_has and email

2010-11-25 Thread robos85
I'm wondering how to confirm user by ref_hash and email. I know how to check by ref_hash in my UserProfile model but have no idea how to connect users model with my UserProfile model. It's required because I'm checking email (Users) and reg_hash (UserProfile). How to resolve it? -- You received