1. ==========================
    
  2. Django 3.1.5 release notes
    
  3. ==========================
    
  4. 
    
  5. *January 4, 2021*
    
  6. 
    
  7. Django 3.1.5 fixes several bugs in 3.1.4.
    
  8. 
    
  9. Bugfixes
    
  10. ========
    
  11. 
    
  12. * Fixed ``__isnull=True`` lookup on key transforms for
    
  13.   :class:`~django.db.models.JSONField` with Oracle and SQLite
    
  14.   (:ticket:`32252`).
    
  15. 
    
  16. * Fixed a bug in Django 3.1 that caused a crash when processing middlewares in
    
  17.   an async context with a middleware that raises a ``MiddlewareNotUsed``
    
  18.   exception (:ticket:`32299`).
    
  19. 
    
  20. * Fixed a regression in Django 3.1 that caused the incorrect prefixing of
    
  21.   ``STATIC_URL`` and ``MEDIA_URL`` settings, by the server-provided value of
    
  22.   ``SCRIPT_NAME`` (or ``/`` if not set), when set to a URL specifying the
    
  23.   protocol but without a top-level domain, e.g. ``http://myhost/``
    
  24.   (:ticket:`32304`).