Fixed #322 -- 'django-admin runserver' no longer validates models.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@504 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
8f9e5b6b3b
commit
91c71d36e6
|
@ -544,8 +544,6 @@ def runserver(port):
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
def inner_run():
|
def inner_run():
|
||||||
from django.conf.settings import SETTINGS_MODULE
|
from django.conf.settings import SETTINGS_MODULE
|
||||||
print "Validating models..."
|
|
||||||
validate()
|
|
||||||
print "\nStarting server on port %s with settings module %r." % (port, SETTINGS_MODULE)
|
print "\nStarting server on port %s with settings module %r." % (port, SETTINGS_MODULE)
|
||||||
print "Go to http://127.0.0.1:%s/ for Django." % port
|
print "Go to http://127.0.0.1:%s/ for Django." % port
|
||||||
print "Quit the server with CONTROL-C (Unix) or CTRL-BREAK (Windows)."
|
print "Quit the server with CONTROL-C (Unix) or CTRL-BREAK (Windows)."
|
||||||
|
|
Loading…
Reference in New Issue