Opened 12 years ago

Closed 12 years ago

Last modified 10 years ago

#18611 closed New feature (fixed)

Show the date and time when the dev server gets started

Reported by: Julien Phalip Owned by: nobody
Component: Core (Other) Version: 1.4
Severity: Normal Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

It would be very useful, I think, if the dev server outputted the date and time when is gets started. Something like:

July 10, 2012 - 1:23pm
0 errors found
Django version 1.5.dev20120707224104, using settings 'src.settings'
Development server is running at http://0.0.0.0:8000/
Quit the server with CONTROL-C.

The server can't always be trusted to systematically restart when there's a code change. Because of that, I keep finding myself shutting it down and restarting it, just in case, because I'm not sure it actually just picked up the change. Seeing the date/time would help to quickly be sure.

Change History (7)

comment:1 by Aymeric Augustin, 12 years ago

Triage Stage: UnreviewedAccepted

Why not.

This could help, until we get a better autoreloader (one day).

comment:2 by mgrouchy, 12 years ago

This seemed like a pretty simple addition so I added a patch for this to display the current Datetime in the format above.

Pull request is here -> https://github.com/django/django/pull/236

Let me know if it needs anything else.

comment:3 by Eduardo Cereto, 12 years ago

Has patch: set

comment:4 by mgrouchy, 12 years ago

Is there anything I can do to get this Pull Request Reviewed?

comment:5 by Marc Tamlyn, 12 years ago

Triage Stage: AcceptedReady for checkin

comment:6 by Claude Paroz <claude@…>, 12 years ago

Resolution: fixed
Status: newclosed

In [cb1614f7b30f336db2a807b43696e20fdab7b78c]:

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

comment:7 by Aymeric Augustin, 10 years ago

FTR this made it impossible to start the dev server on some platforms, see #21358 and #23265.

Note: See TracTickets for help on using tickets.
Back to Top