ForeignKey documentation mentions non-existent method
|Reported by:||danielr||Owned by:||nobody|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||yes|
The documentation for ForeignKey fields (http://docs.djangoproject.com/en/dev/ref/models/fields/#arguments) mentions Q objects as having a get_sql() method. They don't have such a method - possibly they did before queryset-refactor, but not now. Patch attached removes this, and links the reference to Q objects to the description on the Making queries page (because there is no reference page for Q).