Listen and read

Step into an infinite world of stories

  • Listen and read as much as you want
  • Over 400 000+ titles
  • Bestsellers in 10+ Indian languages
  • Exclusive titles + Storytel Originals
  • Easy to cancel anytime
Subscribe now
Cover for Web Development with Django Cookbook - Second Edition

Web Development with Django Cookbook - Second Edition

Language
English
Format
Category

Non-Fiction

Over 70 practical recipes to help you create scalable websites using the Django 1.8 framework

About This Book

• This is the latest book on the market that will help you take advantage of the new features added to Django 1.8

• This book consists of recipes of varying complexities to help you create multilingual, responsive, and scalable websites with Django

• This updated edition teaches you major Django functions and will help you improve your skills by developing models, forms, views, and templates

Who This Book Is For

This book is for intermediate-level and professional Django users who need to build projects that are multilingual, functional on devices of different screen sizes, and that scale over a period of time. If you have created websites with Django but you want to sharpen your knowledge and learn some good approaches to different aspects of web development, you should definitely read this book.

What You Will Learn • Get started with the basic configuration necessary to start any Django project

• Build a database structure out of reusable model mixins

• Manage forms and views and get to know some useful patterns that are used to create them

• Create handy template filters and tags that you can reuse in every project

• Integrate your own functionality into the Django CMS

• Manage hierarchical structures with MPTT

• Import data from local sources and external web services as well as exporting your data to third parties

• Implement a multilingual search with Haystack

• Test and deploy your project efficiently

In Detail

Django is a web framework that was designed to strike a balance between rapid web development and high performance. It has the capacity to handle applications with high levels of user traffic and interaction, and can integrate with massive databases on the backend, constantly collecting and processing data in real time.

Through this book, you'll discover that collecting data from different sources and providing it to others in different formats isn't as difficult as you thought. It follows a task-based approach to guide you through all the web development processes using the Django framework. We'll start by setting up the virtual environment for a Django project and configuring it. Then you'll learn to write reusable pieces of code for your models and find out how to manage database schema changes using South migrations. After that, we'll take you through working with forms and views to enter and list data. With practical examples on using templates and JavaScript together, you will discover how to create the best user experience. In the final chapters, you'll be introduced to some programming and debugging tricks and finally, you will be shown how to test and deploy the project to a remote dedicated server.

By the end of this book, you will have a good understanding of the new features added to Django 1.8 and be an expert at web development processes.

Style and approach

Every chapter consists of practical examples and a mix of basic and advanced recipes that will guide you through the entire web development process, starting from project configuration and taking you right through to deployment.

© 2016 Packt Publishing (Ebook): 9781785881329

Release date

Ebook: 28 January 2016

