8296  Reviews star_rate star_rate star_rate star_rate star_half

Introduction to Python and Django

Ascendient Learning'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...

Read More
Duration 5 days
Course Code DGO-106
Available Formats Classroom

Overview

Ascendient Learning'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 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.]. See the Django Release Notes here.

Skills Gained

  • 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

Prerequisites

Students should already be comfortable using the operating system (Linux, Unix, Windows, Solaris, macOS, 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.

Course Details

Training Materials

All attendees receive comprehensive course materials.

Software Requirements

  • Python 3.x installed (Anaconda bundle recommended)
  • Django 4.x or later framework
  • Other Python modules installed
  • A text editor or IDE (PyCharm Community Edition is an excellent free editor if you don’t have a strong preference)

Outline

  • 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

Schedule

FAQ

Does the course schedule include a Lunchbreak?

Classes typically include a 1-hour lunch break around midday. However, the exact break times and duration can vary depending on the specific class. Your instructor will provide detailed information at the start of the course.

What languages are used to deliver training?

Most courses are conducted in English, unless otherwise specified. Some courses will have the word "FRENCH" marked in red beside the scheduled date(s) indicating the language of instruction.

What does GTR stand for?

GTR stands for Guaranteed to Run; if you see a course with this status, it means this event is confirmed to run. View our GTR page to see our full list of Guaranteed to Run courses.

Does Ascendient Learning deliver group training?

Yes, we provide training for groups, individuals and private on sites. View our group training page for more information.

What does vendor-authorized training mean?

As a vendor-authorized training partner, we offer a curriculum that our partners have vetted. We use the same course materials and facilitate the same labs as our vendor-delivered training. These courses are considered the gold standard and, as such, are priced accordingly.

Is the training too basic, or will you go deep into technology?

It depends on your requirements, your role in your company, and your depth of knowledge. The good news about many of our learning paths, you can start from the fundamentals to highly specialized training.

How up-to-date are your courses and support materials?

We continuously work with our vendors to evaluate and refresh course material to reflect the latest training courses and best practices.

Are your instructors seasoned trainers who have deep knowledge of the training topic?

Ascendient Learning instructors have an average of 27 years of practical IT experience and have also served as consultants for an average of 15 years. To stay current, instructors spend at least 25 percent of their time learning new, emerging technologies and courses.

Do you provide hands-on training and exercises in an actual lab environment?

Lab access is dependent on the vendor and the type of training you sign up for. However, many of our top vendors will provide lab access to students to test and practice. The course description will specify lab access.

Will you customize the training for our company’s specific needs and goals?

We will work with you to identify training needs and areas of growth.  We offer a variety of training methods, such as private group training, on-site of your choice, and virtually. We provide courses and certifications that are aligned with your business goals.

How do I get started with certification?

Getting started on a certification pathway depends on your goals and the vendor you choose to get certified in. Many vendors offer entry-level IT certification to advanced IT certification that can boost your career. To get access to certification vouchers and discounts, please contact info@ascendientlearning.com.

Will I get access to content after I complete a course?

You will get access to the PDF of course books and guides, but access to the recording and slides will depend on the vendor and type of training you receive.

How do I request a W9 for Ascendient Learning?

View our filing status and how to request a W9.

Reviews

ExitCertified gave a great course on AWS that covered all of the basics in depth with good lab materials.

This course gave me a clearer understanding of the AWS cloud architecture.

Exit certified was great as it is very in depth and hands on learning which made it very easy to learn this type of work.

Topics, material and specially instructor (Graham Godfrey) was beyond my expectations.

I like their training. A lot of material covered. The labs are very good. l learned a lot.