Course Number: DGO-102
Duration: 2 days (13 hours)
Format: Live, hands-on

Django Training Overview

Accelebrate's Advanced Django training teaches existing Python developers how to create more sophisticated Web applications using the popular Django framework. This course covers advanced topics such as administration, session management, authentication, and caching.

Note: This course can be taught with 4.x or later on compatible versions of Python (as documented in the earliest release notes for your general Django release [1.11, 2.0, etc.] at https://docs.djangoproject.com/en/2.0/releases/).

Location and Pricing

Accelebrate offers instructor-led enterprise training for groups of 3 or more online or at your site. Most Accelebrate classes can be flexibly scheduled for your group, including delivery in half-day segments across a week or set of weeks. To receive a customized proposal and price quote for private corporate training on-site or online, please contact us.

In addition, some courses are available as live, instructor-led training from one of our partners.

Objectives

  • Take advantage of the built-in Admin interface
  • Extend the template system
  • Perform advanced database queries
  • Implement documentation with Sphinx
  • Create testable, reusable apps
  • Migrate data
  • Provide a RESTful interface to Django models
  • Build responsive web applications that adapt dynamically to clients ranging from desktop computers with large screens to tablets and phones
  • Cache requests to improve throughput

Prerequisites

Students should already have a working knowledge of Python, HTML5, and CSS. Students should have some knowledge of Django.

Outline

Expand All | Collapse All

Introduction
Beyond Simple Queries
  • Using fields in queries
  • Executing raw SQL
  • Non-Django DBMS access
Enhancing Models
  • Custom methods
  • Complex relationships
  • Overriding standard methods
Advanced Template Usage
  • Multiple inheritance
  • Alternate delimiters
  • Creating custom filters
  • Automatic HTML escaping
  • Template loading
Session Management
  • Enabling sessions
  • Types of session backends
  • Session cookies
  • Accessing sessions from views
Documentation with Sphinx
  • Description of Sphinx
  • reStructured Text
  • Configuring sphinx
  • Creating doc files
  • Using autodoc
  • Generating docs
Creating Reusable Apps
  • Packaging
  • Choosing an appropriate name
  • Deploying
  • Using setuptools
Migrations
  • Managed vs unmanaged tables
  • Handling schema changes
  • Using makemigrations and migrate
  • Tweaking migrations
  • Migrating data
Serving Data with a RESTful Interface
  • The Django REST framework
  • Serialization
  • Requests and Responses
  • Function-based views
  • Class-based views
  • What about django-tastypie?
Building Responsive Web Sites
  • Choosing a JS library
  • Creating API endpoints
  • Fixing template delimiter conflicts
Using the Cache
  • Types of caches
  • Setting up the cache
  • Per-site and per-view caching
  • Low-level API
  • Cache security
Conclusion

Training Materials

All attendees receive comprehensive course materials covering all topics in the course.

Software Requirements

  • Python 3.x installed (Anaconda bundle recommended)
  • Django framework (pip install django)
  • Django REST framework (pip install djangorestframework)
  • Bootstrap framework (available from http://getbootstrap.com)
  • A text editor or IDE (PyCharm Community Edition is an excellent free editor if you don’t have a strong preference)


Learn faster

Our live, instructor-led lectures are far more effective than pre-recorded classes

Satisfaction guarantee

If your team is not 100% satisfied with your training, we do what's necessary to make it right

Learn online from anywhere

Whether you are at home or in the office, we make learning interactive and engaging

Multiple Payment Options

We accept check, ACH/EFT, major credit cards, and most purchase orders



Recent Training Locations

Alabama

Birmingham

Huntsville

Montgomery

Alaska

Anchorage

Arizona

Phoenix

Tucson

Arkansas

Fayetteville

Little Rock

California

Los Angeles

Oakland

Orange County

Sacramento

San Diego

San Francisco

San Jose

Colorado

Boulder

Colorado Springs

Denver

Connecticut

Hartford

DC

Washington

Florida

Fort Lauderdale

Jacksonville

Miami

Orlando

Tampa

Georgia

Atlanta

Augusta

Savannah

Hawaii

Honolulu

Idaho

Boise

Illinois

Chicago

Indiana

Indianapolis

Iowa

Cedar Rapids

Des Moines

Kansas

Wichita

Kentucky

Lexington

Louisville

Louisiana

New Orleans

Maine

Portland

Maryland

Annapolis

Baltimore

Frederick

Hagerstown

Massachusetts

Boston

Cambridge

Springfield

Michigan

Ann Arbor

Detroit

Grand Rapids

Minnesota

Minneapolis

Saint Paul

Mississippi

Jackson

Missouri

Kansas City

St. Louis

Nebraska

Lincoln

Omaha

Nevada

Las Vegas

Reno

New Jersey

Princeton

New Mexico

Albuquerque

New York

Albany

Buffalo

New York City

White Plains

North Carolina

Charlotte

Durham

Raleigh

Ohio

Akron

Canton

Cincinnati

Cleveland

Columbus

Dayton

Oklahoma

Oklahoma City

Tulsa

Oregon

Portland

Pennsylvania

Philadelphia

Pittsburgh

Rhode Island

Providence

South Carolina

Charleston

Columbia

Greenville

Tennessee

Knoxville

Memphis

Nashville

Texas

Austin

Dallas

El Paso

Houston

San Antonio

Utah

Salt Lake City

Virginia

Alexandria

Arlington

Norfolk

Richmond

Washington

Seattle

Tacoma

West Virginia

Charleston

Wisconsin

Madison

Milwaukee

Alberta

Calgary

Edmonton

British Columbia

Vancouver

Manitoba

Winnipeg

Nova Scotia

Halifax

Ontario

Ottawa

Toronto

Quebec

Montreal

Puerto Rico

San Juan