Others also enjoyed ...

  1. The Knowledge Work Factory: Turning the Productivity Paradox into Value for Your Business
    The Knowledge Work Factory: Turning the Productivity Paradox into Value for Your Business William F. Heitman
  2. The Leadership Skills Handbook: 90 Essential Skills You Need to be a Leader
    The Leadership Skills Handbook: 90 Essential Skills You Need to be a Leader Jo Owen
  3. How to Create Innovation: The Ultimate Guide to Proven Strategies and Business Models to Drive Innovation and Digital Transformation
    How to Create Innovation: The Ultimate Guide to Proven Strategies and Business Models to Drive Innovation and Digital Transformation Andreas Rein, Caroline Hüttinger, Stefan F. Dieffenbacher, Susanne M. Zaninelli, Douglas Lines
  4. The Toyota Way to Service Excellence: Lean Transformation in Service Organizations
    The Toyota Way to Service Excellence: Lean Transformation in Service Organizations Jeffrey K. Liker, Karyn Ross
  5. How to Change the World: How social entrepreneurs can go from initial ideas to global impact
    How to Change the World: How social entrepreneurs can go from initial ideas to global impact Jo Owen
  6. Mapping Innovation: A Playbook for Navigating a Disruptive Age
    Mapping Innovation: A Playbook for Navigating a Disruptive Age Greg Satell
  7. Transforming NOKIA: The Power of Paranoid Optimism to Lead Through Colossal Change
    Transforming NOKIA: The Power of Paranoid Optimism to Lead Through Colossal Change Risto Siilasmaa
  8. Think Like Zuck: The Five Business Secrets of Facebook's Improbably Brilliant CEO Mark Zuckerberg
    Think Like Zuck: The Five Business Secrets of Facebook's Improbably Brilliant CEO Mark Zuckerberg Ekaterina Walter
  9. The Samsung Way: Transformational Management Strategies from the World Leader in Innovation and Design
    The Samsung Way: Transformational Management Strategies from the World Leader in Innovation and Design Jaeyong Song, Kyungmook Lee
  10. What You Aren't Seeing: How Using Your Hidden Potential Can Help You Discover the Leader Within, The Inspiring Story of Herb Greenberg
    What You Aren't Seeing: How Using Your Hidden Potential Can Help You Discover the Leader Within, The Inspiring Story of Herb Greenberg Patrick Sweeney
  11. Discipled Leader: Inspiration from a Fortune 500 Executive for Transforming Your Workplace by Pursuing Christ
    Discipled Leader: Inspiration from a Fortune 500 Executive for Transforming Your Workplace by Pursuing Christ Preston Poore
  12. What Will Be: How the New World of Information Will Change Our Lives
    What Will Be: How the New World of Information Will Change Our Lives Michael L. Dertouzos
  13. Do Good: Embracing Brand Citizenship to Fuel Both Purpose and Profit
    Do Good: Embracing Brand Citizenship to Fuel Both Purpose and Profit Anne Bahr Thompson
  14. The Disney Way: Harnessing the Management Secrets of Disney in Your Company, Third Edition
    The Disney Way: Harnessing the Management Secrets of Disney in Your Company, Third Edition Bill Capodagli, Lynn Jackson
  15. From Customer to User: crack the most significant challenge in business
    From Customer to User: crack the most significant challenge in business Jacob Johansen
  16. Uncomfortable Inclusion: How To Build A Culture Of High Performance In Life And Work
    Uncomfortable Inclusion: How To Build A Culture Of High Performance In Life And Work Joe Ferreira
  17. Innovation X: Why a Company's Toughest Problems Are Its Greatest Advantage
    Innovation X: Why a Company's Toughest Problems Are Its Greatest Advantage Adam Richardson
  18. Game-Time Decision Making: High-Scoring Business Strategies from the Biggest Names in Sports
    Game-Time Decision Making: High-Scoring Business Strategies from the Biggest Names in Sports David Meltzer
  19. Digital Trailblazer: Essential Lessons to Jumpstart Transformation and Accelerate Your Technology Leadership
    Digital Trailblazer: Essential Lessons to Jumpstart Transformation and Accelerate Your Technology Leadership Isaac Sacolick
  20. Hard-Won Wisdom: True Stories from the Management Trenches
    Hard-Won Wisdom: True Stories from the Management Trenches Jathan Janove
  21. Elite Minds: How Winners Think Differently to Create a Competitive Edge and Maximize Success
    Elite Minds: How Winners Think Differently to Create a Competitive Edge and Maximize Success Stan Beecham
  22. Always In Fashion: From Clerk to CEO -- Lessons for Success in Business and in Life
    Always In Fashion: From Clerk to CEO -- Lessons for Success in Business and in Life Mark Weber
  23. Real Estate by the Numbers: A Complete Reference Guide to Deal Analysis
    Real Estate by the Numbers: A Complete Reference Guide to Deal Analysis J Scott, David Meyer
  24. Good Business: The Talk, Fight, Win Way to Change the World
    Good Business: The Talk, Fight, Win Way to Change the World Bill Novelli
  25. Capture the Mindshare and the Market Share Will Follow: The Art and Science of Building Brands
    Capture the Mindshare and the Market Share Will Follow: The Art and Science of Building Brands
  26. Ticket to the Limit: How Passion and Performance Can Transform Your Life and Your Business into an Amazing Adventure
    Ticket to the Limit: How Passion and Performance Can Transform Your Life and Your Business into an Amazing Adventure Randy Cohen
  27. The Southwest Airlines Way
    The Southwest Airlines Way Jody Hoffer Gittell
  28. It's All Bullsh*t: Why C's Capture the Corner Office
    It's All Bullsh*t: Why C's Capture the Corner Office Nathan Venture. D
  29. Tough Things First: Leadership Lessons from Silicon Valley's Longest Serving CEO
    Tough Things First: Leadership Lessons from Silicon Valley's Longest Serving CEO Ray Zinn