title: Unique referral code generate in django
body: <p>I am new in django and i want to generate a <strong>unique</strong> referral code for each user with the <strong>signup</strong>.This referral code will be emailed to the user.I am using userena and I have no idea how do this with <strong>userena</strong>. These are some links about the issue,but not so clear how to implement with <strong>userena</strong></p>
  
  <p><a href="https://github.com/byteweaver/django-referral" rel="nofollow">https://github.com/byteweaver/django-referral</a></p>
  
  <p><a href="https://pypi.python.org/pypi/django-referral" rel="nofollow">https://pypi.python.org/pypi/django-referral</a></p>
  
  <p><a href="http://paltman.com/2012/08/17/how-to-easily-add-referrals-to-a-website/" rel="nofollow">http://paltman.com/2012/08/17/how-to-easily-add-referrals-to-a-website/</a>.</p>
  
  <p>.So if anyone have clear thoughts about the issue,then please share with me.
   Cheers</p>