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
EuroPython 2025
PyCon Italia 2025
DjangoCon Europe 2025
DjangoCon Europe 2025
Django: deleting a large queryset may lead to high memory usage
Django Admin Theme Roundup 2025
Django News - Django 5.2 Fixes, Wagtail Updates & GeoDjango Mapping - Apr 18th 2025
See you at PyCon US in Pittsburgh!
Run your tests against Django's main!
DSF member of the month - Öykü Gümüş