Django 1.0 Template Development By Scott Newman
2008 | 272 Pages | ISBN: 1847195709 | PDF | 6 MB
Django is a high-level Python web application framework designed to support the rapid development of dynamic websites, web applications, and web services. Getting the most out of its template system allows programmers and designers to easily and efficiently output their content in a flexible, extendable, and maintainable manner.
This book will help you to master the Django template system. Built-in template tags and filters are explained with examples and usage notes, as well as information on building custom tags and filters to extend the system for your needs. You will learn to use inheritance to create modular templates that are easy to maintain. You will learn how to serve multiple templates from within the same Django project, with an example of how to serve different templates for a mobile version of your site without having to change any code in your views. Pagination, internationalization, caching, and customization of the automatic admin application are also covered.
What you will learn from this book?
Meet the Django template system and understand how it works
Understand URL configurations, views, and generic views and streamline your project's development
Master built-in tags and filters to use them efficiently in your project
Split your output into manageable pieces using pagination libraries
Extend your templates through inheritance
Customize the look of the admin interface as you like to administer your website with ease
Create and deploy custom tags and filters according to your needs
Internationalize your templates to present your site in multiple languages from the same template files
Improve your site's performance by using the cache framework
Serve multiple sets of templates from the same project easily
Buy Premium to Support Me & Get Resumable & High Speed Download