Skip to content

Commit b62f015

Browse files
aclark4lifeJibola
andauthored
Update project_name/settings.py-tpl
Co-authored-by: Jib <[email protected]>
1 parent 30846b7 commit b62f015

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

project_name/settings.py-tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ WSGI_APPLICATION = '{{ project_name }}.wsgi.application'
7676
# https://docs.djangoproject.com/en/{{ docs_version }}/ref/settings/#databases
7777

7878
DATABASES = {}
79-
DATABASES["default"] = django_mongodb.parse_uri("mongodb://localhost/{{ project_name }}")
79+
DATABASES["default"] = django_mongodb.parse_uri("mongodb://localhost:27017/{{ project_name }}")
8080

8181
# Password validation
8282
# https://docs.djangoproject.com/en/{{ docs_version }}/ref/settings/#auth-password-validators

0 commit comments

Comments
 (0)