• 
      

    Fix building static media for extensions.

    Review Request #10610 — Created June 28, 2019 and submitted

    Information

    Djblets
    release-2.0.x

    Reviewers

    When packaging extensions, we attempt to compile any static media files
    for inclusion in the package. This fails on modern versions of Django,
    as we weren't properly setting up the Django environment, leading to
    confusing errors during building.

    We now call django.setup() on modern releases, fixing media
    compilation.

    Successfully built extensions on Django 1.11.

    Summary ID
    Fix building static media for extensions.
    When packaging extensions, we attempt to compile any static media files for inclusion in the package. This fails on modern versions of Django, as we weren't properly setting up the Django environment, leading to confusing errors during building. We now call `django.setup()` on modern releases, fixing media compilation.
    82ad553d924482cd3b18acd398da90c035ac68f7
    david
    1. Ship It!
    2. 
        
    chipx86
    Review request changed
    Status:
    Completed
    Change Summary:
    Pushed to release-2.0.x (4085007)