SalaCyber Python Django Framework

Django is a high-level Python web framework that encourages rapid development and clean, pragmatic design. Built by experienced developers, it takes care of much of the hassle of web development, so you can focus on writing your app without needing to reinvent the wheel. It’s free and open source. This course will teach students fundamentals of Django Framework and its Models, Views, and Templates. Students will learn how to build a eCommerce web application from scratch

Duration: 50 Hours

Schedule: Mon-Wed-Fri (18:30-20:00)

Location: Online


Basic Python programming language and HTML/CSS/Javascript knowledge are required


Chapter 1: Building a Blog Application

  • Installing Django
  • Creating an isolated Python environment
  • Installing Django with pip
  • Creating your first project
  • Running the development server
  • Project settings
  • Projects and applications
  • Creating an application
  • Designing the blog data schema
  • Activating the application
  • Creating and applying migrations
  • Creating an administration site for models
  • Creating a superuser
  • The Django administration site
  • Adding models to the administration site
  • Customizing the way that models are displayed
  • Working with QuerySets and managers
  • Creating objects
  • Updating objects
  • Retrieving objects
  • Using the filter() method
  • Using exclude()
  • Using order_by()
  • Deleting objects
  • When QuerySets are evaluated
  • Creating model managers
  • Building list and detail views
  • Creating list and detail views
  • Adding URL patterns for your views
  • Canonical URLs for models
  • Creating templates for your views
  • Adding pagination
  • Using class-based views
  • Summary

Chapter 2: Enhancing Your Blog with Advanced Features

  • Sharing posts by email
  • Creating forms with Django
  • Handling forms in views
  • Sending emails with Django
  • Rendering forms in templates
  • Creating a comment system
  • Building a model
  • Creating forms from models
  • Handling ModelForms in views
  • Adding comments to the post detail template
  • Adding the tagging functionality
  • Retrieving posts by similarity
  • Summary

Chapter 3: Extending Your Blog Application

  • Creating custom template tags and filters
  • Custom template tags
  • Custom template filters
  • Adding a sitemap to your site
  • Creating feeds for your blog posts
  • Adding full-text search to your blog
  • Installing PostgreSQL
  • Simple search lookups
  • Searching against multiple fields
  • Building a search view
  • Stemming and ranking results
  • Weighting queries
  • Searching with trigram similarity
  • Other full-text search engines
  • Summary

Chapter 4: Building an Online Shop

  • Creating an online shop project
  • Creating product catalog models
  • Registering catalog models on the administration site
  • Building catalog views
  • Creating catalog templates
  • Building a shopping cart
  • Using Django sessions
  • Session settings
  • Session expiration
  • Storing shopping carts in sessions
  • Creating shopping cart views
  • Adding items to the cart
  • Building a template to display the cart
  • Adding products to the cart
  • Updating product quantities in the cart
  • Creating a context processor for the current cart
  • Context processors
  • Setting the cart into the request context
  • Registering customer orders
  • Creating order models
  • Including order models in the administration site
  • Creating customer orders
  • Launching asynchronous tasks with Celery
  • Installing Celery
  • Installing RabbitMQ
  • Adding Celery to your project 2
  • Adding asynchronous tasks to your application
  • Monitoring Celery


Chapter 5: Managing Payments and Orders

  • Integrating a payment gateway
  • Creating a Braintree sandbox account
  • Installing the Braintree Python module
  • Integrating the payment gateway
  • Integrating Braintree using Hosted Fields
  • Testing payments
  • Exporting orders to CSV files
  • Adding custom actions to the administration site
  • Extending the administration site with custom views
  • Generating PDF invoices dynamically
  • Installing WeasyPrint
  • Creating a PDF template
  • Rendering PDF files
  • Sending PDF files by email

Facebook Page

Keep your knowledge up-to-date

Follow our Facebook page and get update as well as valuable lesson from our team.

© , made with by SalaCyber Team