Extra keyword not available in capture_message python/django

I’m integrating sentry with Django via sentry_sdk.init() in the base settings file.

How am I able to capture message with additional data? The docs say you can use “client.captureMessage” but I have no “client” as it’s not initialised that way, and I tried importing capture_message and passing the “extra” keyword, but I get a TypeError get an unexpected keyword argument “extra”

Any ideas?