dj-mongohq-url
This simple Django utility allows you to utilize the 12factor inspired MONGOURL_URL environment variable to configure your Django application.
This is a slight adaptation of the dj-database-url by Kenneth Reitz (http://github.com/kennethreitz/dj-database-url/). It is compatible with django-nonrel and can be used to dig up the URL setting for other purposes as well.
Usage
Configure your database in settings.py from DATABASE_URL:
DATABASES = {'default': dj_mongohq_url.config()}
Parse an arbitrary Database URL:
DATABASES = {'default': dj_mongohq_url.parse('mongodb://...')}
If you are not using Django with nonrel capabilities and merely want to dig up the MongoDB settings, use another variable:
MONGODB = dj_mongohq_url.config()
Supported databases
Support currently exists for MongoDB.
Metadata
Release files for dj-mongohq-url 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dj_mongohq_url-0.0.3-py2-none-any.whl | Python 2 | none | any | Details for dj_mongohq_url-0.0.3-py2-none-any.whl |
Release files / dj_mongohq_url-0.0.3-py2-none-any.whl
| Download URL | dj_mongohq_url-0.0.3-py2-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
99277cd6826280875b8fc34c5df2ef7e0bf1ef87f33b6e983e0fc339b05640fe
|
|
BLAKE2b-256 checksum How to use checksums |
2ee5be2b8cce2ad9fcdf174aaeb566a6fc1781ff678468f8b185a7b008024652
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for dj-mongohq-url 0.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.