mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-17 13:55:08 +00:00
fix(lint): resolve pre-commit formatting
This commit is contained in:
parent
1b8ddeadfd
commit
ce1d7b301a
3 changed files with 6 additions and 1 deletions
|
|
@ -34,6 +34,7 @@ repos:
|
||||||
rev: v2.4.1
|
rev: v2.4.1
|
||||||
hooks:
|
hooks:
|
||||||
- id: codespell
|
- id: codespell
|
||||||
|
exclude: ^docs/pnpm-lock\.yaml$
|
||||||
args:
|
args:
|
||||||
- -L
|
- -L
|
||||||
- "ro"
|
- "ro"
|
||||||
|
|
|
||||||
|
|
@ -56,18 +56,22 @@ bench/
|
||||||
### Key Architectural Differences
|
### Key Architectural Differences
|
||||||
|
|
||||||
1. **Multi-tenancy**
|
1. **Multi-tenancy**
|
||||||
|
|
||||||
- Django: One app = one database (typically)
|
- Django: One app = one database (typically)
|
||||||
- Frappe: One installation = many sites, each with own database
|
- Frappe: One installation = many sites, each with own database
|
||||||
|
|
||||||
2. **Background Jobs**
|
2. **Background Jobs**
|
||||||
|
|
||||||
- Django: Requires Celery + Redis + worker setup
|
- Django: Requires Celery + Redis + worker setup
|
||||||
- Frappe: Built-in queue system, just use `enqueue()`
|
- Frappe: Built-in queue system, just use `enqueue()`
|
||||||
|
|
||||||
3. **Real-time**
|
3. **Real-time**
|
||||||
|
|
||||||
- Django: Requires Channels + Redis + ASGI setup
|
- Django: Requires Channels + Redis + ASGI setup
|
||||||
- Frappe: Socket.IO built-in, automatic for DocType updates
|
- Frappe: Socket.IO built-in, automatic for DocType updates
|
||||||
|
|
||||||
4. **Admin/Management**
|
4. **Admin/Management**
|
||||||
|
|
||||||
- Django: Admin for models, basic CRUD
|
- Django: Admin for models, basic CRUD
|
||||||
- Frappe: Full-featured Desk with reports, dashboards, permissions
|
- Frappe: Full-featured Desk with reports, dashboards, permissions
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue