rustango 0.24.0

Django-shaped batteries-included web framework for Rust: ORM + migrations + auto-admin + multi-tenancy + audit log + auth (sessions, JWT, OAuth2/OIDC, HMAC) + APIs (ViewSet, OpenAPI auto-derive, JSON:API) + jobs (in-mem + Postgres) + email + media (S3 / R2 / B2 / MinIO + presigned uploads + collections + tags) + production middleware (CSRF, CSP, rate-limiting, compression, idempotency, etc.).
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<aside class="sidebar">
  <h2>{{ admin_title | default(value="rustango admin") }}</h2>
  {% if admin_subtitle %}<p class="subtitle">{{ admin_subtitle }}</p>{% endif %}
  <p><a href="/__admin/" class="{% if active_table is undefined or active_table == '' %}active{% endif %}">Home</a></p>
  <p><a href="/__audit" class="{% if active_table == '__audit' %}active{% endif %}">Activity</a></p>
  {% if sidebar_groups %}
    {% for group in sidebar_groups %}
    <h3>{{ group.app }}</h3>
    <ul>
      {% for m in group.models %}
      <li><a href="/__admin/{{ m.table }}"{% if m.active %} class="active"{% endif %}>{{ m.name }}</a></li>
      {% endfor %}
    </ul>
    {% endfor %}
  {% else %}
    <p class="empty">No models registered.</p>
  {% endif %}
</aside>