Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Got runserver auto-reloading working again by removing what appeared …

…to be debugging code in Refs #5369

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 2cf419d9ed1d9ed188413df5113161486ca8f746 1 parent 2554ea3
@adrianholovaty adrianholovaty authored
Showing with 1 addition and 6 deletions.
  1. +1 −6 django/core/management/
7 django/core/management/
@@ -5,7 +5,6 @@
from optparse import make_option, OptionParser
import sys
import os
-from traceback import print_exc
class CommandError(Exception):
@@ -60,11 +59,7 @@ def run_from_argv(self, argv):
os.environ['DJANGO_SETTINGS_MODULE'] = options.settings
if options.pythonpath:
sys.path.insert(0, options.pythonpath)
- try:
- self.execute(*args, **options.__dict__)
- except Exception, e:
- print_exc()
- parser.print_usage()
+ self.execute(*args, **options.__dict__)
def execute(self, *args, **options):
# Switch to English, because creates database content
Please sign in to comment.
Something went wrong with that request. Please try again.