About Live Server Tests in DEBUG Mode
By default LiveServerTestCase
runs in DEBUG = False
mode, even if you have DEBUG = True
in the test settings. To override that, use the @override_settings
decorator:
1 2 3 4 5 6 |
|
Tips and Tricks Programming Testing Django 5.x Django 4.2 Django 3.2
Also by me
Django Paddle Subscriptions app
For Django-based SaaS projects.
Django GDPR Cookie Consent app
For Django websites that use cookies.