Fix a legacy call to cycle in the log template.

Review Request #10839 — Created Jan. 19, 2020 and submitted

Information

Djblets
release-2.0.x

Reviewers

We have a call to {% cycle %} in the log template that uses legacy
syntax, which isn't supported on Django 1.11. This is a simple update
that switches it to use the modern syntax, compatible on both 1.6 and
1.11.

Tested the log viewer. It rendered without breaking on Django 1.11.

Summary ID
Fix a legacy call to cycle in the log template.
We have a call to `{% cycle %}` in the log template that uses legacy syntax, which isn't supported on Django 1.11. This is a simple update that switches it to use the modern syntax, compatible on both 1.6 and 1.11.
2819840bf23e5902c3bff34389c76d41f71d9735
bui1
  1. Looks good to me! I referenced https://docs.djangoproject.com/en/3.0/ref/templates/builtins/#cycle to doublecheck the syntax as well

  2. 
      
david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-2.0.x (82eadd4)
Loading...