Enter the world of Django directly alongside developers with in-depth field experience on large-scale projects.
Beyond the presentation of the framework's functionalities, our goal is to introduce you to best practices that will allow you to quickly get the most out of them.
Through concrete examples and practical exercises, you will take in hand this tool in the early chapters of the training.
Like all our training courses, this one will introduce you to the latest stable version to date and its new features (Django 5.0 at the time of the article).
1: Presentation of the Django framework:
- History
- Philosophy
- Features, advantages
- The implementation of the MVC model (MVT)
2: Creating the environment for a Django project:
- Install Python
- Create a virtual environment (venv)
- Install Django
- Create a Django Project (startproject)
3: Structure of a Django project:
- Configuration file (settings.py)
- View (views.py)
- Routing (urls.py)
- Model (models.py)
- Static files (/static/*.js, * .css, * .jpg, ...)
- User upload files (/ media)
- Templates (/templates/*.html)
4: Routing (urls.py):
- Presentation of the URL request processing process
- Import of libraries into “urls.py”
- Definition of Routes for our project.
5: The Views (views.py):
- Introduction to “View” concept
- Function-based views (FBV)
- Declaration of views for our home page
- Pass variables to templates (variable contexts)
6: Templates (* .html):
- Choice and Download of a Bootstrap Template
- Integration in "/static"
- Breakdown of the template (base.html, menu.html, content.html, footer.html, contact.html, ...)
- Template tags
- Template filters
7: Forms (forms.py):
- Introduction to concepts (Form, Field, Widget)
- Creation of forms
- Data recuperation
- Validation of entries
- Contact page (Sending emails)
8: Archiving of the project on the github repository:
- Create a Github / Bitbucket account
- Create a local repository
- Push the repo online
9: Online Deployment (Hosting):
- Dependencies list of our project (requirements.txt)
- Create a pythonanywhere.com account
- debug = False
- Pull django project from git to pythonanywhere.com
- Create a virtual environment
- Install django and the project dependencies
- WSGI configuration (wsgi.py)
- Check the website on (nom_du_site.pythonanywhere.com)
- Management of the 404 error
10: Resources to go further:
- Some links to find interesting information
- The Django community
No reviews for this item!.
DJN1 Reference : |
Django Course : |
1 Part : |
Beginner Difficulty level : |
Classroom Course modalities : |
3 day (21 h) Duration : |
15,000 Price : |
75% Practical work : |
75% Workshops / side projects : |
العربيّة , English , Français Languages : |
Bab Ezzouar , Rouiba , Boumerdes Location : |
Feb. 10, 2024 | Last update :
Very small (5 to 7 People) Group : |
Accelerated , Weekend 1 , Weekend 2 , Classic , Online Course methods : |
Breaks and lunches offered Meal : |
Disponible Accommodation : |
Certificate of completion issued Certificat : |
Handouts Documentation : |