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 28653,Missing ForeignKey.on_delete argument in docs,Stefan Schneider,Stefan Schneider,"There's a second required argument needed for `Foreign Key` fields: `on_delete` . Since 1.11 not providing the argument gives an `Deprecation Warning` but since 2.0 it's required and gives an error if not provieded In the documentation for [https://docs.djangoproject.com/en/dev/topics/db/queries/ Making Queries] the example doesn't provide the `on_delete` argument. {{{ class Entry(models.Model): blog = models.ForeignKey(Blog) }}} should be: {{{ class Entry(models.Model): blog = models.ForeignKey(Blog, on_delete='CASCADING') }}}",Bug,closed,Documentation,dev,Normal,fixed,,,Ready for checkin,1,0,0,0,0,0