Introduction to Python and Django

DGO-106 (5 Days)
4.7 out of 5 (30 reviews)  

Request Pricing

Python and Django Training Overview

Accelebrate's Introduction to Python and Django training course starts by teaching students the basics of Python, then moves on to teach students how to develop Web applications using the Django framework. This class covers the basics of creating basic applications using the MVC (model-view-controller) design pattern, as well as more advanced topics such as administration, session management, authentication, and automated testing.

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 delivered as private, customized, on-site training at our clients' locations worldwide for groups of 3 or more attendees and are custom tailored to their specific needs. Please visit our client list to see organizations for whom we have delivered private in-house training. These courses can also be delivered as live, private online classes for groups that are geographically dispersed or wish to save on the instructor's or students' travel expenses. To receive a customized proposal and price quote for private training at your site or online, please contact us.

Python and Django Training Objectives

All students will:

  • Develop full-stack web sites based on content stored in an RDMS
  • Use python data types appropriately
  • Define data models
  • Understand the architecture of a Django-based web site
  • Create Django templates for easy-to-modify views
  • Map views to URLs
  • Take advantage of the built-in Admin interface
  • Provide HTML form processing

Python and Django Training Outline

Expand All | Collapse All | Printer-Friendly

Introduction
The Python Environment
  • Starting Python
  • Using the interpreter
  • Running a Python script
  • Python scripts on Unix/Windows
  • Editors and IDEs
Getting Started
  • Using variables
  • Built-in functions
  • Strings
  • Numbers
  • Converting among types
  • Writing to the screen
  • Command line parameters
Flow Control
  • About flow control
  • White space
  • Conditional expressions
  • Relational and Boolean operators
  • While loops
  • Alternate loop exits
Lists and Tuples
  • About sequences
  • Lists and list methods
  • Tuples
  • Indexing and slicing
  • Iterating through a sequence
  • Sequence functions, keywords, and operators
  • List comprehensions
  • Nested sequences
Working with Files
  • File overview
  • The with statement
  • Opening a text file
  • Reading a text file
  • Writing to a text file
  • Raw (binary) data
Dictionaries and Sets
  • About dictionaries
  • Creating dictionaries
  • Iterating through a dictionary
  • About sets
  • Creating sets
  • Working with sets
Functions
  • About sequences
  • Function parameters
  • Global variables
  • Global scope
  • Returning values
  • Sorting data
Errors and Exception Handling
  • Syntax errors
  • Exceptions
  • Using try/catch/else/finally
  • Handling multiple exceptions
  • Ignoring exceptions
Using Modules
  • The import statement
  • Module search path
  • Zipped libraries
  • Creating Modules
  • Function and Module aliases
Classes
  • About o-o programming
  • Defining classes
  • Constructors
  • Instance methods and data
  • Class/static methods and data
  • Inheritance
Django Architecture
  • Sites and apps
  • Shared configuration
  • Minimal Django layout
  • Built-in flexibility
Configuring a Project
  • Executing manage.py
  • Starting the project
  • Database setup
  • The development server
Adding an Application
  • Generate the application files
  • 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
Basic Views (AKA Controllers)
  • What is a view
  • HttpResponse
  • URL route configuration
  • Shortcut: get_object_or_404()
Basic Views (AKA Templates)
  • About templates
  • Django template syntax
  • Static files
  • Loading templates
  • The url tag
  • Shortcut: template.render()
Querying the Models
  • QuerySets
  • Field lookups
  • Chaining filters
  • Slicing QuerySets
  • Related fields
  • Q objects
Working with Templates
  • Variable lookups
  • Comments
  • Inheritance
  • Filters
  • Escaping HTML
  • Custom filters
Forms
  • Forms overview
  • GET and POST
  • The Form class
  • Processing the form
  • Widgets
  • Validation
  • Forms in templates
  • Beyond the basics
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

Lecture percentage

40%

Lecture/Demo

Lab percentage

60%

Lab

Course Number:

DGO-106

Duration:

5 Days

Prerequisites:

Students should already be comfortable using the operating system (Linux, Unix, Windows, Solaris, Mac OS X, etc.) on which they will be running Python. While not mandatory, basic skills with at least one other programming language are desirable. All students should have a working knowledge of HTML5 and CSS.

Training Materials:

All attendees receive comprehensive course materials.

Software Requirements:

  • Python 3
  • Django 1.x or 2.x framework
  • Other Python extensions
  • 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

Huntsville

Montgomery

Birmingham

Alaska

Anchorage

Arizona

Phoenix

Tucson

Arkansas

Fayetteville

Little Rock

California

San Francisco

Oakland

San Jose

Orange County

Los Angeles

Sacramento

San Diego

Colorado

Denver

Boulder

Colorado Springs

Connecticut

Hartford

DC

Washington

Florida

Fort Lauderdale

Miami

Jacksonville

Orlando

Saint Petersburg

Tampa

Georgia

Atlanta

Augusta

Savannah

Idaho

Boise

Illinois

Chicago

Indiana

Indianapolis

Iowa

Ceder Rapids

Des Moines

Kansas

Wichita

Kentucky

Lexington

Louisville

Louisiana

Banton Rouge

New Orleans

Maine

Portland

Maryland

Annapolis

Baltimore

Hagerstown

Frederick

Massachusetts

Springfield

Boston

Cambridge

Michigan

Ann Arbor

Detroit

Grand Rapids

Minnesota

Saint Paul

Minneapolis

Mississippi

Jackson

Missouri

Kansas City

St. Louis

Nebraska

Lincoln

Omaha

Nevada

Reno

Las Vegas

New Jersey

Princeton

New Mexico

Albuquerque

New York

Buffalo

Albany

White Plains

New York City

North Carolina

Charlotte

Durham

Raleigh

Ohio

Canton

Akron

Cincinnati

Cleveland

Columbus

Dayton

Oklahoma

Tulsa

Oklahoma City

Oregon

Portland

Pennsylvania

Pittsburgh

Philadelphia

Rhode Island

Providence

South Carolina

Columbia

Charleston

Spartanburg

Greenville

Tennessee

Memphis

Nashville

Knoxville

Texas

Dallas

El Paso

Houston

San Antonio

Austin

Utah

Salt Lake City

Virginia

Richmond

Alexandria

Arlington

Washington

Tacoma

Seattle

West Virginia

Charleston

Wisconsin

Madison

Milwaukee

Alberta

Edmonton

Calgary

British Columbia

Vancouver

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.