pylabber package

Module contents

Submodules

pylabber.settings module

Django settings for pylabber project.

For more information on this file, see https://docs.djangoproject.com/en/dev/topics/settings/

For the full list of settings and their values, see https://docs.djangoproject.com/en/dev/ref/settings/

pylabber.settings.DICOM_IMPORT_MODE = 'minimal'

Prevent the creation of DICOM data elements in the database.

pylabber.settings.ENABLE_COUNT_FILTERING = False

Do not annotate querysets with related model counts which drastically slows down queries.

pylabber.test_settings module

pylabber.urls module

pylabber URL Configuration

The urlpatterns list routes URLs to views.

Examples: * Function views

  1. Add an import: from my_app import views
  2. Add a URL to urlpatterns: path(‘’, views.home, name=’home’)
  • Class-based views
    1. Add an import: from other_app.views import Home
    2. Add a URL to urlpatterns: path(‘’, Home.as_view(), name=’home’)
  • Including another URLconf
    1. Import the include() function: from django.urls import include, path
    2. Add a URL to urlpatterns: path(‘blog/’, include(‘blog.urls’))
pylabber.urls.path(route, view, kwargs=None, name=None, *, Pattern=<class 'django.urls.resolvers.RoutePattern'>)

pylabber.utils module

pylabber.wsgi module

WSGI config for pylabber project.

It exposes the WSGI callable as a module-level variable named application.

For more information on this file, see https://docs.djangoproject.com/en/2.0/howto/deployment/wsgi/