Update static() imports and staticfiles template tag usage.

Review Request #11624 — Created May 26, 2021 and submitted — Latest diff uploaded

Information

Djblets
release-3.x

Reviewers

Django historically had two versions of the static() function, one for
very basic file references, and one that used the storage mechanism.
These came with their own import location and their own template tag
library.

Django 1.10 combined these into just a single static() method and a
single static template tag library. This change updates our code to
use the modern versions.

Unit tests pass on Django 1.11 and on 3.2 (with other in-progress changes).

Commits

Files