- Language: en
34 results for template in version 3.2
-
Templates
- … template backend API. Template django.template.Template represents a compiled template. Templates are obtained with Engine.get_template …
-
Translation
- … template code. See below. Internationalization: in template code Translations in Django templates uses two template …
-
Working with forms
- … template context expand it to HTML markup using template variables Rendering a form in a template …
-
Performance and optimization
- … Template performance Note that: using {% block %} is faster than using {% include %} heavily-fragmented templates, assembled …
-
Format localization
- … template library that contains the following tags and filters. Template tags localize Enables or disables …
-
Time zones
- … template tag library, allow you to control the time zone conversions. Template tags localtime Enables …
-
Using the Django authentication system
- … template_name – the template for the subject. email_template_name – the template for the email …
-
Using mixins with class-based views
- … template_names() , which by default will look up template_name on the class-based view …
-
Django’s cache framework
- … template fragments using the cache template tag. To give your template access to this tag, put {% load …
-
Built-in class-based generic views
- … template, however. We could explicitly tell the view which template to use by adding a template …