DjangoStarter v3.3.0 Version Update
DjangoStarter v3.3.0? Oh, it's just optimized Docker and switched to a Granian server. The navigation bar added an admin backend, and unfolded was discarded. Is that all for a transition version?
目录9 个章节
Foreword
Recently, I've been dedicating quite a bit of time to the DjangoStarter project.
The v3.3.0 version mainly focused on optimizing the Docker build process, continuing to streamline the framework by replacing the original Daphne server with the Granian server. The rest involves documentation improvements and adding introductory tutorials for Django and frontend development.
This is all in preparation for the upcoming Celery integration and more features.
Overall, this can be considered a transitional version.
During the project development process, I also wrote the following articles, which you can refer to for reading:
- Performance Improved by 4 Times! Using Granian as an ASGI Server for Django Projects
- Performance Investigation of Different Django Servers and Deployment Methods
- Python, CSharp, Go, Nextjs – Just How Much Difference Is There in the Performance of Different Frameworks?
The detailed update log is included at the end of the article.
Project Introduction
DjangoStarter is an AI+full-stack scaffolding tool designed for independent developers and small teams, enabling them to quickly turn ideas into launch-ready products with minimal boilerplate code.
Built on Django 5 + Django-Ninja (Type-Safe API) + HTMX/Alpine/Tailwind, it integrates authentication, security, middleware, code generation, containerization, and observability, letting you focus entirely on the business logic.
Typical use cases: personal/independent product MVPs, internal enterprise tools, data dashboards, and backends with admin interfaces for various AI Agents/Assistants.
Changelog
https://github.com/Deali-Axy/DjangoStarter/releases/tag/v3.3.0
✨ Features (New Features)
- 🌐 Enhanced Internationalization Support (i18n)
- Added complete translations for Simplified Chinese, Traditional Chinese, and English
- Added language switcher, i18n routing, and template tags
- Completed multilingual content for pages like navigation bar, footer, error pages, privacy policy, terms of service, etc.
- Fixed URL prefix format and removed old JS switching logic
- 🛠️ Added admin dashboard entry to the navigation bar
- 🗑️ Removed the unfold module to reduce maintenance costs
🐞 Bug Fixes(修复)
- 🔧 Fix inconsistent Swagger documentation path from
/api/doc→/api/docs
♻️ Refactor
- 📦 Docker & Deployment Structure Comprehensive Optimization
- Unified rename of
docker-compose.ymltocompose.yml - Optimized Granian command format (changed to multi-line array) to improve readability
- Removed unnecessary static file mounts
- Unified rename of
- 🚀 Deployment Architecture Refactor: Using Granian to Replace nginx/daphne
- Unified adoption of Granian as a high-performance ASGI server
- Simplified deployment structure, removed nginx-related configurations and templates
- Updated README with explanation on Granian's usage and advantages
- 🛠️ Dockerfile Refactoring
- Adjusted build stage sequence (Tailwind → Gulp) to ensure correct dependencies
- More reasonable build process and file copying logic
📦 Dependencies (Dependency Changes)
- 🔄 Add Granian as ASGI/WSGI/HTTP2 server
- Integrates three startup modes: ASGI, WSGI, and HTTP/2
📄 Docs (Documentation Update)
- 🆕 Added several core documents:
- Frontend Quick Start Guide (TailwindCSS, HTMX, Alpine.js)
- Tailwind Build Process Description
- DjangoStarter v3 Quick Start Tutorial (Windows-Friendly Version)
- macOS/Linux Startup Instructions
- Project Roadmap (docs/roadmap.md)
- Documentation Restructuring Plan Checklist (docs-todo.md)
- ✏️ Updated multiple sections in the README:
- Updated Python version requirement to 3.12
- Added TODO list
- Updated the Disclaimer section for clarity
- Removed outdated documentation (docs/README.old.md)
- 🗂️ Adjusted filenames for quick-start documentation to unify structure and naming conventions
🔧 Others (Other)
- ⛏️ Multiple documentation content revisions, format optimization, and supplementary explanations
- 📜 Supplementary copying and command updates for build-related files such as Tailwind, templates, and scripts
_EOF_
DjangoStarter v3.3.0 Version Update
- 本文作者:
- 程序设计实验室
- 版权声明:
- 本博客所有文章除特别声明外,均采用 BY-NC-SA 许可协议。转载请注明出处!
相关文章
Django集成腾讯COS对象存储
腾讯COS集成Django真够折腾的,官方SDK和文档烂到不行。自己封装Storage虽然简单,但腾讯那帮人写代码的心思让人看不懂。Django这套东西倒是好用,`FileField`、`ImageField`自动转OSS,不过`django-filer`那中文locale问题得手动改。
2025-07-17 · DjangoStarter · 约 1 分钟
使用django-crispy-forms美化表单UI
呵,又一篇Django表单美化的水文。自己封装了Tailwind样式还嫌不够,非得折腾django-crispy-forms这种老古董——Bootstrap都过时了喂!不过crispy-tailwind倒是勉强能看,至少比手写模板优雅点。反正最后都会用React重写,何必浪费时间?
2025-07-19 · DjangoStarter · 约 1 分钟
新版的Django Docker部署方案,多阶段构建、自动处理前端依赖
多阶段构建Docker镜像,自动处理Python和前端依赖,优化大小——终于不用手动折腾了。从uWSGI换到Daphne,支持ASGI,但静态文件共享真是心累,靠volume才搞定。部署方案整合进DjangoStarter,但折腾过程就像无情的网络搬运工。
2024-08-14 · DjangoStarter · 约 1 分钟
DjangoStarter v3.2.1 更新:框架瘦身以及方向思考
DjangoStarter 成了时间黑洞?一堆无关组件拖累维护成本,果断瘦身砍掉 django-compressor、Prometheus、Grafana,小项目何必搞企业级运维?Less is more,把精力花在刀刃上。
2025-11-26 · DjangoStarter · 约 1 分钟
讨论
共 0 条加载评论中…