Changes between Initial Version and Version 1 of Ticket #24398


Ignore:
Timestamp:
Feb 23, 2015, 4:34:22 PM (10 years ago)
Author:
Zsolt Ero
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #24398 – Description

    initial v1  
    442. Create a new default app.
    553. 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.
     64. Start "manage.py runserver"
     75. Load the URL in browser / curl.
     86. Change string in the view.
     97. Reload the URL in browser / re-run curl.
    910
    1011What should happen:
     
    2223If 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.
    2324
     25Note 3:
     26A very interesting, possibly related bug: if I hit Ctrl + C to quit the server and restart it, it terminates with error"
     27
     28{{{
     29Error: That port is already in use.
     30}}}.
     31
     32To 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
    2434Python version: 2.7.9, latest from homebrew
    2535Django version: 1.7.4, latest from pip
Back to Top