1. Vivek Narra
  2. django-registration

Commits

ubernostrum  committed c448161

Other half of previous

  • Participants
  • Parent commits 3e7f18d
  • Branches default

Comments (0)

Files changed (1)

File registration/views.py

View file
  • Ignore whitespace
     if request.method == 'POST':
         form = form_class(request.POST)
         if form.is_valid():
-            new_user = form.save()
+            new_user = form.save(profile_callback=profile_callback)
             return HttpResponseRedirect(success_url)
     else:
         form = form_class()