Codync
무료 오픈소스 1:1 대안, Grok Bot과 Muse 대신
저장소 정보는 아직 수집하지 않았습니다.
아직 감지된 업데이트가 없습니다. 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.