django / django/new-features

Document using Django's ORM in other Python projects

Open
#35 5 comments 28 reactions 0 assignees View on GitHub
Documentation
Dominant language
No language data
Stars
188
Forks
7
PR merge metrics
No merged PRs in 30d

Description

### Code of Conduct

- [x] I agree to follow Django's Code of Conduct

### Feature Description

There's a long standing desire to make the ORM easier to use outside of a regular Django project. (Script usage for example.) Django should explicitly support this use-case, and provide documentation to guide users.

### Problem

While it is possible to use the Django ORM without much of Django's other machinery already, there is still some minimal configuration with settings and calling `django.setup()`. The necessary configuration is difficult to discover, so many users find it difficult to get started or don't think it's possible.

### Request or proposal

request

### Additional Details

Extracting the ORM into a separate package is proposed in #6. This proposal is for an easier step that may satisfy the majority of use-cases. It will also provide a clearer backdrop for pursuing changes to make using the ORM in external projects easier.

### Implementation Suggestions

_No response_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.