Skip to content
out of date fork of deprecated repo - main dev repo is now vrchost/rooibos
ActionScript Python JavaScript HTML CSS Shell Other
Branch: dj_18WAT
Clone or download
Pull request Compare This branch is 226 commits ahead, 137 commits behind knabar:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Code Issues Code Issues detected by Quantified Code - check them if you're looking for something to fix

Gitter Chat/ask questions/etc - don't be shy!

Madison Digial Image Database (MDID)

The Madison Digital Image Database is a free, open source media repo aimed at education spaces. It was created at James Madison University.

Django 1.8.x upgrade - clone to a new directory

Status: Currently in a "for developers only/get it running" state - will work on an existing mdid3 installation's database, although obvs don't run it against a production database.

This branch has the potential to mess up the organization of a django 1.2.7 based branch, so git clone to separate directory for testing

I'm currently running it on OS X but I tried to make any settings changes as generic as possible (I made most if not all directories set relative to PROJECT_ROOT)

setting up

I'd recommend making a fresh virtual env with python 2.7.x so everything has that 'oh-so-fresh' feeling!

I've been developing/testing this fork with an export of a production database and I haven't hit a snag, so right on!

big change notes

  • Switched static files to the staticfiles app, so a good start for running against an already existing database after setting up your virtualenv is:
pip install -f requirements.txt
./ collectstatic
./ migrate --fake-initial
./ runserver
  • Note that as of Django 1.7 migrations are a requirement, so you must run the `./ migrate' command before starting or... bad things, I guess. The repo includes an untested, pre-generated migrations file so installation should not have to involve If you are working with a pre-existing database copy (please please do not run this against your production data!) you should use this command:
./ migrate --fake-initial
  • Following the newer django convention, moved the main app files to a 'project' directory, and followed Jeff Knupp's advice that this is really a 'config' directory, so settings file plus the main urls & wsgi files are in the PROJECT_ROOT/config directory, collected staticfiles are in PROJECT_ROOT/static, and local templates are in PROJECT_ROOT/templates.

  • A goal is to get anything in rooibos.contrib out of that dir and to use the requirements.txt file to install libraries in the standard way (or remove them if no longer needed e.g. django-logging).

    • backends
    • cloudfiles
    • compressor
    • django_extensions
    • djangologging
    • google_analytics * (note this library may need a replacement found)
    • impersonate
    • pagination
    • pyPdf
    • south
    • sql_server
    • tagging
You can’t perform that action at this time.