Fix building static media for extensions.

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

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.

Commits

Files

    Loading...