Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 896 Bytes

README.md

File metadata and controls

28 lines (20 loc) · 896 Bytes

Django MongoDB Backend - Project Template

This is a Django project starter template for the Django MongoDB Backend. In order to use it with your version of Django:

  • Find your Django version. To do so from the command line, make sure you have Django installed and run:
django-admin --version
>> 5.0

Create the Django project

From your shell, run the following command to create a new Django project replacing the {{ project_name }} and {{ version }} sections.

django-admin startproject {{ project_name }} --template https://github.com/mongodb-labs/django-mongodb-project/archive/refs/heads/{{ version }}.x.zip

For a project named 5_0_example that runs on django==5.0.* the command would look like this:

django-admin startproject 5_0_example --template https://github.com/mongodb-labs/django-mongodb-project/archive/refs/heads/5.0.x.zip