Skip to content
Browse files

Fixed #18611 -- Display current date/time when running runserver

  • Loading branch information...
1 parent 2e92858 commit cb1614f7b30f336db2a807b43696e20fdab7b78c @mgrouchy mgrouchy committed with claudep
Showing with 3 additions and 0 deletions.
  1. +3 −0 django/core/management/commands/
3 django/core/management/commands/
@@ -1,4 +1,5 @@
from optparse import make_option
+from datetime import datetime
import os
import re
import sys
@@ -90,10 +91,12 @@ def inner_run(self, *args, **options):
self.stdout.write("Validating models...\n\n")
+ "%(started_at)s\n"
"Django version %(version)s, using settings %(settings)r\n"
"Development server is running at http://%(addr)s:%(port)s/\n"
"Quit the server with %(quit_command)s.\n"
) % {
+ "started_at":'%B %d, %Y - %X'),
"version": self.get_version(),
"settings": settings.SETTINGS_MODULE,
"addr": self._raw_ipv6 and '[%s]' % self.addr or self.addr,

0 comments on commit cb1614f

Please sign in to comment.
Something went wrong with that request. Please try again.