profile/forms.py
changeset 253 beb830b0e744
parent 252 5a92fcacdd5a
child 254 5c000bf6f241
equal deleted inserted replaced
252:5a92fcacdd5a 253:beb830b0e744
    74                               aboutme=self.cleaned_data['aboutme'],
    74                               aboutme=self.cleaned_data['aboutme'],
    75                               dob=self.cleaned_data['dob'],
    75                               dob=self.cleaned_data['dob'],
    76                               gender=self.cleaned_data['gender'],
    76                               gender=self.cleaned_data['gender'],
    77                               address=self.cleaned_data['address']
    77                               address=self.cleaned_data['address']
    78                               phonenum=self.cleaned_data['phonenum'],
    78                               phonenum=self.cleaned_data['phonenum'],
       
    79                               uniq_key=make_key(Profile),
    79                              )
    80                              )
    80         new_profile.save()
    81         new_profile.save()
    81         
    82         
    82         return new_user
    83         return new_user
    83 
    84