tailbone.progress
¶
Progress Indicator
- class tailbone.progress.SessionProgress(request, key, session_type=None, ws=False)[source]¶
Provides a session-based progress bar mechanism.
This class is only responsible for keeping the progress data current. It is the responsibility of some client-side AJAX (etc.) to consume the data for display to the user.
- Parameters:
ws – If true, then websockets are assumed, and the progress will behave accordingly. The default is false, “traditional” behavior.