Skip to content

Conversation

@timgraham
Copy link
Collaborator

@timgraham timgraham commented Sep 9, 2025

Probably the merge of this should be coordinated with the documentation update of the tutorial (among other places). [edit: it's done]

"default": django_mongodb_backend.parse_uri("mongodb://localhost:27017/{{ project_name }}"),
'default': {
'ENGINE': 'django_mongodb_backend',
'HOST': 'mongodb://localhost:27017/',
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

For this configuration, "HOST" isn't needed. 'mongodb://localhost:27017/' basically only serves as quasi-documentation to show that you can put a connection string here, but may give some wrong impressions, like the fact that a port is required, so maybe we should rethink this.

@timgraham timgraham merged commit e74553c into mongodb-labs:5.2.x Sep 15, 2025
@timgraham timgraham deleted the put-uri-in-host branch September 15, 2025 14:46
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