Cela signifie que l'on a un objet template, qui va nous servir à créer les nouveaux champs du formulaire.
This means that we have a template object that we can use to create the new form fields.
Cette fonction charge le gabarit ayant le nom donné et renvoie un objet Template.
This function loads the template with the given name and returns a Template object.
À partir du moment où vous avez un objet Template compilé, vous pouvez procéder au rendu d'un contexte.
Once you have a compiled Template object, you can render a context with it.
Cela permet de référencer un objet Template compilé dans votre contexte.
This allows you to reference a compiled Template in your context.
Le chargeur « en cache » stocke ensuite l'objet Template compilé en mémoire.
The cached loader then stores the compiled Template in memory.
Vous compilez le code du gabarit en un objet Template.
You compile template code into a Template.
Si la variable contient un objet Template, Django utilise cet objet comme gabarit parent.
If the variable evaluates to a "Template" object, Django will use that object as the parent template.
Le gabarit Template obtenu à l'étape précédente possède une méthode render() qui produit un contexte et éventuellement une requête dans un objet Context et délègue le rendu à l'objet Template sous-jacent.
The Template obtained in the previous step has a render() method which marshals a context and possibly a request into a Context and delegates the rendering to the underlying Template.
Dans un projet Django où le réglage TEMPLATES définit un moteur DjangoTemplates, il est possible d'instancier directement un objet Template.
In a Django project where the TEMPLATES setting defines exactly one DjangoTemplates engine, it's possible to instantiate a Template directly.
C'est l'objet template passé comme argument au constructeur.
This is the object passed to the constructor's template argument.
Du fait que le module utilise les lignes de commandes /bin/sh, un shell POSIX ou compatible est requis pour os.system() L'Objet Template
Because the module uses/bin/sh command lines, a POSIX or compatible shell for os.system() and os.popen() is required.