DJN2
Reference
Intermediate
Difficulty
5 day (31 h)
Duration
20,000
Price
Develop web applications with Django Intermediate Nouveau et populaire

Come and learn more about the Django framework. Thanks to this training, you will learn to solve complex problems by writing reliable and efficient code.

Based on our knowledge gained over the years on real projects, we will explain how to avoid pitfalls and how to navigate the rich ecosystem of Django.

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).

Tags : Python Django

Next session :

« No upcoming sessions ! »

Concerned public :

• Any developer wishing to deepen and strengthen their knowledge of the Django framework

Prerequisites :

• Have followed the Django fundamentals course (DJN1) or have similar knowledge
• Know the Python language
• Bring a laptop with administrator rights

Educational resources :

• A training room equipped with an Internet connection (Wi-Fi access)
• Projection screen / Datashow and a 65 inch TV.
• Copy Machine / A4 Printers
• Whiteboard / Paper blackboard
• If you have a disability, let us know!

Educational goals :

• Know how to interface Django with a database
• Be able to modify the integrated administration interface
• Know how to integrate external modules (Django packages)
• Know how to integrate HTML Templates (Admin dashboard)
• Know how to target which type of application to develop (Web app dev concept)
• Be able to manage users with django
• Be able to develop a web application with Django

Programme détaillé:

1 : The models (models.py):

- Introduction to the ORM, Model and Field concept
- Definition of model fields
- Migrations
- Manipulate models:

  • Presentation of the administration interface (Django admin)
  • Introduction to the Manager and Queryset concepts:

          + Simple database query methods (ORM)
          + CRUD (Create, Read / Retrieve, Update, Delete) methods of model instances


2 : Routing (urls.py):

- Concept "App" in Django
- Include and Namespace
- URLs with parameters


3 : The Views (views.py):

- Class-based views
- The keys to choose between Function-based view and Class-based view (FBV vs CBV)
- Use CBV (Class Based View) to display our model (Detailview / Listview)


4 : Templates (* .html):

- Create the templates to display and list our instances
- Inheritance and inclusion of templates
- Definition of application template blocks


5 : The Forms (forms.py):

- Introduction to the “ModelForm” concept
- Declaration, display and processing of simple form
- Validation of the form fields
- Creation of a simple form with ModelForm
- Create CBVs to modify our Model (CreateView, UpdateView, DeleteView)


6 : Relationship between models:

- Introduction to ForeignKey, ManyToMany and OneToOne field concepts
- Implementation of relations: 1-N, N-N, 1-1
- Create a model linked to the existing model
- Manage this model from the administration interface (Django admin)
- Implement the relation in the existing form (ForeignKey field in .html)


7 : Users management:

- Introduction to the concepts of users, groups, permissions
- Introduction to concepts (Reusable app)
- Protect your views (Decorators and Mixins)
- Creation of a login form
- Creation of a view reserved for connected users
- Management of session variables in Django (Create, Read, Delete)


8 : Static & media files:

- Management of static files (/static)
- Management of media files (/media)
- Upload and manipulation of media files on Django
 

9 : Django message framework :

- Concept
- Configuration (settings.py)
- Integration dans les vues
 

10 : Deployment:

- Dependencies list of our project (requirements.txt)
- debug = False
- Integration in Apache with WSGI (wsgi.py)
- Management of static files (collectstatic)

No reviews for this item!.

Space dedicated to discussion with trainers and between members about training. Ask your questions here and feel free to answer questions from other members.
Content reserved for registered users.

Optional training follow-up

At the end of the course, our instructors can also intervene to support you in the application of the acquired skills. :
  • by being physically present at the start of your project
  • by answering your questions during regular phone meetings
  • by conducting an audit of your practice a few weeks / months after the course
Are you interested in this idea? let us know so that we can find the right formula for your situation.
Django
Reference : DJN2
Course : Django
Part : 2
Difficulty level : Intermediate
Course modalities : Classroom
Duration : 5 day (31 h)
Price : 20,000
Practical work : 75%
Workshops / side projects : 75%
Languages : العربيّة , English , Français
Location : Bab Ezzouar , Boumerdes
Last update : Feb. 10, 2024

Course options :

Group : Very small (5 to 7 People)
Course methods : Accelerated , Weekend 1 , Weekend 2 , Classic , Online
Meal : Breaks and lunches offered
Accommodation : Disponible
Certificat : Certificate of completion issued
Documentation : Handouts

Next sessions :

« No upcoming sessions ! »
Training courses to enter the world of work, entrepreneurship and Start-ups, with flexible training plans based on the practice of « Learning by Doing ».
contact@anugrah.academy +213 799 254 251
support@anugrah.academy +213 553 961 612
© 2024 Anugrah. All rights reserved. - Developed with ❤️ using Django