#10894: django.test.client.post does not throw exception when selected foreign key does not exists ----------------------------------------------------+----------------------- Reporter: Carlos <ble.jur...@gmail.com> | Owner: nobody Status: new | Milestone: Component: Uncategorized | Version: 1.0 Resolution: | Keywords: Stage: Unreviewed | Has_patch: 0 Needs_docs: 0 | Needs_tests: 0 Needs_better_patch: 0 | ----------------------------------------------------+----------------------- Comment (by kmtracey):
You've still completely left out the view that processes the post data. Even without that, though, I'm not understanding why your expected behavior would be a runtime exception. I wouldn't want that. Using the standard form processing formula (validate form, if it's OK do whatever is being requested and redirect to a different page otherwise re-display the existing page), what you are listing as the current behavior is correct. Why do you expect a runtime exception? -- Ticket URL: <http://code.djangoproject.com/ticket/10894#comment:3> 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-updates@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 -~----------~----~----~----~------~----~------~--~---