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 许可协议。转载请注明出处!
相关文章
在 DjangoStarter 中集成 TailwindCSS
之前看到有个叫 `django-tailwind` 的 python包,不过可能配套的 `tailwind` 版本不方便更新,再加上 **DjangoStarter** 很早就使用 NPM 和 gulp 来管理前端静态资源了,所以还是手动来添加 tailwind 比较好。
2024-07-15 · DjangoStarter · 约 1 分钟
DeepSeek+Claude强强联手,使用AI驱动DjangoStarter 3.1框架升级
上个月底培训了一周就没时间更新博客 上周有一些空闲时间,就继续体验最近很火的AI辅助编程
2025-03-16 · DjangoStarter · 约 1 分钟
新版的Django Docker部署方案,多阶段构建、自动处理前端依赖
多阶段构建Docker镜像,自动处理Python和前端依赖,优化大小——终于不用手动折腾了。从uWSGI换到Daphne,支持ASGI,但静态文件共享真是心累,靠volume才搞定。部署方案整合进DjangoStarter,但折腾过程就像无情的网络搬运工。
2024-08-14 · DjangoStarter · 约 1 分钟
关于正在开发中的DjangoStarter v3版本
最近做的这个项目大量使用了 python 及其相关的生态,因此自然而然选择了我的 DjangoStarter 作为后端框架
2024-07-15 · DjangoStarter · 约 1 分钟
讨论
共 0 条加载评论中…