{% extends "admin/base_site.html" %} {% load i18n admin_urls static %} {% block extrastyle %} {{ block.super }} {% endblock %} {% block content %}
Note: This tool re-saves cohorts to regenerate compiled bytecode and cohort_type using the current backend logic. It runs in batches to avoid load. Use dry-run to preview a summary first. Check server logs for command output.
Scope: target a single team (team id) or all teams if left blank.
{% if messages %} {% for message in messages %}
{{ message }}
{% endfor %} {% endif %}
{% csrf_token %}

Configuration

{{ form.team_id }} {% if form.team_id.help_text %}

{{ form.team_id.help_text }}

{% endif %} {{ form.team_id.errors }}
{{ form.batch_size }} {% if form.batch_size.help_text %}

{{ form.batch_size.help_text }}

{% endif %} {{ form.batch_size.errors }}
{{ form.dry_run }} {% if form.dry_run.help_text %}

{{ form.dry_run.help_text }}

{% endif %} {{ form.dry_run.errors }}
{% endblock %}