Apress Access

Beginning Django E-Commerce

By James McGaw

  • eBook Price: $34.99
Buy eBook Buy Print Book
Beginning Django E-Commerce guides you through producing an e-commerce site using Django, the most popular Python web development framework.

Full Description

  • Add to Wishlist
  • ISBN13: 978-1-4302-2535-5
  • User Level: Beginner to Intermediate
  • Publication Date: October 28, 2009
  • Available eBook Formats: EPUB, MOBI, PDF

Related Titles

  • Go Recipes
  • Python Recipes Handbook
  • Lean Python
  • Learn to Program with Python
Full Description

Beginning Django E-Commerce guides you through producing an e-commerce site using Django, the most popular Python web development framework. Topics covered include how to make a shopping cart, a checkout, and a payment processor; how to make the most of Ajax; and search engine optimization best practices. Throughout the book, you'll take each topic and apply it to build a single example site, and all the while you'll learn the theory behind what you're architecting.

  • Build a fully functional e-commerce site.
  • Learn to architect your site properly to survive in an increasingly competitive online landscape with good search engine optimization techniques.
  • Become versed in the Django web framework and learn how you can put it to use to drastically reduce the amount of work you need to do to get a site up and running quickly.

What you’ll learn

  • Understand Django best practices for architecting a web site that will eventually be put into production.
  • Leverage Django templates to maintain a consistent look and feel across your site.
  • Learn search engine optimization best practices with search engine–friendly URLs, metatags, and an auto-generated Google site map.
  • Follow best practices for security so the bad guys don't get control of your site or compromise your data.
  • Learn about developing and deploying your Python code on the Google App Engine.
  • Construct an enterprise-level shopping cart application that can actually receive payments from Authorize.net and PayPal.

Who this book is for

This book is for programmers looking to learn how to quickly and effectively leverage the Django web framework to build lightweight, powerful web sites. While the book is aimed at developers interested in creating e-commerce sites, the topics covered apply to any other site you might build with Django. You'll learn how to optimize your site for search engines, secure your pages to thwart hackers, and deploy your site into production–all with Django. Along the way, you'll build a fully functional e-commerce module that will have you up and selling stuff on the web in no time!

Table of Contents

Table of Contents

  1. Best Laid Plans
  2. Creating a Django Site
  3. Models for Sale
  4. The Shopping Cart
  5. Site Checkout & Orders
  6. Creating User Accounts
  7. Product Images
  8. Implementing Product Search
  9. Intelligent Cross-Selling
  10. Adding in Ajax
  11. Search Engine Optimization
  12. Web Security Overview
  13. Improving Performance
  14. Django Testing
  15. Deployment
  16. Django on Google App Engine
Source Code/Downloads

Downloads are available to accompany this book.

Your operating system can likely extract zipped downloads automatically, but you may require software such as WinZip for PC, or StuffIt on a Mac.


If you think that you've found an error in this book, please let us know by emailing to editorial@apress.com . You will find any confirmed erratum below, so you can check if your concern has already been addressed.

On page 155:

the line:

(r'^accounts/', include('accounts'urls')),

has a typo, it should be:

(r'^accounts/', include('accounts.urls')),

with a dot instead of the apostrophe


    1. Build a Profitable Online Business


      View Book

    2. Pro Spring


      View Book