In Chapter 5, we created a view to show a simple title and calendar in the browser. This is a long way from a fully functioning modern website—for one, we are missing a site template.
Site templates, at their most basic, are HTML files displayed by your browser. All websites—from simple, static websites to interactive web applications that work on multiple devices—are built on HTML.
Modern interactive websites are more complex. For example, a modern website will add Cascading Style Sheets (CSS), semantic markup and JavaScript in the frontend to create the user experience, with a backend like Django supplying the data to show in the template.
当前内容版权归 djangobook 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 djangobook .