I like the idea. Could you create a third party app so I could use it right
away?
On Thu, Nov 22, 2012 at 2:39 AM, James Pic wrote:
> Hi all,
>
> More projects use AJAX nowadays. Django could help them more.
>
> For example, FormView, could check if
Hi all,
More projects use AJAX nowadays. Django could help them more.
For example, FormView, could check if request.is_ajax_request(), and in
that case return a JSON dict for example:
{
'html': ,
'messages': [],
'error_fields': [],
}
All generic views could do something like this.