Skip to content

Commit

Permalink
Add comment to explain Django version differences in asgiref
Browse files Browse the repository at this point in the history
Co-authored-by: Carlton Gibson <[email protected]>
  • Loading branch information
j4mie and carltongibson authored Oct 14, 2021
1 parent 5ac6279 commit 6e17bfb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions log_request_id/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ def inner():
self.assertRaises(ImproperlyConfigured, inner)


# asgiref is required from Django 3.0
if async_to_sync:

class AsyncRequestIDLoggingTestCase(RequestIDLoggingTestCase):
Expand Down

0 comments on commit 6e17bfb

Please sign in to comment.