Skip to content

Django Project Setup

Getting setup with ORMBridge takes less than 10 minutes

This guide walks you through setting up a Django project for use with ORMBridge, whether you're starting from scratch or using an existing project.

Create a New Project

If you're creating a new project from scratch, start by installing Django and creating a new project:

bash
# Install Django
pip install django

# Create new project
django-admin startproject backend
cd backend

Install Django REST Framework

ORMBridge requires Django REST Framework (DRF). Ensure it's installed and configured:

bash
# Install DRF
pip install djangorestframework

Then add it to your INSTALLED_APPS in your settings file (typically settings.py or common.py):

python
INSTALLED_APPS = [
    # Default Django apps...
    'django.contrib.admin',
    'django.contrib.auth',
    'django.contrib.contenttypes',
    'django.contrib.sessions',
    'django.contrib.messages',
    'django.contrib.staticfiles',
    # Third-party apps
    'rest_framework',
    # Your apps will go here...
]

Once DRF is confirmed to be installed and configured, you can move on to the next steps for setting up ORMBridge and additional packages.

Not MIT Licensed - See Licensing section for details