Contents Menu Expand Light mode Dark mode Auto light/dark mode
🚀 Follow @michaelyinplus on X for more useful tips about Hotwire and Django!
django-turbo-helper 2.1.5 documentation
django-turbo-helper 2.1.5 documentation
  • Installation
  • Form Submission
  • DOM Helper
  • Turbo Frame
  • Turbo Stream
  • Real Time Updates via Websocket
  • Extend Turbo Stream
  • Multi-format Response
  • Signal Decorator
  • Hints on testing
  • API Reference
    • turbo_helper
      • turbo_helper.apps
      • turbo_helper.channels
        • turbo_helper.channels.broadcasts
        • turbo_helper.channels.stream_name
        • turbo_helper.channels.streams_channel
      • turbo_helper.constants
      • turbo_helper.middleware
      • turbo_helper.renderers
      • turbo_helper.response
      • turbo_helper.shortcuts
      • turbo_helper.signals
      • turbo_helper.stream
      • turbo_helper.templatetags
        • turbo_helper.templatetags.turbo_helper
      • turbo_helper.turbo_power
Back to top

turbo_helper.constants¶

Attributes¶

TURBO_STREAM_MIME_TYPE

Classes¶

ResponseFormat

Module Contents¶

turbo_helper.constants.TURBO_STREAM_MIME_TYPE = 'text/vnd.turbo-stream.html'¶
class turbo_helper.constants.ResponseFormat¶
html = False¶
json = False¶
turbo_stream = False¶
Next
turbo_helper.middleware
Previous
turbo_helper.channels.streams_channel
Copyright © 2026, Michael Yin
Made with Sphinx and @pradyunsg's Furo
On this page
  • turbo_helper.constants
    • Attributes
    • Classes
    • Module Contents
      • TURBO_STREAM_MIME_TYPE
      • ResponseFormat
        • ResponseFormat.html
        • ResponseFormat.json
        • ResponseFormat.turbo_stream