Update static() imports and staticfiles template tag usage.

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

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).

Summary ID
Update static() imports and staticfiles template tag usage.
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.
908847094d8f06fb7e011858bb2f78f7e4f14c21
david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-3.x (1fc0aa8)
Loading...