Explorar o código

Documented render_to_string()'s `using` parameter.

Corey Farwell %!s(int64=8) %!d(string=hai) anos
pai
achega
24da355686
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      docs/topics/templates.txt

+ 4 - 0
docs/topics/templates.txt

@@ -252,6 +252,10 @@ templates, Django provides a shortcut function which automates the process.
         An optional :class:`~django.http.HttpRequest` that will be available
         during the template's rendering process.
 
+    ``using``
+        An optional template engine :setting:`NAME <TEMPLATES-NAME>`. The
+        search for the template will be restricted to that engine.
+
     Usage example::
 
         from django.template.loader import render_to_string