Django Boot Camp Training

Customized Onsite Training

5
Days
  • Customized Content
  • For Groups of 5+
  • Online or On-location
  • Expert Instructors
Overview

This Django Boot Camp training class teaches existing Python developers how to develop full-stack Web applications using the Django framework. It starts with the basics of creating simple models, views, and controllers, then moves on to more advanced topics such as administration, session management, authentication, and form processing.

This is a hands-on programming class. All concepts are reinforced by informal practice during the lecture followed by graduated lab exercises.

This course is appropriate for existing Python developers who want to easily create and deploy database-oriented web applications.

This course is a comprehensive introduction to this popular Web framework. Students will immediately be able to use Django to create real-world Web applications.

Note: This course can be taught for either Python 2.x or Python 3.x. Version-specific course materials and exercises will be provided.

Goals
  1. Develop full-stack web sites based on content stored in an RDMS.
  2. Define data models.
  3. Understand the architecture of a Django-based web site.
  4. Create Django templates for easy-to-modify views.
  5. Map views to URLs.
  6. Take advantage of the builtin Admin interface.
  7. Provide HTML form processing.
Outline
  1. Django Overview
    1. Django is a framework
    2. Frameworks vs Packages
    3. What can it do?
    4. Django Architecture
    5. Projects, sites and apps
    6. Shared configuration
  2. Starting a Project
    1. Executing manage.py
    2. Starting the project
    3. Configuration
    4. Using Django-environ
    5. The development server
  3. Adding an Application
    1. Generate the application files
    2. Creating views
    3. The request object
    4. Configuring routes
  4. Creating models with Django ORM
    1. Defining models
    2. Related objects
    3. SQL Migration
    4. App configuration
    5. Accessing models
  5. Login for Nothing and Admin for Free
    1. Setting up the admin user
    2. Running the admin site
    3. Tweaking the admin interface
    4. Changing the admin index page
  6. Views (AKA Controllers)
    1. What is a view
    2. HttpResponse
    3. URL route configuration
    4. Shortcut: get_object_or_404()
  7. Querying Models
    1. QuerySets
    2. Field lookups
    3. Chaining filters
    4. Slicing QuerySets
    5. Related fields
    6. Q objects
  8. Enhancing Models
    1. Custom methods
    2. Complex relationships
    3. Overriding standard methods
  9. Working with Templates
    1. Variable lookups
    2. Comments
    3. Inheritance
    4. Filters
    5. Escaping HTML
    6. Custom filters
  10. Forms
    1. Forms overview
    2. GET and POST
    3. The Form class
    4. Processing the form
    5. Widgets
    6. Validation
    7. Forms in templates
    8. Beyond the basics
  11. Static File Management
    1. Types of static files
    2. Configuring access
    3. Namespacing
    4. Templates
    5. Deploying from outside Django
  12. Generic Views
    1. About generic views
    2. Types of generic views
    3. Default generic views
    4. Class-based generic views
    5. List and detail views
  13. User Authentication
    1. Authentication vs Authorization
    2. Configuring users
    3. Permissions
    4. Groups
  14. Session Management
    1. Enabling sessions
    2. Types of session backends
    3. Session cookies
    4. Accessing sessions from views
  15. Testing
    1. Why create tests?
    2. When to create tests
    3. Using Django's test framework
    4. Using the test client
    5. Running tests
    6. Checking code coverage
  16. Documentation with Sphinx
    1. What is Sphinx?
    2. ReStructured text
    3. Creating a Sphinx project
    4. Using autodoc
    5. Generating the finished docs
  17. Creating Reusable Apps
    1. Packaging
    2. Choosing an appropriate name
    3. Deploying
    4. Using setuptools
  18. Migrations
    1. Managed vs Unmanaged Tables
    2. What happens when the schema changes
    3. Using makemigrations and migrate
  19. RESTful Services
    1. The Django REST framework
    2. Serialization
    3. Requests and Responses
    4. Providing services
  20. Responsive Web Sites
    1. Choosing a JS library
    2. Creating API endpoints
    3. Fixing template delimiter conflicts
  21. Caching
    1. Types of caches
    2. Setting up the cache
    3. Per-site and per-view caching
    4. Low-level API
    5. Cache security
Class Materials

Each student in our Live Online and our Onsite classes receives a comprehensive set of materials, including course notes and all the class examples.

Class Prerequisites

Experience in the following is required for this Python class:

  • Working knowledge of Python, HTML5, and CSS.
Prerequisite Courses

Courses that can help you meet these prerequisites:

Preparing for Class

No cancelation for low enrollment

Certified Microsoft Partner

Registered Education Provider (R.E.P.)

GSA schedule pricing

80,175

Students who have taken Live Online Training

15,541

Organizations who trust Webucator for their training needs

100%

Satisfaction guarantee and retake option

9.38

Students rated our trainers 9.38 out of 10 based on 4,959 reviews

This was a very informative class. I've been an admin for 20 years and while I knew several things covered, it was well worth my time for the things I DIDN'T know.

Casandra Zessin, Farnsworth Group, Inc.
Peoria IL

I have been trying to teach myself VBA for a while and this class really filled in the blanks in my knowledge.

Megin Garrett, Hatch Mott MacDonald
Renton WA

As someone who uses PowerPoint but never had the time to really learn how valuable this resource can be, I was able to take this class and walk away feeling very confident in my abilities in PowerPoint. The instructor was an incredible teacher and great resource! The time she took to make sure I understood everything was fantastic and we went at a pace that was quick enough for us to cover all the material but also slow enough that I was able to retain it! My only fear is now that everyone in my company will be leaning on me to help them do their Power Point presentations!!! Thank you again for a superb course!

Chris Deigan, Cord Blood Registry
westwood NJ

THE best training site out there today.

Ryan Cwick, GTECH

Contact Us or call 1-877-932-8228