I'm Curious ...
and forgetful so here are my random notes
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
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment