#11957: runserver must be restarted after error in admin.py ------------------------------------------------+--------------------------- Reporter: carljm | Owner: brosner Status: assigned | Milestone: 1.2 Component: django-admin.py runserver | Version: 1.1 Resolution: | Keywords: Stage: Accepted | Has_patch: 1 Needs_docs: 0 | Needs_tests: 0 Needs_better_patch: 0 | ------------------------------------------------+--------------------------- Changes (by ramiro):
* has_patch: 0 => 1 Comment: I've updated carljm patch to current trunk tip status. In other words: * It undoes the fix for #8245 done in r9680 and implements the strategy proposed by jarrow in that ticket (`Misleading-AlreadyRegistered-03.diff`) * Modifies the bug8245 regression test added in such revision. Unfortunately no record exist of the IRC discussion Greg Wilson talks about in which he maintained with Malcolm on September '08 that led him to disregard the strategy proposed by `jarrow` and implement the `LOADING` global one instead. I've searched my `#django-*` archives and in http://botland.oebfare.com/logger so maybe it was in a private IRC channel? With this patch I get correctly non-disappearing admin URLs in the testing web server after a 500 error is generated by some e.g. an invalid Python syntax error in a `ModelAdmin`. More testing and feedback about how it works with other error conditions would be great. Refs. #8126/r8583, #8245/r9680, #8193/r10088, #10887/r12192. -- Ticket URL: <http://code.djangoproject.com/ticket/11957#comment:13> 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.