Fix building static media for extensions.

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

chipx86
Djblets
release-2.0.x
djblets

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
Fix building static media for extensions.
david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-2.0.x (4085007)
Loading...