Introduction to Django

DGO-100 (3 Days)
4.4 out of 5 (10 reviews)  

Request Pricing for Introduction to Django

Django Training Overview

Accelebrate's Introduction to Django training teaches existing Python developers the fundamentals of creating Web applications using the popular Django framework. Attendees learn how to properly architect MVC (model view controller) applications using Django and integrate forms and file management. Participants also learn how to create and execute automated tests to validate their code quality.

Note: This course can be taught with Django 1.x or 2.x 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

Most Accelebrate courses are taught as private, customized training for 3 or more attendees at our clients' sites worldwide. In addition, we offer live, private online classes for teams who may be in multiple locations or wish to save on travel costs. Please visit our client list for organizations for whom we have delivered onsite training. To receive a customized proposal and price quote for private on-site or online training, please contact us.

Django Training Objectives

All students will:

  • Develop web sites based on content stored in a relational database management system
  • Understand the model view controller (MVC) pattern and how it is implemented in Django
  • Create Django templates for easy-to-modify views
  • Map views to URLs
  • Take advantage of the built-in Admin interface
  • Provide HTML form processing
  • Integrate automated tests with your code

Django Training Outline

Expand All | Collapse All | Printer-Friendly

Introduction
Django Overview
Getting Started with Django
  • Sites and apps
  • Editing
  • Minimal Django layout
  • Using
  • The development server
  • Adding an application
  • URL configuration
Using cookiecutter
  • Why cookiecutter?
  • cookiecutter features
  • Creating a project
  • Creating an app
  • Customizing cookiecutter
Creating models with Django ORM
  • Defining models
  • Related objects
  • SQL Migration
  • App configuration
  • Accessing models
Login for Nothing and Admin for Free
  • Setting up the admin user
  • Running the admin site
  • Tweaking the admin interface
  • Changing the admin index page
Creating Views (AKA Controllers)
  • What is a view
  • HttpResponse
  • URL route configuration
  • Shortcut: get_object_or_404()
Templates (AKA Views)
  • About templates
  • Django template syntax
  • Static files
  • Loading templates
  • The url tag
  • Shortcut: template.render()
Querying the Models
  • QuerySets
  • Chaining filters
  • Slicing QuerySets
  • Q objects
Working with Templates
  • Variable lookups
  • Comments
  • Inheritance
  • Filters
  • Escaping HTML
Django Forms
  • Forms overview
  • GET and POST
  • The Form class
  • Processing the form
  • Widgets
  • Validation
  • Forms in templates
  • Beyond the basics
Static File Management
  • Types of static files
  • Configuring access
  • Namespacing
  • Templates
  • Deploying from outside Django
Class-based Views
  • About class-based views
  • Builtin generic views
  • List and detail views
  • Other builtin views
  • Using inheritance to leverage builtins
Automated Testing
  • Why create tests?
  • When to create tests
  • Using Django's test framework
  • Using the test client
  • Running tests
  • Checking code coverage
Conclusion
Request Pricing for Introduction to Django

Lecture percentage

40%

Lecture/Demo

Lab percentage

60%

Lab

Course Number:

DGO-100

Duration:

3 Days

Prerequisites:

All students should have a working knowledge of Python, HTML 5, and CSS.

Training Materials:

All attendees receive comprehensive course materials.

Software Requirements:

  • Python 3 (available from http://www.python.org)
  • Django 1.x or 2.x framework and other related Python modules
  • A text editor or IDE (PyCharm Community Edition is an excellent free editor if you don’t have a strong preference)

Contact Us:

Accelebrate’s training classes are available for private groups of 3 or more people at your site or online anywhere worldwide.

Don't settle for a "one size fits all" public class! Have Accelebrate deliver exactly the training you want, privately at your site or online, for less than the cost of a public class.

For pricing and to learn more, please contact us.

Contact Us Train For Us

Toll-free in US/Canada:
877 849 1850
International:
+1 678 648 3113

Toll-free in US/Canada:
866 566 1228
International:
+1 404 420 2491

925B Peachtree Street, NE
PMB 378
Atlanta, GA 30309-3918
USA

Subscribe to our Newsletter:

Never miss the latest news and information from Accelebrate:

Microsoft Gold Partner

Please see our complete list of
Microsoft Official Courses

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

Ceder 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

© 2013-2019 Accelebrate, Inc. All Rights Reserved. All trademarks are owned by their respective owners.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.