-
Notifications
You must be signed in to change notification settings - Fork 85
Open
Description
When trying to use the InviteFriendForm in such a way:
form = InviteFriendForm(user=request.user)
form.initial['to_user'] = "peter"
form = form.clean()
if form.is_valid():
...
I get the error:
'InviteFriendForm' object has no attribute 'cleaned_data'
If I'm just approaching this from a silly angle, could you please let me know the proper way to use the InviteFriendForm.
Also, usage examples or an overview on the wiki would be very helpful.
thanks
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels