Skip to content

Document using Django's ORM in other Python projects #35

Open
@LilyAcorn

Description

@LilyAcorn

Code of Conduct

  • 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

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status

    Idea refinement - Team creation - For approval

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions