Django

Django

BACKEND

Framework Python full-stack avec philosophie "batteries included" offrant ORM puissant, admin automatique et sécurité intégrée. Architecture MVT (Model-View-Template) avec Django ORM, migration system, authentication complète et écosystème riche pour créer des APIs REST avec Django REST Framework et applications web scalables.

Ce que tu vas apprendre

Python moderne avec type hints, async views et performance optimisée

Django ORM avec QuerySets, relations complexes et migrations automatiques

Admin interface auto-générée et personnalisable pour gestion de données

Django REST Framework pour APIs REST avec serializers et viewsets

Authentication & Authorization robuste avec User model, permissions et groups

Template engine puissant avec héritage, filters et custom tags

Forms et ModelForms avec validation automatique et messages d'erreur

Middleware pipeline pour security, CSRF, CORS et request processing

Testing complet (unittest, pytest-django, fixtures, factories)

Security by default (CSRF, XSS, SQL injection, clickjacking protection)

Sujets clés à maîtriser

Les concepts les plus importants pour comprendre cette techno et réussir tes entretiens

1

Python : decorators, context managers, generators, async/await, type hints

2

Django architecture : MVT pattern, settings.py, apps, middleware pipeline

3

Models : fields, relationships (ForeignKey, ManyToMany, OneToOne), Meta options

4

Django ORM : QuerySets, filter/exclude, select_related/prefetch_related, aggregations

5

Migrations : makemigrations, migrate, custom migrations, data migrations

6

Views : function-based views (FBV), class-based views (CBV), generic views

7

Django REST Framework : Serializers, ViewSets, Routers, authentication

8

DRF advanced : nested serializers, custom fields, pagination, filtering

9

URL routing : path(), re_path(), include(), URL parameters, namespaces

10

Templates : template inheritance, filters, tags, context processors

11

Forms : Form, ModelForm, validation, custom validators, formsets

12

Authentication : User model, login/logout, permissions, custom user model

13

Authorization : permissions (is_authenticated, permissions), groups, decorators (@login_required)

14

Middleware : request/response cycle, custom middleware, ordering

15

Admin : ModelAdmin, inlines, list_display, search_fields, customization

16

Signals : pre_save, post_save, pre_delete, custom signals, receivers

17

Testing : TestCase, fixtures, factories (factory_boy), mocking, coverage

18

Security : CSRF tokens, XSS prevention, SQL injection, secure settings

19

Performance : select_related, prefetch_related, database indexing, caching (Redis, Memcached)

20

Celery : async tasks, beat scheduler, workers, task routing

21

Deployment : WSGI/ASGI (Gunicorn, Uvicorn), static files, Docker, environment config