Skip to main content

Logo

OctopusDash

OctopusDash is a modern, open-source Django admin dashboard designed with a beautiful UI, powerful filtering, and granular permission control — crafted for developers and teams seeking more flexibility, clarity, and extensibility beyond the default Django admin.

⚡ OctopusDash is actively under development! Contributions, feedback, and feature requests are always welcome.


📸 Screenshots

Screenshot Screenshot Screenshot


✨ Key Features

Modern UI & UX

  • Clean, minimal design powered by TailwindCSS
  • Responsive, intuitive components
  • Smooth navigation optimized for productivity

Advanced Filtering & Search

  • Dynamic filters supporting related fields
  • Full-text search across customizable fields
  • Multi-field filtering for faster, precise data exploration

Granular Permission Control

  • Fine-grained access control by model, action, user, or group
  • Customizable admin classes enabling complex authorization logic

⚙️ Extensible & Pluggable

  • Easily add or override views, templates, and behaviors
  • Designed as a standalone Django app for maximum flexibility

🧩 Coming Soon

  • Plugin system to extend dashboards with new features
  • Widget support for custom charts, stats, and data cards

❓ Why OctopusDash?

While Django’s default admin is powerful, it often feels limited and outdated when your projects demand:

  • More granular control over user permissions and data visibility
  • Customizable dashboards tailored to real business needs
  • A clean, modern UI that enhances developer and user experience

OctopusDash addresses these with a fresh design, rich filtering options, and extensible architecture built from the ground up.


🏗️ How OctopusDash Was Built

Unlike many alternatives, OctopusDash is not just a skin or extension on top of Django’s default admin panel. Instead, it’s built from scratch to support ambitious features like plugins, custom widgets, auto API generation, and more.

This approach allows us to deeply understand Django’s internals while avoiding the constraints and limitations of the default admin — all without sacrificing Django’s powerful template system and generic views.


🛠 Installation

⚠ Requires Python 3.8+ and Django 4.x+

Install via pip:

pip install octopusdash

Add octopusdash to your INSTALLED_APPS:

INSTALLED_APPS = [
    'octopusdash',
    # ...
]

Include OctopusDash URLs in your project:

from django.urls import path, include

urlpatterns = [
    path('octopusdash/', include('octopusdash.urls')),
    # ...
]

Add required middlewares:

MIDDLEWARE = [
    'octopusdash.middlewares.app.ViewErrorHandlerMiddleware',
    'octopusdash.middlewares.authentication.CheckAuthenticationMiddleware',
    # ...
]

Configure template context processors:

TEMPLATES = [
    {
        'BACKEND': 'django.template.backends.django.DjangoTemplates',
        'DIRS': [],
        'APP_DIRS': True,
        'OPTIONS': {
            'context_processors': [
                'django.template.context_processors.request',
                'django.contrib.auth.context_processors.auth',
                'django.contrib.messages.context_processors.messages',
                'octopusdash.context.global_context',
            ],
        },
    },
]

Add OctopusDash settings:

OCTOPUSDASH = {
    'dashboard_path': '/dashboard',
}

🚀 Quick Start

Example of registering your app and model admin:

from octopusdash.contrib import admin as od_admin
from .models import Post

app = od_admin.AppAdmin('home')

class PostAdmin(od_admin.ModelAdmin):
    model = Post
    list_display = ['title', 'content', 'is_active', 'author']

app.register_to_admin_panel(model_admin=PostAdmin)

Visit /dashboard/ after running the server.


⚡ Custom Actions

Define custom actions on your model admin:

class PostAdmin(od_admin.ModelAdmin):
    model = Post
    actions = ['set_to_active']

    @od_admin.action(desc="Change post state to active.")
    def set_to_active(self, queryset):
        for post in queryset:
            post.is_active = True

✏️ Inline Edit Support

Edit objects directly in the table using Django formsets:

class PostAdmin(od_admin.ModelAdmin):
    model = Post
    list_display = ('title', 'content', 'author', 'is_active')
    list_editable = ('title', 'author', 'is_active')

Note: Fields in list_editable must be included in list_display.


⚙️ ModelAdmin Attributes

  • manager: DashboardModelManager instance
  • model: Django model
  • list_display: fields to display
  • list_editable: fields editable inline
  • search_fields: fields to search
  • filter_fields: fields to filter
  • readonly_fields: non-editable fields
  • form_fields: fields in create/update view ('__all__' by default)

Note: Do not override methods in ModelAdmin as it follows a specific internal pattern.


📖 Documentation & Support

Documentation is in progress! Explore the code, open issues, and join the discussion.


🤝 Contributing

OctopusDash is open-source under the MIT license.
Contributions, feature requests, and bug reports are welcome.
Please ⭐ star the repo if you find it useful!


Made by husseinnaeemsec


Metadata

Release files for octopusdash 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for octopusdash 0.1.2
File Size Uploaded
octopusdash-0.1.2.tar.gz 158.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for octopusdash 0.1.2
File Interpreter ABI Platform
octopusdash-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 378.3 kB

Release files / octopusdash-0.1.2.tar.gz

Download URL octopusdash-0.1.2.tar.gz
Size 158.6 kB
Tags Source
SHA-256 checksum
How to use checksums
eb410cf516fa45ea6759c878de0f407b77fbac8ed955766390c2fdfbc2cf8329
BLAKE2b-256 checksum
How to use checksums
b781ba543db63ebfc6b5bf097ed3bc0a1639858dff3be5817f54aee9962bee4b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.3

Release files / octopusdash-0.1.2-py3-none-any.whl

Download URL octopusdash-0.1.2-py3-none-any.whl
Size 219.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cba36f5e5a750817a69d7e1b6665d06b61134c7052298ae3a3896d2047586d28
BLAKE2b-256 checksum
How to use checksums
7830bf2abaeff1eeb31386a7f217f117b8ac72638a30fc53493b1e13f9a8cd91
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page