mirror of
https://github.com/vinta/awesome-python.git
synced 2026-03-22 06:02:02 -05:00
[PR #1230] [CLOSED] Adds DJ-Models (Pluggable Django ORM) #1099
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/vinta/awesome-python/pull/1230
Author: @iMerica
Created: 2/16/2019
Status: ❌ Closed
Base:
master← Head:master📝 Commits (2)
8e0ab41Update README.mdf031545Update README.md📊 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.