Use static_lazy() for images in the trophy class definitions.

Review Request #8419 — Created Sept. 19, 2016 and submitted

Information

Review Board
release-3.0.x
c3cf4ea...

Reviewers

The trophy classes were using static() to specify the images for the
various DPIs for each trophy. This ended up causing static lookup state
to be initialized too early, breaking extension packaging.

To fix this, we now use the new static_lazy() found in Djblets, which
will let us reference the static media we want, but actually perform the
lookups on demand at runtime.

Tested building an extension with static media. It built successfully.

david
  1. Ship It!
  2. 
      
chipx86
Review request changed
Status:
Completed
Change Summary:
Pushed to release-3.0.x (8b02d46)