Skip to content

Conversation

@timgraham
Copy link
Collaborator

@timgraham timgraham commented Sep 16, 2025

No description provided.

@timgraham timgraham marked this pull request as ready for review September 19, 2025 19:31
DATABASES = {
'default': {
'ENGINE': 'django_mongodb_backend',
'HOST': 'mongodb://localhost:27017/',
Copy link
Collaborator

@aclark4life aclark4life Sep 19, 2025

Choose a reason for hiding this comment

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

Did I notice correctly recently that HOST can be omitted and localhost is chosen by default? If so, probably OK? If not, never mind.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Correct. I raised that at: mongodb-labs/django-mongodb-project#15 (comment). This example is the old template and the new one. We could replace "localhost:27017" with "..." if that seems better.

Copy link
Collaborator

@aclark4life aclark4life Sep 19, 2025

Choose a reason for hiding this comment

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

Got it, cool. I'd say let's leave it for now since we're trying to emphasize HOST=URI. Maybe we'll update the project template later to only include the ENGINE and document the other options.

@aclark4life aclark4life self-requested a review September 19, 2025 20:40
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.

3 participants