id,summary,reporter,owner,description,type,status,component,version,severity,resolution,keywords,cc,stage,has_patch,needs_docs,needs_tests,needs_better_patch,easy,ui_ux 26899,Document why RawSQL requires parameters,David Wolever,petedmarsh,"The `params` argument to `RawSQL` isn't optional so an empty tuple must be provided if no arguments are needed: {{{ >>> RawSQL(""some_column"") ... TypeError: __init__() takes at least 3 arguments (2 given) }}} It seems reasonable to make `params=()` the default: `RawSQL(sql, params=(), output_field=None)`, or possibly `params=None` and `self.params = params if params is not None else ()`. See also: https://github.com/django/django/blob/master/django/db/models/expressions.py#L607",Cleanup/optimization,closed,Documentation,dev,Normal,fixed,,,Ready for checkin,1,0,0,0,1,0