Django Project Blueprints

Develop stunning web application projects with the Django framework

Django Project Blueprints

This ebook is included in a Mapt subscription
Asad Jibran Ahmed

2 customer reviews
Develop stunning web application projects with the Django framework
$0.00
$16.00
$39.99
$29.99p/m after trial
RRP $31.99
RRP $39.99
Subscription
eBook
Print + eBook
Start 30 Day Trial
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 
Preview in Mapt

Book Details

ISBN 139781783985425
Paperback264 pages

Book Description

Django is a high-level web framework that eases the creation of complex, database-driven websites. It emphasizes on the reusability and pluggability of components, rapid development, and the principle of don't repeat yourself. It lets you build high-performing, elegant web applications quickly.

There are several Django tutorials available online, which take as many shortcuts as possible, but leave you wondering how you can adapt them to your own needs. This guide takes the opposite approach by demonstrating how to work around common problems and client requests, without skipping the important details. If you have built a few Django projects and are on the lookout for a guide to get you past the basics and to solve modern development tasks, this is your book.

Seven unique projects will take you through the development process from scratch, leaving no stone unturned. In the first two projects, you will learn everything from adding ranking and voting capabilities to your App to building a multiuser blog platform with a unique twist. The third project tackles APIs with Django and walks us through building a Nagios-inspired infrastructure monitoring system. And that is just the start!

The other projects deal with customizing the Django admin to create a CMS for your clients, translating your web applications to multiple languages, and using the Elasticsearch search server with Django to create a high performing e-commerce web site. The seventh chapter includes a surprise usage of Django, and we dive deep into the internals of Django to create something exciting!

When you're done, you'll have consistent patterns and techniques that you can build on for many projects to come.

Table of Contents

Chapter 1: Blueblog – a Blogging Platform
The contrib packages
Setting up our development environment
User accounts
Multiple users
Summary
Chapter 2: Discuss – a Hacker News Clone
Chapter code packs
Requirements
Starting out
Link submission
Comments
Voting
Ranking submission
Spam protection
Summary
Chapter 3: Djagios – a Nagios Clone in Django
Code pack
Requirements
The model
Fake data generation
Status page
Alerts
Showing triggered alerts on the status page
Accepting data from remote systems
Summary
Chapter 4: A Car Rental App
Code pack
Fixtures
Image and File fields
get_absolute_url
The Django admin app
Showing the car names
Booking management
Improving the user experience
Summary
Chapter 5: Multilingual Movie Database
Requirements
Getting the project up and running
Translating our static content
How did all that work?
Letting the user decide which language to use
Persisting the user choice
Translating our models
Summary
Chapter 6: Daintree – an E-commerce Site
Code pack
Exploring Elasticsearch
Searching from Python
Mapping
Inserting documents into Elasticsearch from Python
Adding search
Aggregations and filters
Searching with aggregations
Summary
Chapter 7: Form Mason – a Monkey of your own
Code pack
Looking at a Django form
Generating dynamic forms
A model for our JSON
Creating a better user interface
Saving the responses
Showing the responses
Designing a form creation interface
Small fixes
Summary

What You Will Learn

  • Create a blogging platform and allow users to share posts on different blogs
  • Prioritise user-submitted content with an intelligent ranking algorithm based on multiple factors
  • Create REST APIs to allow non-browser based usage of your web apps
  • Customize the Django admin to quickly create a full-featured and rich content management system
  • Use Elasticsearch with Django to create blazing fast e-commerce websites
  • Translate your Django applications into multiple languages
  • Dive deep into Django forms and how they work internally

Authors

Table of Contents

Chapter 1: Blueblog – a Blogging Platform
The contrib packages
Setting up our development environment
User accounts
Multiple users
Summary
Chapter 2: Discuss – a Hacker News Clone
Chapter code packs
Requirements
Starting out
Link submission
Comments
Voting
Ranking submission
Spam protection
Summary
Chapter 3: Djagios – a Nagios Clone in Django
Code pack
Requirements
The model
Fake data generation
Status page
Alerts
Showing triggered alerts on the status page
Accepting data from remote systems
Summary
Chapter 4: A Car Rental App
Code pack
Fixtures
Image and File fields
get_absolute_url
The Django admin app
Showing the car names
Booking management
Improving the user experience
Summary
Chapter 5: Multilingual Movie Database
Requirements
Getting the project up and running
Translating our static content
How did all that work?
Letting the user decide which language to use
Persisting the user choice
Translating our models
Summary
Chapter 6: Daintree – an E-commerce Site
Code pack
Exploring Elasticsearch
Searching from Python
Mapping
Inserting documents into Elasticsearch from Python
Adding search
Aggregations and filters
Searching with aggregations
Summary
Chapter 7: Form Mason – a Monkey of your own
Code pack
Looking at a Django form
Generating dynamic forms
A model for our JSON
Creating a better user interface
Saving the responses
Showing the responses
Designing a form creation interface
Small fixes
Summary

Book Details

ISBN 139781783985425
Paperback264 pages
Read More
From 2 reviews

Read More Reviews