#7539: Add ON DELETE and ON UPDATE support to Django ---------------------------------------------------+------------------------ Reporter: glassfordm | Owner: Status: new | Milestone: Component: Database layer (models, ORM) | Version: SVN Resolution: | Keywords: feature Stage: Design decision needed | Has_patch: 1 Needs_docs: 1 | Needs_tests: 0 Needs_better_patch: 0 | ---------------------------------------------------+------------------------ Changes (by lsaffre):
* cc: luc.saf...@gmail.com (added) Comment: I tried to apply the patch to revision 14140, but there were quite some failures. Is it asked much to post a new patch against the latest version? Here are the error messages I got: {{{ L:\snapshots\django>patch -p0 < 7539.on_delete.r12380.diff patching file tests/modeltests/invalid_models/models.py Hunk #1 FAILED at 181. Hunk #2 FAILED at 285. 2 out of 2 hunks FAILED -- saving rejects to file tests/modeltests/invalid_models/models.py.rej patching file tests/modeltests/delete/models.py Hunk #1 FAILED at 44. Hunk #2 FAILED at 79. Hunk #3 FAILED at 93. Hunk #4 FAILED at 107. Hunk #5 FAILED at 128. 5 out of 5 hunks FAILED -- saving rejects to file tests/modeltests/delete/models.py.rej patching file tests/modeltests/on_delete/__init__.py patching file tests/modeltests/on_delete/models.py patching file django/db/models/sql/subqueries.py Hunk #1 FAILED at 26. Hunk #2 succeeded at 45 (offset -43 lines). 1 out of 2 hunks FAILED -- saving rejects to file django/db/models/sql/subqueries.py.rej patching file django/db/models/base.py Hunk #1 FAILED at 7. Hunk #2 FAILED at 536. 2 out of 2 hunks FAILED -- saving rejects to file django/db/models/base.py.rej patching file django/db/models/options.py Hunk #1 succeeded at 370 (offset -6 lines). patching file django/db/models/fields/related.py Hunk #2 succeeded at 734 (offset 46 lines). Hunk #3 succeeded at 744 (offset 46 lines). Hunk #4 succeeded at 764 (offset 46 lines). Hunk #5 succeeded at 820 with fuzz 1 (offset 49 lines). patching file django/db/models/__init__.py patching file django/db/models/deletion.py patching file django/db/models/query.py }}} -- Ticket URL: <http://code.djangoproject.com/ticket/7539#comment:57> Django <http://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-upda...@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.