Skip to content

darphiz/Django-ORM-Standalone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django Standalone ORM

Leverage the power and simplicity of the Django ORM in your non-web Python projects with ease.

Getting Started

Follow these steps to set up and use the Django ORM in your standalone Python project:

  1. Clone this project:

    git clone <repository_url>
  2. Connect to your database: Configure your database settings in the settings.py file as you would in any Django project.

  3. Write your models: Define your database models in database/models.py following the standard Django model syntax.

Importing the Models

You can import your models easily in your project files. Instead of the traditional way, you can now use:

from database import YourModelClass

About

Use the django ORMs in your python projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages