Chapter 1: Python
- Introduction
- Overview
- Audience / Prerequisites
- Features
- Environment Setup
- Installing Python (2.7/3.6)
- Setting up Environment Variable Path
- Run Code on Interpreter
- Basic of python syntax
- Identifier
- Conventions
- Reserved Words
- Lines and indentation
- Data Types
- Variables
- Standard Data Types
- Operator
- Flow Control in Python
- Condition
- Pass Statement
- Loop
- Break Statement
- Continue Statement
- Condition
- Errors and Exception Handling
- Errors
- Syntax Error
- Attribute Error
- Import Error
- Index Error and many more…
- Exceptions
- Handling Exception (using try/catch/else/finally)
- Handling Multiple Exceptions
- Ignoring Exceptions
- Errors
Chapter 2: Django
- Introduction to Django
- What is Django?
- Django and Python
- Do not Repeat Yourself (DRY principle)
- Install ing Django
- Getting Started with Django
- Django settings.py
- Adding App to your Project
- Django app life cycle
- Managing Users & the Django admin tool
- About the 3 Core Files:
- models.py
- urls.py
- views.py
- Django Models
- About Database Models
- Setting up Database Connections
- Define Django Models
- Understanding Models Fields & Options
- Create a Django Models
- Model Meta Class
- Adding Data to Model
- Retrieve Model Database
- Querysets
- Filters / Exclude
- Manage / Retrive Related Records
- Using Q objects
- Delete records
- 4 Django Admin Interface
- Creating an Admin User
- Enabling the Admin Interface
- Add Models in Admin Interface
- Django URL Patterns and Views
- About URL Conf
- Regular Expressions
- Expression Examples
- URL Conf Examples
- Generic Views
- Django Template
- Template Fundamentals
- Loading Template Files
- Filling Values in Template Context (Context Objects)
- Template Tags / Filters
- Built-in
- Custom
- Bootstrap Template Tags
- Template Inheritance
- Django Forms
- Form Classes
- Custom Forms
- Model Forms
- Form Validation
- Form Classes
- Access Control with sessions and Users
- Django Session Framework
- Installing Django User Authentication
- Using Django Authentication
- Login and Logout
- Authentication Decorators and Mixins
- Django Email Functionality
- Configuring Mail Settings
- Sending Email
- Sending Bulk Emails
- Generic Views
- Simple Generic Views
- Other Generic Views
- Create View
- List View
- Detail View
- Update View
- Delete View
- Redirect View
- Django & REST APIs
- REST API
- Django REST Framework
- Test REST API using Postman
- AJAX
- Introduction
- Call REST API using AJAX
- CRUD Operations using AJAX and API
- Unit Testing with Django
- Overview
- Unit Test using unittest module