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. Mapping Innovation: A Playbook for Navigating a Disruptive Age
    Mapping Innovation: A Playbook for Navigating a Disruptive Age Greg Satell
  2. 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
  3. 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
  4. 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
  5. 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
  6. 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
  7. 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
  8. 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
  9. 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
  10. 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
  11. The Last Link: Closing the Gap That Is Sabotaging Your Business
    The Last Link: Closing the Gap That Is Sabotaging Your Business Gregg Crawford
  12. 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
  13. 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
  14. The Complete Guide to Investing In Annuities: How to Earn High Rates of Return Safely
    The Complete Guide to Investing In Annuities: How to Earn High Rates of Return Safely Matthew Young
  15. 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
  16. Understanding Options
    Understanding Options Michael Sincere
  17. Get to Aha!: Discover Your Positioning DNA and Dominate Your Competition
    Get to Aha!: Discover Your Positioning DNA and Dominate Your Competition Andy Cunningham
  18. 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
  19. Micromessaging
    Micromessaging Stephen Young