• 
      

    Remove most Django compat usage and code.

    Review Request #11626 — Created May 26, 2021 and submitted

    Information

    Djblets
    release-3.x

    Reviewers

    This gets rid of most of the djblets.util.compat.django code, and
    updates all call sites to use the versions available in Django 1.11+.
    Mostly, this is template-related code or management command code.

    There are some changes in behavior for template code, functionality
    differences around contexts that the old compat code papered over and
    now needs manual changes. Mostly this involves calling
    context.flatten() when calling render functions.

    Unit tests pass on Django 1.11.

    Summary ID
    Remove most Django compat usage and code.
    This gets rid of most of the `djblets.util.compat.django` code, and updates all call sites to use the versions available in Django 1.11+. Mostly, this is template-related code or management command code. There are some changes in behavior for template code, functionality differences around contexts that the old compat code papered over and now needs manual changes. Mostly this involves calling `context.flatten()` when calling render functions.
    51090347f23948b2a0d852ae88f3b85f2015ee74
    david
    1. Ship It!
    2. 
        
    chipx86
    Review request changed
    Status:
    Completed