Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

Django models for the Redmine database.

Project description

PyPI Version

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...

Project details


Release history Release notifications

This version
History Node

0.3

History Node

0.2

History Node

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
django-redmine-models-0.3.tar.gz (5.9 kB) Copy SHA256 hash SHA256 Source None Feb 16, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page