Skip to content
This repository was archived by the owner on Feb 10, 2026. It is now read-only.

mongodb-labs/django-mongodb-cli

Repository files navigation

django-mongodb-cli

About

For testing django-mongodb-backend with MongoDB's Django fork and third party libraries.

Note

MongoDB's Django fork is for testing django-mongodb-backend and is not a requirement for using django-mongodb-backend.

Installation

git clone https://github.com/mongodb-labs/django-mongodb-cli
cd django-mongodb-cli
python -m venv .venv
source .venv/bin/activate
just install

Usage

Repository Groups

The dm CLI now supports organizing repositories into groups for easier management:

# List available groups
dm repo clone --list-groups

# Clone all repositories in a group
dm repo clone --group django --install

# Show remotes for a single repository (auto-setup if not configured)
dm repo remote django

# Show remotes for all repos in a group (auto-setup if not configured)
dm repo remote --group django

# Set default branch for all repos in a group
dm repo set-default --group django

You can also use the simplified just commands:

just git-clone django
just git-remote django

See the documentation for more details.

Screenshots

image image image