Freaks of Nature - Shop now
To share your reaction on this item, open the Amazon app from the App Store or Google Play on your phone.

These promotions will be applied to this item:

Some promotions may be combined; others are not eligible to be combined with other offers. For details, please see the Terms & Conditions associated with these promotions.

You've subscribed to ! We will preorder your items within 24 hours of when they become available. When new books are released, we'll charge your default payment method for the lowest price available during the pre-order period.
Update your device or payment method, cancel individual pre-orders or your subscription at
Your Memberships & Subscriptions
Kindle app logo image

Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.

Read instantly on your browser with Kindle for Web.

Using your mobile phone camera - scan the code below and download the Kindle app.

QR code to download the Kindle App

Follow the author

Something went wrong. Please try your request again later.

Django Design Patterns and Best Practices Kindle Edition

4.5 4.5 out of 5 stars 12 ratings

Easily build maintainable websites with powerful and relevant Django design patterns

About This Book

  • Unravel the common problems of web development in Django
  • Learn the current best practices while working in Django 1.7 and Python 3.4
  • Experience the challenges of working on an end-to-end social network project

Who This Book Is For

If you want to learn how best to utilize commonly found patterns and learn best practices in developing applications with Django, this is the book for you. This book, like Django itself, is accessible to amateur and professional developers alike and assumes little in the way of prior experience.

Although written for Python 3, the majority of the code in this book works in Python 2 or can be easily translated.

What You Will Learn

  • Understand common design patterns that can help you write better Django code
  • Discover the latest best practices and idioms in this rapidly evolving framework
  • Deep dive into various aspects of Django from Models and Views to testing and deployment
  • Get to grips with difficult topics such as dealing with legacy code and debugging
  • Familiarize yourself with the various nuances of web development such as browser attacks and databases
  • Reduce the maintenance burden with well-tested, cleaner code
  • Show your work to the world by learning about hosting, deploying, and securing your Django projects

In Detail

Learning how to write better Django code to build more maintainable websites either takes a lot of experience or familiarity with various design patterns. Filled with several idiomatic Django patterns, Django Design Patterns and Best Practices accelerates your journey into the world of web development.

Discover a set of common design problems, each tackling aspects of Django including model design and Views, and learn several recommended solutions with useful code examples and illustrations. You'll also get to grips with the current best practices in the latest versions of Django and Python. Creating a successful web application involves much more than Django, so advanced topics including REST, testing, debugging, security, and deployment are also explored in detail.

Product details

  • ASIN ‏ : ‎ B00VIBPW0I
  • Publisher ‏ : ‎ Packt Publishing (March 31, 2015)
  • Publication date ‏ : ‎ March 31, 2015
  • Language ‏ : ‎ English
  • File size ‏ : ‎ 3785 KB
  • Text-to-Speech ‏ : ‎ Enabled
  • Screen Reader ‏ : ‎ Supported
  • Enhanced typesetting ‏ : ‎ Enabled
  • X-Ray ‏ : ‎ Not Enabled
  • Word Wise ‏ : ‎ Not Enabled
  • Print length ‏ : ‎ 224 pages
  • Customer Reviews:
    4.5 4.5 out of 5 stars 12 ratings

About the author

Follow authors to get new release updates, plus improved recommendations.
Arun Ravindran
Brief content visible, double tap to read full content.
Full content visible, double tap to read brief content.

Arun "Rocks" Ravindran is a well-known speaker and author in the Indian open source community. He is a developer member of the Django Software Foundation.

He came up with the idea of Twitter, Instagram and a thousand other startups; but strangely believed it would be trivial to build them. He loves to get deeply technical in arcane areas like Photography, Cooking or Origami.

He lives in Bangalore with his two adorable kids, lovely wife and an ensemble of superhero action figures.

Customer reviews

4.5 out of 5 stars
12 global ratings

Review this product

Share your thoughts with other customers

Top reviews from the United States

  • Reviewed in the United States on November 26, 2015
    This book is great for beginners and seasoned developers of the Django framework. It is relatively easy to follow and the examples' content and rationale are well explained. I haven't gotten through the whole book, but so far it is dense with great information and advice.
  • Reviewed in the United States on August 20, 2015
    This book offer helpful guidance for beginning Django developers.
  • Reviewed in the United States on April 10, 2016
    The book is good but it does not cover what it title says, it is not about design patterns. Although I must say for a beginner django developer could be really useful.
  • Reviewed in the United States on June 16, 2015
    Arun has made an excellent contribution to the myriad "learn Django" environment. I highly recommend this book to people who have completed the infamous polls tutorial as it represents a great survey of topics that the beginner would greatly benefit from using in practice.

    The treatments on models and class based views are particularly noteworthy. It would have been nice seeing some more content on custom template tags but alas that's almost a book in and of itself. Forms are properly treated as the data validating powerhouses they are. The comprehensive overview of testing is really fantastic along with recommendations on debugging tools that are standard amongst Django developers.

    If you are looking to go from beginner to affective in Django - this is a great way to do that.
    2 people found this helpful
    Report
  • Reviewed in the United States on April 15, 2015
    You need to be familiar with Python & know basics of building an app with Django before starting this book!

    I have read articles written by Arun Ravindran and watched his screencasts & talks. So I brought the book as soon as it released.

    The book has various design patterns to solve everyday problems while building web apps. It also engages readers with stories & examples to get a better understanding of concepts.

    If You have started Django, this book will save a lot of time. If You are an experienced developer, You will find some patterns & best practices to clean up Your code.
    3 people found this helpful
    Report
  • Reviewed in the United States on June 23, 2015
    You have to know some basics of Python and Django to read this book, but it is very readable and well organized.
    It offer the opportunity to understand deeply the django framework and designs patterns. It provide solutions to every day problems a django developer may encounter. The examples provided allow you to practice and understand the key concepts. I recommand to improve your best practices.
    2 people found this helpful
    Report

Top reviews from other countries

  • Mark Andrews
    5.0 out of 5 stars Excellent guide to more advanced Django issues
    Reviewed in the United Kingdom on April 28, 2015
    Getting started with Django is easy but scaling up and maintaining a project requires a lot more knowledge than is available in introductory texts and tutorials. This book addresses many of the important issues that are encountered on these larger and more long term projects and describes the best practices for dealing with them.
    In some ways, this book has similarities to "Two Scoops of Django". They both offer expert advise for anyone who is beyond the beginner stage. (However, the two books are not identical and I recommend both as they provide complementary treatments).
    I would recommend this to anyone who is in deep in a Django project, especially one with a long time-line. For those who are beginning, I would still recommend it too as you will need it soon after you master the basics.

Report an issue


Does this item contain inappropriate content?
Do you believe that this item violates a copyright?
Does this item contain quality or formatting issues?