Django is a free and open-source Python-based framework to develop web applications. This framework consists of a set of components which help develop websites or web applications fast and easily. The main purpose of Django is to reduce the development of complex of database driven web applications.
SDLC training institute providing the Python Django real-time online training classes, classroom training classes for the weekend and regular batches. Get JOB with our free Placement Assistance Program.
At end of the course?
- Trainees will understand the core concepts of Python Django.
- Participants will have an understanding of how to create and implement algorithms.
- Candidates will have detailed knowledge about Python Django.
- Real-time project experience.
Content:
- Introduction
- About Django
- Django components
- Django design principles
- Prerequisites
- The demo project
- Course overview
- Installing Django
- Before you start: versions, virtualenvs and terminals
- Creating and activating a virtual environment
- Review virtual environments
- Installing django
- Starting a Django project
- Starting and running project
- Opening project in pycharm
- Adding a simple page
- Startprojects, views and url mappings
- Apps, Models and migrations
- Concepts of apps , models and migration
- Running initial migrations
- Creating an app
- Adding your own models
- Creating and running migrations
- Another migration
- url configuration
- about urlconf’s
- regular expression
- Expression example
- Passing url arguments
- Database Models
- About database models
- Understanding Django apps
- Configuring Django for database access
- Defining Django models
- Understanding model fields and options
- Admin site and model apis
- Django admin sites
- Django models and __str__()
- Customizing the models with a ModelAdmin class
- The admin interface
- The model API
- Templates
- Django templates
- Loading template files
- Template tags
- Passing data from view to templates
- Displaying data in a template
- More on for loops
- A custom model manager and Q()
- Templates and data examples
- Forms and authentication
- Form classes
- Login and logout views
- Authentication
- Showing and invitation form
- General flow
- Handling form submit
- Tuning and styling form
- Working with APIs
- Connecting to github api
- Reading a file from repo
- Modifying content of file in specific branch
- Using other APIs
- Django rest framework
- Creating your won REST apis