Re: request.is_ajax() good practices

2010-07-21 Thread DrBloodmoney
On Wed, Jul 21, 2010 at 1:37 PM, Juan Hernandez wrote: > Hey there, > I have been working a lot with request.is_ajax() to handle forms and the > results have been great so fat yet, I have a question about good practices > and best uses for this function. > Lets say that I executed a function that

request.is_ajax() good practices

2010-07-21 Thread Juan Hernandez
Hey there, I have been working a lot with request.is_ajax() to handle forms and the results have been great so fat yet, I have a question about good practices and best uses for this function. Lets say that I executed a function that returned True and instead of sending the boolean to the template