Skip to content

TheLabbingProject/django_mri

Repository files navigation

PyPI version PyPI status CircleCI Documentation Status codecov.io

django_mri

A django app to manage MRI data.

Currently only supports data in the DICOM format, and will soon also support NIfTI.

This app is being built and maintained as part of the pylabber project.

Quick start

  1. Add django_mri and django_dicom to your INSTALLED_APPS setting:
    INSTALLED_APPS = [
        ...
        'django_dicom',
        'django_mri',
    ]
  1. Include the dicom URLconf in your project urls.py:
    path("api/", include("django_mri.urls", namespace="mri")),

    # Optional:
    path("api/", include("django_dicom.urls", namespace="dicom")),
    # if you would like to also expose the django_dicom API.
  1. Run python manage.py migrate to create the dicom models.

  2. Start the development server and visit http://127.0.0.1:8000/admin/.

  3. Visit http://127.0.0.1:8000/mri/.