GithubHelp home page GithubHelp logo

Update to Django 1.9 about sprints HOT 1 CLOSED

jwhitlock avatar jwhitlock commented on June 2, 2024
Update to Django 1.9

from sprints.

Comments (1)

jwhitlock avatar jwhitlock commented on June 2, 2024

Django tests now pass in 1.8 and 1.9. Looking at the release notes, there may be some additional changes:

  • 1.9 updates the default LOGGING setting. We may need updates to continue seeing log messages from Django, and to be creative to get one that works in 1.8 and 1.9.

  • In the Miscellaneous section, it says:

    If you implement a custom handler404 view, it must return a response with an HTTP 404 status code. Use HttpResponseNotFound or pass status=404 to the HttpResponse. Otherwise, APPEND_SLASH won’t work correctly with DEBUG=False.

    Our customized middlewares may handle this, or it may only appear in staging and production.

  • In Features removed in 1.9:

    The zh-cn and zh-tw language codes are removed.

    We plan to continue using zh-CN and zh-TW to match Mozilla's traditional locales, but testing is needed.

  • The 1.9.11 release notes include that ALLOWED_HOSTS is validated when settings.DEBUG=True. This shouldn't affect deployments, but might affect development.

We can determine if these are issues by sending a trial deployment of 1.9 to staging, but we may want to continue focusing on Django tests for 1.10 and 1.11, rather than get involved in 1.9 behavior.

from sprints.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.