On Wednesday, September 21, 2011 7:38:12 PM UTC-4, Aaron wrote: > > That did the trick. Thanks muchly! I was using request.extension = > 'json' but I knew that was a hack. > > I can see how enabling generic views could be a security risk; I can't > see myself using them very frequently except to test the output of a > particular action, so perhaps I'll add > response.generic_patterns = ['*'] > to my model during testing, making sure to take it out thereafter. >
The 'welcome' app now has: response.generic_patterns = ['*'] if request.is_local else [] # enabled only for requests from localhost Anthony

