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 Power of Mandate: How Visionary Leaders Keep Their Organization Focused on What Matters Most
    The Power of Mandate: How Visionary Leaders Keep Their Organization Focused on What Matters Most Scott Stawski
  2. 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
  3. 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
  4. Does It Work?: 10 Principles for Delivering True Business Value in Digital Marketing
    Does It Work?: 10 Principles for Delivering True Business Value in Digital Marketing Shane Atchison, Jason Burby
  5. In Great Company: How to Spark Peak Performance By Creating an Emotionally Connected Workplace
    In Great Company: How to Spark Peak Performance By Creating an Emotionally Connected Workplace Louis Carter
  6. Connect First: 52 Simple Ways to Ignite Success, Meaning, and Joy at Work
    Connect First: 52 Simple Ways to Ignite Success, Meaning, and Joy at Work Melanie Katzman
  7. The New IT: How Technology Leaders are Enabling Business Strategy in the Digital Age
    The New IT: How Technology Leaders are Enabling Business Strategy in the Digital Age Jill Dyche
  8. 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
  9. Career Warfare: 10 Rules for Building a Successful Personal Brand and Keeping It
    Career Warfare: 10 Rules for Building a Successful Personal Brand and Keeping It David D'Alessandro
  10. Innovating Lean Six Sigma: A Strategic Guide to Deploying the World's Most Effective Business Improvement Process
    Innovating Lean Six Sigma: A Strategic Guide to Deploying the World's Most Effective Business Improvement Process Kristine Nissen Bradley, Kimberly Watson-Hemphill
  11. The Native Advertising Advantage: Build Authentic Content that Revolutionizes Digital Marketing and Drives Revenue Growth
    The Native Advertising Advantage: Build Authentic Content that Revolutionizes Digital Marketing and Drives Revenue Growth Mike Smith
  12. Speed: How Leaders Accelerate Successful Execution
    Speed: How Leaders Accelerate Successful Execution John H. Zenger, Joseph Folkman
  13. The Innovator's Prescription: A Disruptive Solution for Health Care
    The Innovator's Prescription: A Disruptive Solution for Health Care Clayton M. Christensen, Jason Hwang, Jerome H. Grossman
  14. Ultimate CNAPP for Next-Gen Multi Cloud Security
    Ultimate CNAPP for Next-Gen Multi Cloud Security Ravi Malhotra
  15. The Definitive Drucker: Challenges for Tomorrow's Executives—Final Advice from the Father of Modern Management
    The Definitive Drucker: Challenges for Tomorrow's Executives—Final Advice from the Father of Modern Management Elizabeth Haas Edersheim
  16. Make Your Moment: The Savvy Woman’s Communication Playbook for Getting the Success You Want
    Make Your Moment: The Savvy Woman’s Communication Playbook for Getting the Success You Want Dion Lim
  17. 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
  18. The Last Link: Closing the Gap That Is Sabotaging Your Business
    The Last Link: Closing the Gap That Is Sabotaging Your Business Gregg Crawford
  19. 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
  20. Twitch Upon a Star: The Bewitched Life and Career of Elizabeth Montgomery
    Twitch Upon a Star: The Bewitched Life and Career of Elizabeth Montgomery Herbie J Pilato
  21. Own the A.I. Revolution: Unlock Your Artificial Intelligence Strategy to Disrupt Your Competition
    Own the A.I. Revolution: Unlock Your Artificial Intelligence Strategy to Disrupt Your Competition Michael Ashley, Neil Sahota