Changes between Initial Version and Version 1 of Ticket #24398
- Timestamp:
- Feb 23, 2015, 4:34:22 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #24398 – Description
initial v1 4 4 2. Create a new default app. 5 5 3. Make a view + url, just return a simple string in a HttpResponse. 6 4. Load the URL in browser / curl. 7 5. Change string in the view. 8 6. Reload the URL in browser / re-run curl. 6 4. Start "manage.py runserver" 7 5. Load the URL in browser / curl. 8 6. Change string in the view. 9 7. Reload the URL in browser / re-run curl. 9 10 10 11 What should happen: … … 22 23 If I hit the force-reload button in the browser (by clicking Ctrl + refresh or similar), then it triggers a server reload/restart. However the result of this response is still the '''old''' content. However if I do a normal request now (so it's the 2nd request after reload), '''then''' the updated content is displayed. 23 24 25 Note 3: 26 A very interesting, possibly related bug: if I hit Ctrl + C to quit the server and restart it, it terminates with error" 27 28 {{{ 29 Error: That port is already in use. 30 }}}. 31 32 To be able to restart the server I have to wait quite a while (say 20 seconds). This error seems to only happen when the server is in the "stuck" mode, as in displaying the old content. 33 24 34 Python version: 2.7.9, latest from homebrew 25 35 Django version: 1.7.4, latest from pip