Read more

 2Month/20 Hours                                                  Price: 35,000

                                                                                     30,000

Django Training Course – Python Web App Framework

Django is one of the most popular Python-based front-end / web app frameworks. It forms the backbone of some major web sites and is known for its relative ease of use and the speed at which you can develop and deploy Python web applications and containers.

Django is a high-level Python-based free and open-source web framework, which follows the model-view-template (MVT) architectural pattern. It is maintained by the Django Software Foundation (DSF). Django’s primary goal is to ease the creation of complex, database-driven websites. Some well-known sites that use Django include the Public Broadcasting Service, Instagram, Mozilla, The Washington Times, and Bitbucket.


Django Course Summary 

By the end of this course, you will have learnt:

Understand Django Architecture and its take on MVC (Models, Views & Templates)
Learn to use Django function-based views
Use the Django Template Language to interact with the front end from Django
Use Django Models to interact with SQlite backend databases
Learn to use advanced class-based views to create websites quickly
Use Django’s built-in authentication and administration systems
Learn to use Django Forms
Create relationships between model tables in the database

 Course Key Learning :

Learn to use Django function-based views
Use the Django Template Language to interact with the front end from Django
Use Django Models to interact with SQL backend databases
Learn to use advanced class-based views to create websites quickly
Use Django’s built-in authentication and administration systems
Learn to use Django Forms
Create relationships between model tables in the database

Course Topics 

Module-1 (Basics of Django)

What is a Web Framework? Introduction to Django
Creating and Setting up Django Project
Understanding Django Project and its structure
Running your Django application
Apps in Django and creating your first app
How does Django work?


Module-2 (Working With URL’s and Views)

URL’s and getting our first URL running
Understanding URLs and views in Django
Views and app specific URL’s
Challenge: Create our second URL and view
Dynamic URL’s
Updating views to return multiple jobs
Path converters
What is a Request? Types of request: GET vs POST
Redirects
Displaying All Jobs on home page
Reverse resolution of URLs and URL names
Handling not found

Module-3 (Django Template Language)

Working with variables to render dynamic information
render() function
Challenge: One more variable
What are tags?
If…else statements
For loops
Django Template Language and Visual Studio
Working with filters
Writing comments in templates
Migrating job detail page to template
Migrating jobs list page to template
URL tag in Django

Module-4 (Django models/Working with Database)

Basics: What is a database and why do we need it?
What is ORM?
Django and Databases
Django Models, Field, Field types, Field options
Creating our first Model and doing migrations
Viewing tables created
Adding more fields to our models
Remigration
Behind the scenes of Django Migrations
Inserting data into the database
Getting all data from the table
Query Filters
Getting single record from the table
exclude()
Limiting QuerySets
Sorted results
Field Lookups
Updating the existing data
Chaining QuerySets
Job list page: Getting data from the database in-app
Job detail page: Getting data from the database in-app
Working with Slugs, why slugs
Best practices and preventing updates of Slugs
Defining limit and Using Slugs as index
Aggregation
Deleting data from the database

Module-5 (Django Admin Panel)

Django Admin panel
Exploring admin panel and activating models in admin
Managing data with admin panel
Behind the scenes of Django Admin panel
Customizing admin panel
Customizing model fields in list view
Filters
Allowing Users to search
Managing fields in detail view
Working with Fieldsets
Using inbuilt CSS classes

Module-6 (Working With Multiple Models And Relationships)

Working with multiple models / Relationships
One to One relationship
Managing data with One to One Relationships
Many to One relationship
Managing data with Many to One relationship
Many to Many relationship
Managing data in Many to Many relationship
New models on Admin panel: Location Model
New models on Admin panel: Author Model
New models on Admin panel: Skills Model

Module-7 (Forms and ModelForms)

Bringing forms to the front end: Forms and ModelForms
Forms the traditional way
Evaluating our form
POST requests and CSRF tokens
Adding serverside validations
Saving data to database
Evaluating our approach so far
The Form class
Preview
Building our view with Form
Analyzing our form
Saving form data
Different ways of rendering form
Form options
Validating fields
Rendering form manually
Rendering fields with for loop
What are ModelForms?
Configuring views to work with ModelForms
Customizing defaults with ModelForms
Validations in Model
Working with choices
blank vs required vs null

Module-8 (Working With Static Files And File Uploads)

What are static files?
CSS and JS within HTML file
A separate CSS file
Behind the scenes of static files
A separate JS file
Best practices with static files
Rendering images in your projects
Image Uploads: Setting up a new app
Saving and uploading images
Rendering images on frontend
Uploading files other than images

Final Project

Finishing Our Job Application
Updating Job detail Page
Challenge: Updating Job List Page
Adding missing models
Updating Subscribe Page
Inheritance with Templates and its need
Using inheritance to organize templates
Challenge: Updating Job detail Page
Challenge: Updating Subscribe Page
Submitting data from subscribe form

Who should attend

This Django training is designed for Django beginners. This course is for you if you want to create a dynamic website with a database for yourself or others.

Python developers who want to benefit from the functionality of the Django web app framework in order to build, test and deploy commercial-quality web apps rapidly.


Prerequisites:
Basic Knowledge of HTML CSS




0 Reviews

Contact form

Name

Email *

Message *