Ticket #7265: current_time_at_validating.patch
File current_time_at_validating.patch, 792 bytes (added by , 16 years ago) |
---|
-
runserver.py
2 2 from optparse import make_option 3 3 import os 4 4 import sys 5 import datetime 5 6 6 7 class Command(BaseCommand): 7 8 option_list = BaseCommand.option_list + ( … … 43 44 44 45 def inner_run(): 45 46 from django.conf import settings 46 print " Validating models..."47 print "[%s] Validating models..." % str(datetime.datetime.now())[11:19] 47 48 self.validate(display_num_errors=True) 48 49 print "\nDjango version %s, using settings %r" % (django.get_version(), settings.SETTINGS_MODULE) 49 50 print "Development server is running at http://%s:%s/" % (addr, port)