Full Stack Python
All topics | Blog | Supporter's Edition | @fullstackpython | Facebook | What's new?

Django Templates

The Django web framework contains its own template engine for generating HTML, XML and other output formats.

Django web framework logo. Trademark Django Software Foundation.

What's the difference between a "project template" and Django templates?

A project template contains the files and code to start a new web application. For example, when you run django-admin.py startproject abc, the Django admin script creates a new abc directory along with several Python configuration so the web app can be run by a WSGI server.

Django templates are different from a project template because they live within a project and are written by the developer to generate output, most commonly HTML.

Django templates are an implementation of the template engines concept. Learn more in the web development chapter or view the table of contents for all topics.

Django template resources

Learn more about template engines or another topic?

What is the Django web framework?

What are template engines and why are they useful?

Tell me about standard relational databases.

Full Stack Python

Full Stack Python is an open book that explains concepts in plain language and provides helpful resources for those topics.
Updates via Twitter & Facebook.

Matt Makai 2012-2022

AltStyle によって変換されたページ (->オリジナル) /