Installation

To install the latest version of django_dicom, simply run:

pip install django_dicom

Once installed:

  • Add django_dicom to the INSTALLED_APPS:

    settings.py
    INSTALLED_APPS = [
        ...
        'django_dicom',
    ]
    
  • Include django_dicom’s URLs:

urls.py
urlpatterns = [
    ...
    path("api/", include("django_dicom.urls", namespace="dicom")),
]
  • Create the database tables:

    python manage.py migrate django_dicom
    

Warning

django_dicom can only integrate with a PostgreSQL database. In order to set-up your project with PostgreSQL follow this DjangoGirls tutorial.