-
Type:
Task
-
Resolution: Fixed
-
Priority:
Unknown
-
Affects Version/s: None
-
Component/s: django
-
None
Feedback from slack:
Some feedback I've heard from multiple people - people are using the parse_uri util function (awesome! very helpful!) but getting an error telling them they are missing NAME. This is because they are just copy and pasting the connection string from Atlas, and not editing it to include the name of their database. This error is confusing them.My thinking is either we (1) edit the util function to give a better error, basically we say if the thing following mongodb.net isn't /database_name we throw and more helpful error for them "You need to include the name of your database in your connection string... etc." or (2) we make the database name another required parameter, so they can just copy and paste the connection string from Atlas as they are already doing.