DjangoRedmineAdmin is a small django application whose models have been created to be compatible with the database structure created and used by redmine. You can hence browse the database through django admin/ site and/or provide django-powered dynamic pages on top of this data.
It is written by Thomas Capricelli.
The current code is written for django 1.3, and is compatible with database schemas for redmine 1.2.1. Though untested, it probably works well with ChiliProject
Code availability¶The source is hosted as a mercurial repository at http://sources.freehackers.org/DjangoRedmineAdmin/
From this url you can
- clone the repository to your computer by using
- download tarballs from the top
- browse the source code
Using the unix command line, cloning looks like:
hg clone http://sources.freehackers.org/DjangoRedmineAdmin/
You usually want to do that on a copy of the database, not the one in production, because several new tables will be created by Django to provide the admin features.Basically it goes like
- Configure the database in settings.py
./manage.py syncdbto create django stuff in it, most importantly your admin account
- start the development server
- connect to the admin site
If the database is sqlite3, the obvious way is to bring a copy of the file at the root of DjangoRedmineAdmin and configure settings.py to use it.
If the database is Mysql, my favourite way of doing is copying the database 'xxx' to xxx_django or xxx_dra and configure settings.py to use this one. Be very careful about this and do not use DjangoRedmineAdmin on your main database.