# Django ORM vs GORM

| Attribute | Django ORM | GORM |
|---|---|---|
| **Vioscale score** | 72.1 (33% (low)) | 50.7 (49% (low)) |
| activity.commits_last_30d | 73 | 0 |
| adoption.dependent_repos | 114,817 | 22,361 |
| adoption.github_stars | 88,955 | 39,928 |
| deployment.options | `{"self_hosted":true}` | `{"self_hosted":true}` |
| description.long | Django provides a database-abstraction API for structuring and manipulating application data through an object-relational mapping layer. It enables creation, retrieval, updating, and deletion of database objects using Python models. | GORM is a free ORM library for Go that simplifies database operations through an intuitive API, supporting multiple database systems, advanced querying, schema migrations, and relationship management. |
| features.capabilities | `{"raw_sql":true,"multi_db":true,"languages":"Python","relations":true,"migrations":true,"type_safe_queries":true}` | `{"raw_sql":true,"multi_db":true,"languages":"Go","relations":true,"migrations":true,"studio_gui":false,"schema_first":false,"type_safe_queries":true,"connection_pooling":true}` |
| integrations.count | - | 4 |
| integrations.list | - | `[{"name":"SQLite"},{"name":"PostgreSQL"},{"name":"MySQL"},{"name":"GaussDB"}]` |
| language.primary | Python | Go |
| license.spdx | BSD-3-Clause | MIT |
| platform.support | `{"cli":true,"web":true}` | - |
| pricing | `{"type":"open_source","sourceUrl":"https://docs.djangoproject.com/en/stable/topics/db/queries/","retrievedAt":"2026-08-14T09:19:25.676Z"}` | `{"type":"open_source","freeTier":true,"sourceUrl":"https://gorm.io","retrievedAt":"2026-08-14T08:30:27.529Z"}` |
| pricing.free_tier | yes | yes |
| pricing.model | open_source | open_source |
| pricing.price_level | free | free |
| pricing.transparent | yes | - |
| release.cadence_days | - | 18 |
| release.history | - | `[{"url":"https://github.com/go-gorm/gorm/releases/tag/v1.31.2","date":"2026-06-25T07:21:23Z","type":"stable","version":"v1.31.2"},{"url":"https://github.com/go-gorm/gorm/releases/tag/v1.31.1","date":"2025-11-02T14:12:23Z","type":"stable","version":"v1.31.1"},{"url":"https://github.com/go-gorm/gorm/releases/tag/v1.31.0","date":"2025-09-12T06:51:58Z","type":"stable","version":"v1.31.0"},{"url":"https://github.com/go-gorm/gorm/releases/tag/v1.30.5","date":"2025-09-08T11:22:17Z","type":"stable","version":"v1.30.5"},{"url":"https://github.com/go-gorm/gorm/releases/tag/v1.30.4","date":"2025-09-08T09:22:31Z","type":"stable","version":"v1.30.4"},{"url":"https://github.com/go-gorm/gorm/releases/tag/v1.30.3","date":"2025-09-04T13:16:17Z","type":"stable","version":"v1.30.3"},{"url":"https://github.com/go-gorm/gorm/releases/tag/v1.30.2","date":"2025-08-28T06:10:24Z","type":"stable","version":"v1.30.2"},{"url":"https://github.com/go-gorm/gorm/releases/tag/v1.30.1","date":"2025-07-24T02:38:58Z","type":"stable","version":"v1.30.1"},{"url":"https://github.com/go-gorm/gorm/releases/tag/v1.30.0","date":"2025-05-25T07:43:14Z","type":"stable","version":"v1.30.0"},{"url":"https://github.com/go-gorm/gorm/releases/tag/v1.26.1","date":"2025-05-07T06:59:25Z","type":"stable","version":"v1.26.1"},{"url":"https://github.com/go-gorm/gorm/releases/tag/v1.26.0","date":"2025-04-25T08:23:45Z","type":"stable","version":"v1.26.0"},{"url":"https://github.com/go-gorm/gorm/releases/tag/v1.21.0","date":"2021-03-04T11:37:30Z","type":"stable","version":"v1.21.0"}]` |
| security.disclosure_policy | yes | - |
| security.scorecard | 6.6 | 4.3 |
| security.vulnerabilities | `{"count":100,"source":"https://advisories.ecosyste.ms/api/v1/advisories?ecosystem=pypi&package_name=django&per_page=100","last_12m":31,"max_severity":"CRITICAL"}` | `{"count":0,"source":"https://advisories.ecosyste.ms/api/v1/advisories?ecosystem=go&package_name=gorm.io%2Fgorm&per_page=100","last_12m":0,"max_severity":null}` |

## Capabilities (ORM & Database Tools)

| Capability | Django ORM | GORM |
|---|:--:|:--:|
| **Core** |  |  |
| Type-safe queries | ✓ | ✓ |
| Schema migrations | ✓ | ✓ |
| Relations / joins API | ✓ | ✓ |
| Languages | Python | Go |
| **Modelling** |  |  |
| Schema-first modelling | - | ✗ |
| **Flexibility** |  |  |
| Raw SQL escape hatch | ✓ | ✓ |
| **Portability** |  |  |
| Multiple database backends | ✓ | ✓ |
| **Ops** |  |  |
| Connection pooling | - | ✓ |
| **DX** |  |  |
| Data browser / studio | - | ✗ |

*Source: Vioscale. Generated 2026-09-01T16:41:39.695Z. "-" = undocumented, not absent.*
