[PR #1230] [CLOSED] Adds DJ-Models (Pluggable Django ORM) #1099

Closed
opened 2025-11-06 13:09:14 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/vinta/awesome-python/pull/1230
Author: @iMerica
Created: 2/16/2019
Status: Closed

Base: masterHead: master


📝 Commits (2)

📊 Changes

1 file changed (+1 additions, -0 deletions)

View changed files

📝 README.md (+1 -0)

📄 Description

What is this Python project?

This project allows Python developers to use Django's ORM and declarative models in any synchronous Python web framework. I've published it to PyPI here.

What's the difference between this Python project and similar ones?

I'm not aware of another effort to excise Django's Models from the entire framework so that it can be used in a pluggable manner (similar to how Active Record can easily be used with Sinatra).

That said, DJ-Models definitely competes with SQLAlchemy. Anywhere you would begrudgingly choose Flask/Pyramid + SQLAlchemy, you can now choose Flask/Pyramid + DJ-Models.

Here's a demo app using Flask + Dj-Models.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/vinta/awesome-python/pull/1230 **Author:** [@iMerica](https://github.com/iMerica) **Created:** 2/16/2019 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (2) - [`8e0ab41`](https://github.com/vinta/awesome-python/commit/8e0ab414a8be1398f8f26e20ae7d578ac3efa50e) Update README.md - [`f031545`](https://github.com/vinta/awesome-python/commit/f0315459654145fa164f23013a16551c7f9e8421) Update README.md ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+1 -0) </details> ### 📄 Description ## What is this Python project? This project allows Python developers to use Django's ORM and declarative models in any synchronous Python web framework. I've published it to PyPI [here](https://pypi.org/project/DJModels/). ## What's the difference between this Python project and similar ones? I'm not aware of another effort to excise Django's Models from the entire framework so that it can be used in a pluggable manner (similar to how Active Record can easily be used with Sinatra). That said, DJ-Models definitely competes with SQLAlchemy. Anywhere you would begrudgingly choose Flask/Pyramid + SQLAlchemy, you can now choose Flask/Pyramid + DJ-Models. Here's a [demo app](https://github.com/iMerica/dj-models-demo) using Flask + Dj-Models. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-06 13:09:14 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/awesome-python#1099