-
Notifications
You must be signed in to change notification settings - Fork 2
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
Conversation
@@ -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`: |
There was a problem hiding this comment.
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.*`: |
There was a problem hiding this comment.
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 | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't have any branches yet but in the meantime: https://github.com/mongodb-labs/django-mongodb-project/archive/refs/heads/main.zip
|
||
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: |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thx! Added comments
* 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]>
* 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]>
No description provided.