> The issue is you are passing the kwarg "user" after the arg.  Since user is
> the first param when you pass request.POST as the first arg it assumes it is
> user.  Reorganize your arguments in some(make user first, or pass
> request.POST as a kwarg) way.
>
> Alex

Thanks, Alex. That was a huge help. Passing request.POST as kwarg
solved the issue:
form = SystemAlertForm(data=request.POST, user=request.user,
instance=alert)

I really appreciate your help, and such a quick response.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to