Wednesday, June 29, 2011

Django UserCreationForm does not save automatically!

If you're not having success in implementing Django's built-in form = UserCreationForm, then you might need to form.save() it:

form = forms.UserCreationForm(data=request.POST)

if form.is_valid():
form.save()

Djnago doesn't save() automatically

No comments:

Post a Comment