• 
      

    Set the default value for URL schemes in form inputs.

    Review Request #14815 — Created Feb. 11, 2026 and submitted

    Information

    Review Board
    master

    Reviewers

    When a URL field is filled out with a URL that doesn't include a scheme,
    Django adds one. They're going to be changing the default of this from
    http to https in Django 6.0, and in the meantime, every time it gets
    instantiated, it spews a warning.

    This change adds the transitional setting to opt-in to the new behavior
    and suppress the warning.

    Ran unit tests.

    Summary ID
    Set the default value for URL schemes in form inputs.
    When a URL field is filled out with a URL that doesn't include a scheme, Django adds one. They're going to be changing the default of this from http to https in Django 6.0, and in the meantime, every time it gets instantiated, it spews a warning. This change adds the transitional setting to opt-in to the new behavior and suppress the warning. Testing Done: Ran unit tests.
    mprtuqpnqzllrmlupyzsmupyorsmpswy
    maubin
    1. Ship It!
    2. 
        
    david
    Review request changed
    Status:
    Completed
    Change Summary:
    Pushed to master (60405e8)