# creativetimofficial/argon-dashboard-django architecture

> Architecture diagram of the GitHub repository creativetimofficial/argon-dashboard-django, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-03). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/creativetimofficial/argon-dashboard-django
- Repository: https://github.com/creativetimofficial/argon-dashboard-django

## Overview

Argon Dashboard Django is a Django admin-dashboard template. The main user journey is registration or login, followed by access to authenticated dashboard pages rendered from HTML templates; invalid page templates fall back to error pages. Authentication forms and Django’s session-based auth are the main internal layer. The README also describes the Argon UI kit and SQLite ORM configuration. Connections to presentation assets and shared layouts are documented at a high level, but their runtime wiring was not sampled, so those links are marked unverified.

Main entry points: [`apps/templates/home`](https://github.com/creativetimofficial/argon-dashboard-django/tree/master/apps/templates/home) (Dashboard Templates), [`apps/authentication/views.py`](https://github.com/creativetimofficial/argon-dashboard-django/blob/master/apps/authentication/views.py) (Auth Views), [`core/settings.py`](https://github.com/creativetimofficial/argon-dashboard-django/blob/master/core/settings.py) (Django Settings), [`core/urls.py`](https://github.com/creativetimofficial/argon-dashboard-django/blob/master/core/urls.py) (URL Router)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_routing["Request Routing"]
  node_url_router["URL Router<br/>[urls.py]"]
  node_auth_routes["Auth Routes<br/>[urls.py]"]
  node_home_routes["Home Routes<br/>[urls.py]"]
end

subgraph group_identity["Authentication"]
  node_auth_views["Auth Views<br/>[views.py]"]
  node_auth_forms["Auth Forms<br/>[forms.py]"]
  node_django_auth["Django Auth"]
end

subgraph group_dashboard["Dashboard UI"]
  node_home_views["Page Views<br/>[views.py]"]
  node_account_templates["Account Templates"]
  node_dashboard_templates["Dashboard Templates"]
  node_shared_templates["Shared Layouts"]
  node_shared_includes["Page Includes"]
  node_argon_assets["Argon UI Assets"]
end

subgraph group_runtime["Application Runtime"]
  node_settings["Django Settings<br/>[settings.py]"]
  node_sqlite[("SQLite Database<br/>[settings.py]")]
end

node_visitor(("Visitor"))

node_visitor -->|"sends request"| node_url_router
node_url_router -->|"includes routes"| node_auth_routes
node_url_router -->|"includes routes"| node_home_routes
node_auth_routes -->|"routes to"| node_auth_views
node_home_routes -->|"routes to"| node_home_views
node_auth_views -->|"validates with"| node_auth_forms
node_auth_views -->|"authenticates and logs in"| node_django_auth
node_auth_views -->|"renders"| node_account_templates
node_home_views -->|"loads and renders"| node_dashboard_templates
node_home_views -->|"requires login"| node_visitor
node_settings -->|"configures database"| node_sqlite
node_settings -->|"configures template directory"| node_dashboard_templates
node_settings -->|"configures static files"| node_argon_assets
node_dashboard_templates -.->|"extends layout"| node_shared_templates
node_dashboard_templates -.->|"uses includes"| node_shared_includes
node_dashboard_templates -.->|"uses UI assets"| node_argon_assets

click node_url_router "https://github.com/creativetimofficial/argon-dashboard-django/blob/master/core/urls.py"
click node_auth_routes "https://github.com/creativetimofficial/argon-dashboard-django/blob/master/apps/authentication/urls.py"
click node_home_routes "https://github.com/creativetimofficial/argon-dashboard-django/blob/master/apps/home/urls.py"
click node_auth_views "https://github.com/creativetimofficial/argon-dashboard-django/blob/master/apps/authentication/views.py"
click node_auth_forms "https://github.com/creativetimofficial/argon-dashboard-django/blob/master/apps/authentication/forms.py"
click node_home_views "https://github.com/creativetimofficial/argon-dashboard-django/blob/master/apps/home/views.py"
click node_account_templates "https://github.com/creativetimofficial/argon-dashboard-django/tree/master/apps/templates/accounts"
click node_dashboard_templates "https://github.com/creativetimofficial/argon-dashboard-django/tree/master/apps/templates/home"
click node_shared_templates "https://github.com/creativetimofficial/argon-dashboard-django/tree/master/apps/templates/layouts"
click node_shared_includes "https://github.com/creativetimofficial/argon-dashboard-django/tree/master/apps/templates/includes"
click node_argon_assets "https://github.com/creativetimofficial/argon-dashboard-django/tree/master/apps/static/assets"
click node_settings "https://github.com/creativetimofficial/argon-dashboard-django/blob/master/core/settings.py"
click node_sqlite "https://github.com/creativetimofficial/argon-dashboard-django/blob/master/core/settings.py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_url_router,node_auth_routes,node_home_routes toneBlue
class node_auth_views,node_auth_forms,node_django_auth toneAmber
class node_home_views,node_account_templates,node_dashboard_templates,node_shared_templates,node_shared_includes,node_argon_assets toneMint
class node_settings,node_sqlite toneRose
class node_visitor toneIndigo
```

## Components

### Request Routing

- [URL Router](https://github.com/creativetimofficial/argon-dashboard-django/blob/master/core/urls.py): `core/urls.py`
- [Auth Routes](https://github.com/creativetimofficial/argon-dashboard-django/blob/master/apps/authentication/urls.py): `apps/authentication/urls.py`
- [Home Routes](https://github.com/creativetimofficial/argon-dashboard-django/blob/master/apps/home/urls.py): `apps/home/urls.py`

### Authentication

- [Auth Views](https://github.com/creativetimofficial/argon-dashboard-django/blob/master/apps/authentication/views.py): `apps/authentication/views.py`
- [Auth Forms](https://github.com/creativetimofficial/argon-dashboard-django/blob/master/apps/authentication/forms.py): `apps/authentication/forms.py`
- **Django Auth**

### Dashboard UI

- [Page Views](https://github.com/creativetimofficial/argon-dashboard-django/blob/master/apps/home/views.py): `apps/home/views.py`
- [Account Templates](https://github.com/creativetimofficial/argon-dashboard-django/tree/master/apps/templates/accounts): `apps/templates/accounts`
- [Dashboard Templates](https://github.com/creativetimofficial/argon-dashboard-django/tree/master/apps/templates/home): `apps/templates/home`
- [Shared Layouts](https://github.com/creativetimofficial/argon-dashboard-django/tree/master/apps/templates/layouts): `apps/templates/layouts`
- [Page Includes](https://github.com/creativetimofficial/argon-dashboard-django/tree/master/apps/templates/includes): `apps/templates/includes`
- [Argon UI Assets](https://github.com/creativetimofficial/argon-dashboard-django/tree/master/apps/static/assets): `apps/static/assets`

### Application Runtime

- [Django Settings](https://github.com/creativetimofficial/argon-dashboard-django/blob/master/core/settings.py): `core/settings.py`
- [SQLite Database](https://github.com/creativetimofficial/argon-dashboard-django/blob/master/core/settings.py): `core/settings.py`

### Other components

- **Visitor**

## Connections

- Visitor → URL Router: sends request (evidence: `README.md`)
- URL Router → Auth Routes: includes routes (evidence: `core/urls.py`)
- URL Router → Home Routes: includes routes (evidence: `core/urls.py`)
- Auth Routes → Auth Views: routes to (evidence: `apps/authentication/urls.py`)
- Home Routes → Page Views: routes to (evidence: `apps/home/urls.py`)
- Auth Views → Auth Forms: validates with (evidence: `apps/authentication/views.py`)
- Auth Views → Django Auth: authenticates and logs in (evidence: `apps/authentication/views.py`)
- Auth Views → Account Templates: renders (evidence: `apps/authentication/views.py`)
- Page Views → Dashboard Templates: loads and renders (evidence: `apps/home/views.py`)
- Page Views → Visitor: requires login (evidence: `apps/home/views.py`)
- Django Settings → SQLite Database: configures database (evidence: `core/settings.py`)
- Django Settings → Dashboard Templates: configures template directory (evidence: `core/settings.py`)
- Django Settings → Argon UI Assets: configures static files (evidence: `core/settings.py`)
- Dashboard Templates → Shared Layouts: extends layout
- Dashboard Templates → Page Includes: uses includes
- Dashboard Templates → Argon UI Assets: uses UI assets
