Codync
免费开源的 1:1 Grok Bot 与 Muse 替代方案。可在 iPhone、Mac 或 Linux 桌面上将 Claude 代码、Codex、Cursor 以及 40 多个编码代理作为持久机器人使用。支持群组聊天、线程、应用。
AI 翻译
尚未收集仓库信息。
尚未检测到更新。GitHub 发布版本后会显示在这里。
Modern & flexible Django admin
翻译准备中
取自仓库 README
正在加载完整 README。
查看完整 README ↗Django Content Studio is a modern alternative to the classic Django admin, with batteries included. Register the models you already have and manage them in a fast, modern admin, with optional fields and models for content-driven projects.
Documentation: djangocontentstudio.org
HTMLField and
TagField, and base models such as ContentModel and SingletonModel.Install the package:
pip install django-content-studio
Add the apps to your settings:
# mysite/settings.py
INSTALLED_APPS = [
"django.contrib.admin",
"django.contrib.auth",
"django.contrib.contenttypes",
"django.contrib.sessions",
"django.contrib.messages",
"django.contrib.staticfiles",
"rest_framework",
"content_studio",
"blog",
]
Mount the admin:
# mysite/urls.py
from django.urls import include, path
urlpatterns = [
path("admin/", include("content_studio.urls")),
]
Register a model in your app's admin.py:
# blog/admin.py
from content_studio import register
from content_studio.admin import ModelStudio
from .models import Article
@register(Article)
class ArticleStudio(ModelStudio):
table_display = ["title", "status", "published_at"]
list_filter = ["status"]
search_fields = ["title"]
Start the development server, open /admin/ and log in with a staff
account.
Continue with Getting started in the documentation.
CONTENT_STUDIO settingSee also Django Headless, if you need an API for your own clients.