#11957: runserver must be restarted after error in admin.py ---------------------------------------+------------------------------------ Reporter: carljm | Owner: nobody Status: new | Milestone: Component: django-admin.py runserver | Version: 1.1 Keywords: | Stage: Unreviewed Has_patch: 0 | ---------------------------------------+------------------------------------ In most cases, runserver is able to pick up changes to files and restart itself automatically. However, if there is an error importing an admin.py file, then the error is fixed and the file saved, A) the dev server does not automatically restart, and B) while the admin will load, the app whose admin.py previously contained an error will be missing from the admin. The dev server must be manually restarted before the app will appear again in the admin.
FWIW, while this seems pretty minor, I'm currently teaching a beginning Django class, and this particular bug caused more confusion during the tutorial (part 2, of course) than any other single issue. -- Ticket URL: <http://code.djangoproject.com/ticket/11957> 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 -~----------~----~----~----~------~----~------~--~---