#113 closed defect (fixed)
auto-reload broken in standalone WSGI server
Reported by: | Jason Huggins | Owned by: | Adrian Holovaty |
---|---|---|---|
Component: | Core (Other) | Version: | |
Severity: | normal | Keywords: | auto reload |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Auto reload is broken in the new standalone server (http://www.djangoproject.com/weblog/2005/jul/18/local_server/)... Let's bring auto reload back.
The code for this borrow's from Peter Hunt and the CherryPy project (www.cherrypy.org), which in turn borrows from Ian Bicking's Paste (http://pythonpaste.org/)
We'll need to check on Paste and CherryPy's licenses to make sure this is all kosher.
Attachments (5)
Change History (10)
by , 19 years ago
Attachment: | autoreload.py added |
---|
by , 19 years ago
This should be stored in <yourapp>/scripts/ (see inline comments in the .py file for more info)
by , 19 years ago
A simple script for Windows to launch the django server. Should be stored in <yourapp>/scripts/
comment:1 by , 19 years ago
Django is BSD-licensed. CherryPy is also BSD-licensed: http://www.cherrypy.org/wiki/CherryPyLicense. And Paste is under the PSF license, a BSD/MIT-style license: http://svn.pythonpaste.org/Paste/trunk/docs/Paste.txt. IANAL, but it sure looks to me like all the code-borrowing is perfectly kosher.
comment:2 by , 19 years ago
Uploading the new patch for management.py, based on adrian's refactorings to django-admin
by , 19 years ago
Attachment: | management.py added |
---|
Here's the new copy of management.py... (so you can more easily do a file compare if you want)
comment:3 by , 19 years ago
Because of the new addition of the patch to management.py, feel free to delete server.py and start.bat from this ticket.
comment:4 by , 19 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
This should stored in django/utils. This has only been tested with Python 2.4.1