Ticket #7265: current_time_at_validating.patch

File current_time_at_validating.patch, 792 bytes (added by Valera Grishin <valery.grishin@…>, 16 years ago)

Patch for django/core/management/commands/runserver.py

  • runserver.py

     
    22from optparse import make_option
    33import os
    44import sys
     5import datetime
    56
    67class Command(BaseCommand):
    78    option_list = BaseCommand.option_list + (
     
    4344
    4445        def inner_run():
    4546            from django.conf import settings
    46             print "Validating models..."
     47            print "[%s] Validating models..." % str(datetime.datetime.now())[11:19]
    4748            self.validate(display_num_errors=True)
    4849            print "\nDjango version %s, using settings %r" % (django.get_version(), settings.SETTINGS_MODULE)
    4950            print "Development server is running at http://%s:%s/" % (addr, port)
Back to Top