#8085: call_command('runserver') executes management command twice. ------------------------------------------------+--------------------------- Reporter: ericholscher | Owner: Status: new | Milestone: Component: django-admin.py runserver | Version: SVN Resolution: | Keywords: Stage: Unreviewed | Has_patch: 0 Needs_docs: 0 | Needs_tests: 0 Needs_better_patch: 0 | ------------------------------------------------+--------------------------- Comment (by tiberiu_ichim):
My problem is solved if I run "runserver" with the --noreload option, so the problem must be in django.utils.autoreloader. Some details about my setup: my python is actually a script generated with zc.recipes.egg's "interpreter" option. This script inserts all my egg dependencies in the sys.path, then calls an execfile(mymodule). I think the autoreloader only looks at the module that was executed (manage.py) but ignores the special settings for sys.path that that module had. -- Ticket URL: <http://code.djangoproject.com/ticket/8085#comment:6> 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 -~----------~----~----~----~------~----~------~--~---