Daybook: a self-hosted, multi-user Django + DRF app where agents, scripts, or people publish artifacts and each logged-in user browses their own time-ordered, label-filterable feed. This squashes prior local development history (kept privately on a separate branch) into a single clean starting point for the public repository. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
15 lines
518 B
HTML
15 lines
518 B
HTML
{% extends "artifacts/settings_base.html" %}
|
|
|
|
{% block settings_content %}
|
|
<h2>Account</h2>
|
|
<p><strong>Username:</strong> {{ request.user.username }}</p>
|
|
|
|
<h3>API Token</h3>
|
|
<p>Use this token as <code>Authorization: Bearer <token></code> when posting artifacts.</p>
|
|
<p><code class="token-value">{{ token.key }}</code></p>
|
|
<form method="post">
|
|
{% csrf_token %}
|
|
<input type="hidden" name="action" value="regenerate">
|
|
<button type="submit">Regenerate Token</button>
|
|
</form>
|
|
{% endblock %}
|