We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bdc7efe commit b659da8Copy full SHA for b659da8
project_name/settings.py-tpl
@@ -79,6 +79,10 @@ DATABASES = {
79
"default": django_mongodb_backend.parse_uri("mongodb://localhost:27017/{{ project_name }}"),
80
}
81
82
+# Database routers
83
+# https://docs.djangoproject.com/en/dev/ref/settings/#database-routers
84
+DATABASE_ROUTERS = ["django_mongodb_backend.routers.MongoRouter"]
85
+
86
# Password validation
87
# https://docs.djangoproject.com/en/{{ docs_version }}/ref/settings/#auth-password-validators
88
0 commit comments