Преглед на файлове

[5.0.x] Fixed #35280 -- Improved iriencode filter example in docs.

Backport of a7baa874d8452859060ecd28c83cecd566f756e3 from main
canhuynh1998 преди 1 година
родител
ревизия
ef23305a19
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 2 1
      docs/ref/templates/builtins.txt

+ 2 - 1
docs/ref/templates/builtins.txt

@@ -2079,7 +2079,8 @@ For example:
 
     {{ value|iriencode }}
 
-If ``value`` is ``"?test=1&me=2"``, the output will be ``"?test=1&me=2"``.
+If ``value`` is ``"?test=I ♥ Django"``, the output will be
+``"?test=I%20%E2%99%A5%20Django"``.
 
 .. templatefilter:: join