Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Jan 4th, 2013  |  syntax: None  |  size: 0.28 KB  |  views: 16  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. class UserForm(forms.ModelForm):
  2.     class Meta:
  3.         model = User
  4.  
  5.  
  6. class ProfileRegisterView(FormView):
  7.     template_name = 'profile-register-form.html'
  8.     form_class    = UserForm
  9.     success_url   = '/account/created/'
  10.        
  11. AUTH_PROFILE_MODULE = "creative_profile.Profile"