Django

Code

Ticket #6980: 6980.diff

File 6980.diff, 1.2 kB (added by programmerq, 5 months ago)

Combined sections as suggested

  • a/docs/django-admin.txt

    old new  
    392392--noreload 
    393393~~~~~~~~~~ 
    394394 
    395 Use the ``--noreload`` option to disable the use of the auto-reloader. This 
    396 means any Python code changes you make while the server is running will *not* 
    397 take effect if the particular Python modules have already been loaded into 
    398 memory. 
     395To disable auto-reloading of code while the development server is running, use the 
     396``--noreload`` option, like so:: 
     397 
     398    django-admin.py runserver --noreload 
     399 
     400This means any Python code changes you make while the server is running will 
     401*not* take effect if the particular Python modules have already been loaded 
     402into memory. 
    399403 
    400404Examples of using different ports and addresses 
    401405~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
     
    426430 
    427431.. _serving static files: ../static_files/ 
    428432 
    429 Turning off auto-reload 
    430 ~~~~~~~~~~~~~~~~~~~~~~~ 
    431  
    432 To disable auto-reloading of code while the development server is running, use the 
    433 ``--noreload`` option, like so:: 
    434  
    435     django-admin.py runserver --noreload 
    436  
    437433shell 
    438434----- 
    439435