Advanced Django Training

Advanced Django Training Courseware (DJG201)

This Advanced Django course builds upon the foundation established in the Introduction to Django course, delving deeper into the powerful web framework. Students will learn advanced concepts such as handling messages, working with media files, making complex queries, implementing pagination and ordering, advanced querying and search, deploying websites to production, and customizing Django Admin. The course also includes hands-on exercises and real-world examples, allowing students to apply their knowledge and refine their skills in Django development.

Publisher: Webucator

Benefits

  1. Advanced Concepts: The course covers advanced Django topics like messages framework, media files handling, complex queries, pagination, ordering, advanced search, and customizing Django Admin.
  2. Hands-on Exercises: Practical exercises and real-world examples throughout the course allow students to apply their knowledge and gain confidence in advanced Django development.
  3. Ajax and View Functions: Students will learn how to work with Ajax to create dynamic web applications and improve user experience.
  4. Deployment Strategies: The course teaches students how to deploy their Django websites to production, using platforms like Heroku.
  5. Customizing Django Admin: Students will learn how to customize the Django Admin interface to better manage their web applications.
  6. Real-world Applicability: The advanced techniques and concepts taught in this course can be directly applied to real-world Django projects, preparing students for professional web development.

Outline

  1. Messages Framework
    1. Message Framework
    2. Adding Messages (Exercise)
    3. Using SuccessMessageMixin (Exercise)
    4. Adding Success Messages to the Joke Views (Exercise)
    5. Adding a Success Message to JokeDeleteView (Exercise)
  2. Media Files
    1. Media File Basics
    2. Adding Media Settings (Exercise)
    3. Uploading a Resume (Exercise)
    4. Checking File Type (Exercise)
    5. Keeping Resume Files Private (Exercise)
    6. Adding an ImageField to the Model (Exercise)
    7. Displaying the Avatar (Exercise)
    8. Amazon Simple Storage Service (Amazon S3)
    9. Setting Up Amazon S3 (Exercise)
    10. Static Settings in Development (Exercise)
  3. Making Queries, Ajax, and View Functions
    1. Useful Prerequisites
    2. Managers and QuerySets
    3. Indexing and Slicing QuerySets
    4. Checking for Existence
    5. Creating, Updating, and Saving Model Instances
    6. QuerySet Methods that Don’t Return QuerySets
    7. One-to-Many Relationships
    8. Many-to-Many Relationships
    9. Spanning Relationships
    10. Joke Voting
    11. Adding a JokeVote Model (Exercise)
    12. Registering the JokeVote Model (Exercise)
    13. Adding Properties to the Joke Model (Exercise)
    14. Rating Jokes Using Ajax (Exercise)
    15. Adding a vote() View Function (Exercise)
    16. Updating the URLConf (Exercise)
    17. Updating the Templates (Exercise)
    18. Model Constraints
    19. Letting JavaScript Know if the User is Logged In
  4. Pagination and Ordering
    1. Fixtures
    2. Loading Data from a Fixture (Exercise)
    3. Pagination (Exercise)
    4. Ordering (Exercise)
  5. Advanced Querying and Search
    1. Field Lookups
    2. Q Objects
    3. Filtering Results by Category, Tag, or Creator (Exercise)
    4. Implementing Search (Exercise)
    5. Aggregation
    6. Getting Joke Ratings (Exercise)
    7. Code Optimization
    8. Installing and Using the Django Debug Toolbar (Exercise)
    9. Brief Introduction to Annotation
    10. Viewing SQL Used in QuerySets
  6. Deploying your Website to Production
    1. Where to Host Your Django Site
    2. Deploying to Heroku (Exercise)
  7. Customizing Django Admin
    1. Django Admin Views
    2. Customizing Titles and Headers (Exercise)
    3. ModelAdmin Attributes that Affect the List View
    4. Creating a Custom ModelAdmin Base Class (Exercise)
    5. Customizing the Django Admin List View (Exercise)
    6. Lists vs. Tuples
    7. ModelAdmin Attributes that Affect Forms
    8. Customizing Django Admin Form Views (Exercise)
    9. Customizing Fieldsets
    10. Modifying the CustomUserAdmin Class (Exercise)
    11. Adding Calculated Read-only Fields
    12. Adding a Link to the Change Password Form (Exercise)
    13. Unregistering Models (Exercise)
    14. Django Admin Groups and Permissions (Exercise)
  8. Additional Topics
    1. Additional Learning
    2. Additional Projects

Required Prerequisites

  1. Experience with Python.
  2. Experience with Django as covered in the Introduction to Django course.

Useful Prerequisites

  • JavaScript
  • SQL
License

Length: 3 days | $120.00 per copy

LicenseRequest More InformationDownload Sample CopyRequest Trainer Evaluation Copy
What is Included?
  • Student Manual
  • Student Class Files
    Courseware Tracks

    This course is included in the following tracks: