Installation¶
To install the latest version of django_dicom, simply run:
pip install django_dicom
Once installed:
Add django_dicom to the INSTALLED_APPS:
INSTALLED_APPS = [ ... 'django_dicom', ]Include django_dicom’s URLs:
urlpatterns = [ ... path("api/", include("django_dicom.urls", namespace="dicom")), ]
Create the database tables:
python manage.py migrate django_dicomWarning
django_dicom can only integrate with a PostgreSQL database. In order to set-up your project with PostgreSQL follow this DjangoGirls tutorial.
- Start the development server and visit http://127.0.0.1:8000/admin/ or http://127.0.0.1:8000/dicom/.