Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create README.md #5

Merged
merged 3 commits into from
Jan 14, 2025
Merged

Create README.md #5

merged 3 commits into from
Jan 14, 2025

Conversation

Jibola
Copy link
Collaborator

@Jibola Jibola commented Jan 13, 2025

No description provided.

@Jibola Jibola requested a review from aclark4life January 13, 2025 22:54
@@ -0,0 +1,26 @@
# Django MongoDB Project Template

This is the starter template for the Django-MongoDB Backend. In order to use, with your version of `django-mongodb-backend` and `django`:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Django MongoDB Backend" or django-mongodb-backend probably


Below is an example:

For a project name `5_0_exmaple` that runs on `django==5.0.*`:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/5_0_exmaple/5_0_example


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

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


This is the starter template for the Django-MongoDB Backend. In order to use, with your version of `django-mongodb-backend` and `django`:

* Find your Django version. To do so from the command line, make sure you have django installed and type:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NIT: Django or django

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

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

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably would prefer django-admin startproject mysite --template https://github.com/mongodb-labs/django-mongodb-project/archive/refs/heads/main.zip (or 5.0.x.zip if we create branches).

Copy link
Collaborator

@aclark4life aclark4life left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thx! Added comments

@aclark4life aclark4life merged commit fb6d64e into main Jan 14, 2025
0 of 3 checks passed
@aclark4life aclark4life deleted the README branch January 14, 2025 13:15
aclark4life added a commit that referenced this pull request Jan 14, 2025
* Update migrations per ObjectIdAutoField.deconstruct() (#2)

See mongodb-labs/django-mongodb-backend@a06efe3

* Use django_mongodb.parse_uri (#3)

* Use django_mongodb.parse_uri

* Update project_name/settings.py-tpl

Co-authored-by: Jib <[email protected]>

---------

Co-authored-by: Jib <[email protected]>

* Rename (#4)

* Rename (#6)

* Create README.md (#5)

* Create README.md

* Update README.md

* Update README.md

---------

Co-authored-by: Tim Graham <[email protected]>
Co-authored-by: Jib <[email protected]>
Co-authored-by: Jib <[email protected]>
aclark4life added a commit that referenced this pull request Jan 14, 2025
* Update migrations per ObjectIdAutoField.deconstruct() (#2)

See mongodb-labs/django-mongodb-backend@a06efe3

* Use django_mongodb.parse_uri (#3)

* Use django_mongodb.parse_uri

* Update project_name/settings.py-tpl

Co-authored-by: Jib <[email protected]>

---------

Co-authored-by: Jib <[email protected]>

* Rename (#4)

* Rename (#6)

* Create README.md (#5)

* Create README.md

* Update README.md

* Update README.md

* Readme fixes (#8)

---------

Co-authored-by: Tim Graham <[email protected]>
Co-authored-by: Jib <[email protected]>
Co-authored-by: Jib <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants