Ticket #23437: 23437.patch

File 23437.patch, 833 bytes (added by Aymeric Augustin, 10 years ago)
  • docs/releases/1.7.txt

    diff --git a/docs/releases/1.7.txt b/docs/releases/1.7.txt
    index 50be55c..08ea56b 100644
    a b script with::  
    10201020
    10211021Otherwise, you will hit an ``AppRegistryNotReady`` exception.
    10221022
     1023WSGI scripts
     1024~~~~~~~~~~~~
     1025
     1026Until Django 1.3, the recommended way to create a WSGI application was::
     1027
     1028    import django.core.handlers.wsgi
     1029    application = django.core.handlers.wsgi.WSGIHandler()
     1030
     1031In Django 1.4, support for WSGI was improved and the API changed to::
     1032
     1033    from django.core.wsgi import get_wsgi_application
     1034    application = get_wsgi_application()
     1035
     1036If you're still using the former style in your WSGI script, you need to
     1037upgrade to the latter, or you will hit an ``AppRegistryNotReady`` exception.
     1038
    10231039App registry consistency
    10241040^^^^^^^^^^^^^^^^^^^^^^^^
    10251041
Back to Top