Discussion
Loading...

Post

Log in
  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Paolo Melchiorre
Paolo Melchiorre
@paulox@fosstodon.org  ·  activity timestamp 5 days ago

I’ve just published the first article of a new series on my blog: “Django ORM standalone” 🧩

The idea is to use Django ORM in standalone mode to connect to existing or legacy databases and work only with the ORM, without the rest of Django, using inspectdb for reverse engineering the schema and querying data with Django QuerySets 🔎

If you’re curious about using Django ORM this way, here’s the link, and let me know what you think 💡
https://www.paulox.net/2026/02/20/django-orm-standalone-database-inspectdb-query/

#Django #Python #SQLite #ORM #Database

Paolo Melchiorre

Django ORM Standalone⁽¹⁾: Querying an existing database

A practical step-by-step guide to using Django ORM in standalone mode to connect to and query an existing database using inspectdb.
  • Copy link
  • Flag this post
  • Block

Kakapo Social

Kakapo Social: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.2-alpha.34 no JS en
Automatic federation enabled
Log in
Instance logo
  • Explore
  • About
  • Members
  • Code of Conduct