Objectives of the training
Django is one of the most famous and complete Python frameworks. The objective of this training is to teach you how to use Django to develop a Back End web application.
Possible certification: ENI Certification - Dynamic web development Python/Django option.
Targeted audience
Developers
Prerequisite
Knowledge of the basics of the Python language as well as HTML, CSS and JavaScript is a plus. Trainers
Upcoming information
Django presentation and installation
• Presentation of Python
• Presentation of Django
• Demonstration - Installing the environment and creating a project
• The PyCharm IDE
• Case study - PokemonManager project
Django architecture and configuration files
• The MVT paradigm, applications and the manage.py file
• Demonstration - Creating an application in a project
• The settings.py file
• Practical work - Pokedex application
Routes
• The path() function and the urlpatterns array
• Demonstration - Creating a simple route
• The re_path() function
• Demonstration - Creating a complex route
• The include() function, namespaces and routes
• Demonstration - Inclusions and namespaces
• Lesson Plan - Defining routes
Views
• Named parameters
• Demonstration - Named parameters
• HTTP errors
• The render() method
• Demonstration - Using a template in a view
• Lesson Plan - Setting up views
Templates
• The architecture and variables
• Demonstration - Template and variables
• Tags and filters
• Demonstration - Tags and filters
• Conditions and loops
• Demo - Conditions and loops
• Inheritance and static files
• Demo - Inheritance and static files
• Making data more human
• Lesson Plan - Templates
Templates
• A first simple template
• Demonstration - Creating a first model
• Relationships between models
• Demonstration - Relationships between models
• Object-relational mapping
• Demo - Object-relational mapping
• Fixture
• The Django administration interface
• Lesson Plan - Creating models
Forms
• Creating a simple form
• Demonstration - Creating a simple form
• Validation and flash message
• Demo - Validation
• Forms, templates and generic views
• Demo - Generic forms, templates and views
• Authentication
• Demo - Authentication
• Lesson Plan - Creating Forms
Unit and functional testing
• Unit tests
• Demonstration - Unit tests
• Testing a view with Selenium
• Demonstration - Installing and using Selenium
• Code coverage
• Case study - Performing tests
Additional tools
• Principles of reusability
• Demonstration - Reusability
• Internationalization
• Demonstration - Internationalization
• Using an API
• Demo - Using an API
• Case Study - Multi-language navigation
Private or personalized training
If you have more than 8 people to sign up for a particular course, it can be delivered as a private session right at your offices. Contact us for more details.
Request a quote