django-planet
Posts
Blogs
Authors
Search
Posts
Blogs
Feeds
Authors
Home
Blogs
Thomas Loiret - Random thoughts
Django/DRF: how to authenticate a user in tests?
Jan. 8, 2023
Django/DRF: how to authenticate a user in tests?
published by
Thomas Loiret
in blog
Thomas Loiret - Random thoughts
original entry
Django/DRF: how to authenticate a user in tests?
What are the different options to log a user in tests?
Recent Posts
Django News - DjangoCon US 2025 Talks Announced - Jul 25th 2025
DjangoCon Africa 2025 Heads to Arusha 🇹🇿
Deploying a Django App to Sevalla
Learning French with Duolingo
Django: iterate through all registered URL patterns
Django News - 🎂 Django Turns 20! - Jul 18th 2025
EuroPython 2025
Django-Tailwind Just Got Better with a Unified Dev Command and daisyUI
Happy 20th birthday Django!
Django News - Django's Ecosystem - Jul 11th 2025