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

74,642

Students who have taken Live Online Training

15,220

Organizations who trust Webucator for their training needs

100%

Satisfaction guarantee and retake option

9.41

Students rated our trainers 9.41 out of 10 based on 5,191 reviews

Contact Us or call 1-877-932-8228