django-redmine-models
Using django-redmine-models
Define the database parameters as usual in the DATABASES setting then add:
REDMINE_DATABASE = "the-redmine-db-key-in-DATABASES"
and define (or add) the database router:
DATABASE_ROUTERS = ["redmine_models.routers.DatabaseRouter"]
By default, it is supposed that an external redmine service is being accessed, and thus the models are unmanaged. If that’s not desired, e.g. for testing you want the test tables to be created automatically, use the following setting:
REDMINE_MODELS_MANAGED = True
Then use the models:
from redmine_models.models import Project print Project.objects.all() # etc...
Metadata
Release files for django-redmine-models 0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django-redmine-models-0.3.tar.gz | 5.9 kB | Without provenance | Details for django-redmine-models-0.3.tar.gz |
Release files / django-redmine-models-0.3.tar.gz
| Download URL | django-redmine-models-0.3.tar.gz |
|---|---|
| Size | 5.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2e811d97f34756da0e503bb34f13d8ab5fba77e6b64b285771e2bd6a1a235629
|
|
BLAKE2b-256 checksum How to use checksums |
8061bb4505039797fe83f5cae73a3fb379a7683385d6eb5716cae5d9dd160f9a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for django-redmine-models 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.