Skip to content

DATABASE_CLIENT_URL #3

@ghost

Description

Hi! Would you have an example on how the DATABASE_CLIENT_URL looks like?
I have it defined as below, and it is not working whatsoever (ValueError: Port must be an integer between 0 and 65535: 27017')
username = urllib.parse.quote_plus('xxxx')
password = urllib.parse.quote_plus('yyy')
CONNECTION_STRING = 'mongodb+srv://%s:%s@cluster0.ktjws.mongodb.net/test?retryWrites=true&w=majority' % (username, password)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions