NoReverseMatch at /admin/td_infant/infantoffstudy/add/

Reverse for 'subject_dashboard_url' with arguments '()' and keyword arguments '{'section_name': None}' not found. 6 pattern(s) tried: ['td/dashboard/(?P<dashboard_type>infant)/(?P<dashboard_model>household_member|visit|appointment|registered_subject|infant_birth)/(?P<dashboard_id>[\\w]{8}-[\\w]{4}-[\\w]{4}-[\\w]{4}-[\\w]{12})/$', 'td/dashboard/(?P<dashboard_type>infant)/(?P<dashboard_model>household_member|visit|appointment|registered_subject|infant_birth)/(?P<dashboard_id>[\\w]{8}-[\\w]{4}-[\\w]{4}-[\\w]{4}-[\\w]{12})/(?P<show>appointments|forms)/$', 'td/dashboard/(?P<dashboard_type>infant)/(?P<dashboard_model>household_member|visit|appointment|registered_subject|infant_birth)/(?P<dashboard_id>[\\w]{8}-[\\w]{4}-[\\w]{4}-[\\w]{4}-[\\w]{12})/(?P<show>appointments|forms)/(?P<appointment_code>2000|2010|2030|2060|2090|2120)/$', 'td/dashboard/(?P<dashboard_type>maternal)/(?P<dashboard_model>household_member|visit|appointment|registered_subject|maternal_eligibility)/(?P<dashboard_id>[\\w]{8}-[\\w]{4}-[\\w]{4}-[\\w]{4}-[\\w]{12})/$', 'td/dashboard/(?P<dashboard_type>maternal)/(?P<dashboard_model>household_member|visit|appointment|registered_subject|maternal_eligibility)/(?P<dashboard_id>[\\w]{8}-[\\w]{4}-[\\w]{4}-[\\w]{4}-[\\w]{12})/(?P<show>appointments|forms)/$', 'td/dashboard/(?P<dashboard_type>maternal)/(?P<dashboard_model>household_member|visit|appointment|registered_subject|maternal_eligibility)/(?P<dashboard_id>[\\w]{8}-[\\w]{4}-[\\w]{4}-[\\w]{4}-[\\w]{12})/(?P<show>appointments|forms)/(?P<appointment_code>1000M|1100M|1200M|1600M|2200M|2800M|3400M|4000M|4600M)/$']
Request Method: POST
Request URL: http://127.0.0.1:9000/admin/td_infant/infantoffstudy/add/?next=subject_dashboard_url&dashboard_type=infant&dashboard_model=visit&dashboard_id=77b6c8a5-cee4-45bf-a61d-9994b434d5e3&show=forms&registered_subject=1869b5f5-1b99-49fb-b802-f84b7167f5b1&infant_visit=77b6c8a5-cee4-45bf-a61d-9994b434d5e3&visit_attr=infant_visit&entry_order=0&group_title=None
Django Version: 1.9.2
Exception Type: NoReverseMatch
Exception Value:
Reverse for 'subject_dashboard_url' with arguments '()' and keyword arguments '{'section_name': None}' not found. 6 pattern(s) tried: ['td/dashboard/(?P<dashboard_type>infant)/(?P<dashboard_model>household_member|visit|appointment|registered_subject|infant_birth)/(?P<dashboard_id>[\\w]{8}-[\\w]{4}-[\\w]{4}-[\\w]{4}-[\\w]{12})/$', 'td/dashboard/(?P<dashboard_type>infant)/(?P<dashboard_model>household_member|visit|appointment|registered_subject|infant_birth)/(?P<dashboard_id>[\\w]{8}-[\\w]{4}-[\\w]{4}-[\\w]{4}-[\\w]{12})/(?P<show>appointments|forms)/$', 'td/dashboard/(?P<dashboard_type>infant)/(?P<dashboard_model>household_member|visit|appointment|registered_subject|infant_birth)/(?P<dashboard_id>[\\w]{8}-[\\w]{4}-[\\w]{4}-[\\w]{4}-[\\w]{12})/(?P<show>appointments|forms)/(?P<appointment_code>2000|2010|2030|2060|2090|2120)/$', 'td/dashboard/(?P<dashboard_type>maternal)/(?P<dashboard_model>household_member|visit|appointment|registered_subject|maternal_eligibility)/(?P<dashboard_id>[\\w]{8}-[\\w]{4}-[\\w]{4}-[\\w]{4}-[\\w]{12})/$', 'td/dashboard/(?P<dashboard_type>maternal)/(?P<dashboard_model>household_member|visit|appointment|registered_subject|maternal_eligibility)/(?P<dashboard_id>[\\w]{8}-[\\w]{4}-[\\w]{4}-[\\w]{4}-[\\w]{12})/(?P<show>appointments|forms)/$', 'td/dashboard/(?P<dashboard_type>maternal)/(?P<dashboard_model>household_member|visit|appointment|registered_subject|maternal_eligibility)/(?P<dashboard_id>[\\w]{8}-[\\w]{4}-[\\w]{4}-[\\w]{4}-[\\w]{12})/(?P<show>appointments|forms)/(?P<appointment_code>1000M|1100M|1200M|1600M|2200M|2800M|3400M|4000M|4600M)/$']
Exception Location: /home/django/.virtualenvs/tshilo_dikotla/lib/python3.5/site-packages/django/core/urlresolvers.py in _reverse_with_prefix, line 508
Python Executable: /home/django/.virtualenvs/tshilo_dikotla/bin/python3.5
Python Version: 3.5.2
Python Path:
['/home/django/.virtualenvs/tshilo_dikotla/lib/python3.5/site-packages/git/ext/gitdb',
 '/home/django/source/bhp085',
 '/home/django/.virtualenvs/tshilo_dikotla/bin',
 '/home/django/.virtualenvs/tshilo_dikotla/lib/python35.zip',
 '/home/django/.virtualenvs/tshilo_dikotla/lib/python3.5',
 '/home/django/.virtualenvs/tshilo_dikotla/lib/python3.5/plat-x86_64-linux-gnu',
 '/home/django/.virtualenvs/tshilo_dikotla/lib/python3.5/lib-dynload',
 '/usr/lib/python3.5',
 '/usr/lib/python3.5/plat-x86_64-linux-gnu',
 '/home/django/.virtualenvs/tshilo_dikotla/lib/python3.5/site-packages',
 '/home/django/.virtualenvs/tshilo_dikotla/src/django-crypto-fields',
 '/home/django/.virtualenvs/tshilo_dikotla/src/edc-appointment',
 '/home/django/.virtualenvs/tshilo_dikotla/src/edc-base',
 '/home/django/.virtualenvs/tshilo_dikotla/src/edc-call-manager',
 '/home/django/.virtualenvs/tshilo_dikotla/src/edc-code-lists',
 '/home/django/.virtualenvs/tshilo_dikotla/src/edc-configuration',
 '/home/django/.virtualenvs/tshilo_dikotla/src/edc-consent',
 '/home/django/.virtualenvs/tshilo_dikotla/src/edc-constants',
 '/home/django/.virtualenvs/tshilo_dikotla/src/edc-content-type-map',
 '/home/django/.virtualenvs/tshilo_dikotla/src/edc-dashboard',
 '/home/django/.virtualenvs/tshilo_dikotla/src/edc-data-manager',
 '/home/django/.virtualenvs/tshilo_dikotla/src/edc-death-report',
 '/home/django/.virtualenvs/tshilo_dikotla/src/edc-device',
 '/home/django/.virtualenvs/tshilo_dikotla/src/edc-export',
 '/home/django/.virtualenvs/tshilo_dikotla/src/edc-identifier',
 '/home/django/.virtualenvs/tshilo_dikotla/src/edc-lab',
 '/home/django/.virtualenvs/tshilo_dikotla/src/edc-locator',
 '/home/django/.virtualenvs/tshilo_dikotla/src/edc-meta-data',
 '/home/django/.virtualenvs/tshilo_dikotla/src/edc-notification',
 '/home/django/.virtualenvs/tshilo_dikotla/src/edc-offstudy',
 '/home/django/.virtualenvs/tshilo_dikotla/src/edc-quota',
 '/home/django/.virtualenvs/tshilo_dikotla/src/edc-registration',
 '/home/django/.virtualenvs/tshilo_dikotla/src/edc-rest',
 '/home/django/.virtualenvs/tshilo_dikotla/src/edc-rule-groups',
 '/home/django/.virtualenvs/tshilo_dikotla/src/edc-sync',
 '/home/django/.virtualenvs/tshilo_dikotla/src/edc-templates',
 '/home/django/.virtualenvs/tshilo_dikotla/src/edc-testing',
 '/home/django/.virtualenvs/tshilo_dikotla/src/edc-visit-schedule',
 '/home/django/.virtualenvs/tshilo_dikotla/src/edc-visit-tracking',
 '/home/django/.virtualenvs/tshilo_dikotla/src/lab-requisition',
 '/home/django/.virtualenvs/tshilo_dikotla/src/lis',
 '/home/django/.virtualenvs/tshilo_dikotla/src/edc-sync-files',
 '/home/django/.virtualenvs/tshilo_dikotla/lib/python3.5/site-packages/gitdb/ext/smmap']
Server time: Mon, 16 Jan 2017 08:28:08 +0200

Traceback Switch to copy-and-paste view

Request information

GET

Variable Value
visit_attr
'infant_visit'
show
'forms'
dashboard_type
'infant'
infant_visit
'77b6c8a5-cee4-45bf-a61d-9994b434d5e3'
dashboard_id
'77b6c8a5-cee4-45bf-a61d-9994b434d5e3'
entry_order
'0'
group_title
'None'
registered_subject
'1869b5f5-1b99-49fb-b802-f84b7167f5b1'
next
'subject_dashboard_url'
dashboard_model
'visit'

POST

Variable Value
infant_visit
'77b6c8a5-cee4-45bf-a61d-9994b434d5e3'
report_datetime_0
'2017-01-05'
initial-report_datetime_1
'08:27:48'
_save
'Save'
reason_other
''
report_datetime_1
'08:27:48'
comment
''
reason
'withdrew_by_family'
offstudy_date
'2017-01-05'
initial-report_datetime_0
'2017-01-16'
csrfmiddlewaretoken
'3Ns9sriyAJVXTxZGEGsExCT6rd61daC8'

FILES

No FILES data

Variable Value
csrftoken
'3Ns9sriyAJVXTxZGEGsExCT6rd61daC8'
sessionid
'g9jlvj8eep88h1t4w5jiofq2tsxd3uv3'

META

Variable Value
SERVER_PORT
'9000'
wsgi.run_once
False
HTTP_HOST
'127.0.0.1:9000'
SCRIPT_NAME
''
wsgi.version
(1, 0)
CONTENT_TYPE
('multipart/form-data; '
 'boundary=---------------------------6662072422112864483123778989')
HTTP_ACCEPT_ENCODING
'gzip, deflate'
HTTP_REFERER
'http://td.bhp.org.bw/admin/td_infant/infantoffstudy/add/?next=subject_dashboard_url&dashboard_type=infant&dashboard_model=visit&dashboard_id=77b6c8a5-cee4-45bf-a61d-9994b434d5e3&show=forms&registered_subject=1869b5f5-1b99-49fb-b802-f84b7167f5b1&infant_visit=77b6c8a5-cee4-45bf-a61d-9994b434d5e3&visit_attr=infant_visit&entry_order=0&group_title=None'
gunicorn.socket
<socket.socket fd=25, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 9000), raddr=('127.0.0.1', 54960)>
QUERY_STRING
'next=subject_dashboard_url&dashboard_type=infant&dashboard_model=visit&dashboard_id=77b6c8a5-cee4-45bf-a61d-9994b434d5e3&show=forms&registered_subject=1869b5f5-1b99-49fb-b802-f84b7167f5b1&infant_visit=77b6c8a5-cee4-45bf-a61d-9994b434d5e3&visit_attr=infant_visit&entry_order=0&group_title=None'
RAW_URI
'/admin/td_infant/infantoffstudy/add/?next=subject_dashboard_url&dashboard_type=infant&dashboard_model=visit&dashboard_id=77b6c8a5-cee4-45bf-a61d-9994b434d5e3&show=forms&registered_subject=1869b5f5-1b99-49fb-b802-f84b7167f5b1&infant_visit=77b6c8a5-cee4-45bf-a61d-9994b434d5e3&visit_attr=infant_visit&entry_order=0&group_title=None'
wsgi.errors
<gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f3adb878cc0>
HTTP_COOKIE
('csrftoken=3Ns9sriyAJVXTxZGEGsExCT6rd61daC8; '
 'sessionid=g9jlvj8eep88h1t4w5jiofq2tsxd3uv3')
REMOTE_ADDR
'127.0.0.1'
SERVER_NAME
'127.0.0.1'
HTTP_X_FORWARDED_FOR
'10.113.201.77'
HTTP_USER_AGENT
('Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:47.0) Gecko/20100101 '
 'Firefox/47.0')
wsgi.multithread
False
CONTENT_LENGTH
'1499'
wsgi.multiprocess
False
HTTP_CONNECTION
'close'
wsgi.input
<gunicorn.http.body.Body object at 0x7f3adb878cf8>
wsgi.url_scheme
'http'
SERVER_SOFTWARE
'gunicorn/19.6.0'
HTTP_ACCEPT_LANGUAGE
'en-US,en;q=0.5'
wsgi.file_wrapper
''
CSRF_COOKIE
'3Ns9sriyAJVXTxZGEGsExCT6rd61daC8'
REQUEST_METHOD
'POST'
REMOTE_PORT
'54960'
PATH_INFO
'/admin/td_infant/infantoffstudy/add/'
SERVER_PROTOCOL
'HTTP/1.0'
HTTP_ACCEPT
'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'

Settings

Using settings module tshilo_dikotla.settings

Setting Value
SECURE_REDIRECT_EXEMPT
[]
LANGUAGE_COOKIE_NAME
'django_language'
DEFAULT_INDEX_TABLESPACE
''
TRAVIS_POSTGRES
{'default': {'ATOMIC_REQUESTS': True,
             'ENGINE': 'django.db.backends.mysql',
             'HOST': '',
             'NAME': 'td',
             'PORT': '',
             'USER': 'travis'},
 'lab_api': {'ATOMIC_REQUESTS': True,
             'ENGINE': 'django.db.backends.mysql',
             'HOST': '',
             'NAME': 'td_lab',
             'PORT': '',
             'USER': 'travis'},
 'test_server': {'ATOMIC_REQUESTS': True,
                 'ENGINE': 'django.db.backends.mysql',
                 'HOST': '',
                 'NAME': 'td_test',
                 'PORT': '',
                 'USER': 'travis'}}
SETTINGS_MODULE
'tshilo_dikotla.settings'
WSGI_APPLICATION
'tshilo_dikotla.wsgi.application'
LANGUAGES
(('tn', 'Setswana'), ('en', 'English'))
AUTHENTICATION_BACKENDS
['django.contrib.auth.backends.ModelBackend']
TEST_RUNNER
'django.test.runner.DiscoverRunner'
MEDIA_ROOT
Path('/home/django/source/bhp085/tshilo_dikotla/media')
ABSOLUTE_URL_OVERRIDES
{}
SIGNING_BACKEND
'django.core.signing.TimestampSigner'
EMAIL_USE_TLS
False
TEST_HOSTS_POSTGRES
{'default': {'ATOMIC_REQUESTS': True,
             'ENGINE': 'django.db.backends.postgresql_psycopg2',
             'HOST': '',
             'NAME': 'td',
             'PASSWORD': '********************',
             'PORT': '',
             'USER': 'django'},
 'lab_api': {'ATOMIC_REQUESTS': True,
             'ENGINE': 'django.db.backends.postgresql_psycopg2',
             'HOST': '',
             'NAME': 'td_lab',
             'PASSWORD': '********************',
             'PORT': '',
             'USER': 'django'}}
FIELD_MAX_LENGTH
'default'
SESSION_CACHE_ALIAS
'default'
DECIMAL_SEPARATOR
'.'
DEVELOPER_HOSTS
['mac2-2.local', 'ckgathi', 'one-2.local', 'One-2.local', 'tsetsiba', 'leslie']
MINIMUM_AGE_OF_CONSENT
18
SESSION_COOKIE_HTTPONLY
True
STATIC_ROOT
Path('/home/django/source/bhp085/tshilo_dikotla/static')
REST_FRAMEWORK
{'DEFAULT_AUTHENTICATION_CLASSES': ('rest_framework.authentication.TokenAuthentication',),
 'PAGE_SIZE': 1}
ETC_DIR
Path('/home/django/source/etc')
IGNORABLE_404_URLS
[]
SHORT_DATE_FORMAT
'm/d/Y'
INSTITUTION
'Botswana-Harvard AIDS Institute'
DEFAULT_STUDY_SITE
'40'
ROOT_URLCONF
'tshilo_dikotla.urls'
CSRF_FAILURE_VIEW
'django.views.csrf.csrf_failure'
EMAIL_SUBJECT_PREFIX
'[Django] '
FILE_UPLOAD_TEMP_DIR
None
EMAIL_HOST_PASSWORD
'********************'
SECRET_KEY
'********************'
DISPATCH_APP_LABELS
[]
SESSION_COOKIE_PATH
'/'
LOGIN_URL
'/td/login/'
MIDDLEMAN_DEVICE_ID_LIST
[98]
DEFAULT_TABLESPACE
''
EMAIL_TIMEOUT
None
PROJECT_DIR
Path('/home/django/source/bhp085/tshilo_dikotla')
USE_THOUSAND_SEPARATOR
False
AUTH_PASSWORD_VALIDATORS
'********************'
FORCE_SCRIPT_NAME
None
DATABASES
{'default': {'ATOMIC_REQUESTS': True,
             'AUTOCOMMIT': True,
             'CONN_MAX_AGE': 0,
             'ENGINE': 'django.db.backends.mysql',
             'HOST': '',
             'NAME': '',
             'OPTIONS': {'read_default_file': Path('/home/django/source/etc/default.cnf')},
             'PASSWORD': '********************',
             'PORT': '',
             'TEST': {'CHARSET': None,
                      'COLLATION': None,
                      'MIRROR': None,
                      'NAME': None},
             'TIME_ZONE': None,
             'USER': ''}}
DATABASE_ROUTERS
[]
TEMPLATES
[{'APP_DIRS': True,
  'BACKEND': 'django.template.backends.django.DjangoTemplates',
  'DIRS': [Path('/home/django/source/bhp085/tshilo_dikotla/templates')],
  'OPTIONS': {'context_processors': ['django.template.context_processors.debug',
                                     'django.template.context_processors.request',
                                     'django.contrib.auth.context_processors.auth',
                                     'django.contrib.messages.context_processors.messages']}}]
FORMAT_MODULE_PATH
None
FILE_CHARSET
'utf-8'
TEMPLATE_LOADERS
('django.template.loaders.filesystem.Loader',
 'django.template.loaders.app_directories.Loader',
 'django.template.loaders.eggs.Loader')
SESSION_COOKIE_SECURE
False
STATICFILES_FINDERS
('django.contrib.staticfiles.finders.FileSystemFinder',
 'django.contrib.staticfiles.finders.AppDirectoriesFinder')
CORS_ORIGIN_ALLOW_ALL
True
INTERNAL_IPS
[]
LOGGING_CONFIG
'logging.config.dictConfig'
ADMINS
[]
YEAR_MONTH_FORMAT
'F Y'
SERVER_DEVICE_ID_LIST
[91, 92, 93, 94, 95, 96, 97, 99]
LANGUAGE_COOKIE_DOMAIN
None
FILE_UPLOAD_DIRECTORY_PERMISSIONS
None
X_FRAME_OPTIONS
'SAMEORIGIN'
TIME_INPUT_FORMATS
['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
AUTH_USER_MODEL
'auth.User'
DISALLOWED_USER_AGENTS
[]
CSRF_COOKIE_PATH
'/'
DEFAULT_FILE_STORAGE
'django.core.files.storage.FileSystemStorage'
CORS_ORIGIN_WHITELIST
None
LANGUAGE_CODE
'en'
LIVE_SERVER
'td.bhp.org.bw'
DEFAULT_CHARSET
'utf-8'
CACHE_MIDDLEWARE_SECONDS
600
DEBUG
True
SECURE_CONTENT_TYPE_NOSNIFF
False
AGE_IS_ADULT
18
EMAIL_HOST_USER
''
SILENCED_SYSTEM_CHECKS
[]
CSRF_TRUSTED_ORIGINS
[]
CACHE_MIDDLEWARE_KEY_PREFIX
'********************'
SOURCE_ROOT
Path('/home/django/source/bhp085')
USE_X_FORWARDED_PORT
False
SESSION_COOKIE_DOMAIN
None
MANAGERS
[]
APP_LABEL
'tshilo_dikotla'
SERVER_EMAIL
'root@localhost'
CSRF_COOKIE_HTTPONLY
False
NUMBER_GROUPING
0
SECURE_BROWSER_XSS_FILTER
False
PRODUCTION_SECRET_KEY
'********************'
USE_ETAGS
False
STATIC_URL
'/static/'
USE_X_FORWARDED_HOST
True
SESSION_COOKIE_AGE
1209600
ALLOW_MODEL_SERIALIZATION
True
LANGUAGE_COOKIE_PATH
'/'
PASSWORD_HASHERS
'********************'
SECURE_HSTS_SECONDS
0
SESSION_ENGINE
'django.contrib.sessions.backends.db'
FILE_UPLOAD_PERMISSIONS
None
GIT_DIR
Path('/home/django/source/bhp085')
SECURE_HSTS_INCLUDE_SUBDOMAINS
False
SECURE_SSL_HOST
None
IS_SECURE_DEVICE
True
PROJECT_IDENTIFIER_PREFIX
'085'
TEMPLATE_STRING_IF_INVALID
''
EMAIL_SSL_CERTFILE
None
STATICFILES_DIRS
[]
EMAIL_BACKEND
'django.core.mail.backends.smtp.EmailBackend'
DATETIME_INPUT_FORMATS
['%Y-%m-%d %H:%M:%S',
 '%Y-%m-%d %H:%M:%S.%f',
 '%Y-%m-%d %H:%M',
 '%Y-%m-%d',
 '%m/%d/%Y %H:%M:%S',
 '%m/%d/%Y %H:%M:%S.%f',
 '%m/%d/%Y %H:%M',
 '%m/%d/%Y',
 '%m/%d/%y %H:%M:%S',
 '%m/%d/%y %H:%M:%S.%f',
 '%m/%d/%y %H:%M',
 '%m/%d/%y']
USE_L10N
True
CSRF_COOKIE_DOMAIN
None
PROJECT_TITLE
'Tshilo Dikotla Live Server'
SESSION_FILE_PATH
None
MEDIA_URL
''
DEFAULT_CONTENT_TYPE
'text/html'
LOCALE_PATHS
[]
BASE_DIR
Path('/home/django/source/bhp085/tshilo_dikotla')
MIGRATION_MODULES
{}
SITE_CODE
'40'
DATE_FORMAT
'N j, Y'
TIME_FORMAT
'P'
TEMPLATE_DIRS
()
FILE_UPLOAD_HANDLERS
['django.core.files.uploadhandler.MemoryFileUploadHandler',
 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
KEY_PATH
'********************'
CELLPHONE_REGEX
'^[7]{1}[12345678]{1}[0-9]{6}$'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
DEFAULT_FROM_EMAIL
'webmaster@localhost'
APPEND_SLASH
True
MESSAGE_STORAGE
'django.contrib.messages.storage.fallback.FallbackStorage'
PREPEND_WWW
False
CSRF_COOKIE_NAME
'csrftoken'
USE_I18N
True
CSRF_HEADER_NAME
'HTTP_X_CSRFTOKEN'
PROJECT_ROOT
Path('/home/django/source/bhp085')
ALLOWED_HOSTS
[]
EMAIL_USE_SSL
False
PASSWORD_RESET_TIMEOUT_DAYS
'********************'
PROJECT_IDENTIFIER_MODULUS
7
TELEPHONE_REGEX
'^[2-8]{1}[0-9]{6}$'
SUBJECT_TYPES
['maternal', 'infant']
SESSION_COOKIE_NAME
'sessionid'
DEVICE_ID
99
TEMPLATE_DEBUG
False
DATETIME_FORMAT
'N j, Y, P'
GENDER_OF_CONSENT
['F']
THOUSAND_SEPARATOR
','
APP_NAME
'td'
LABEL_PRINTER_MAKE_AND_MODEL
['Zebra ZPL Label Printer']
SUBJECT_APP_LIST
['maternal', 'infant']
DATE_INPUT_FORMATS
['%Y-%m-%d',
 '%m/%d/%Y',
 '%m/%d/%y',
 '%b %d %Y',
 '%b %d, %Y',
 '%d %b %Y',
 '%d %b, %Y',
 '%B %d %Y',
 '%B %d, %Y',
 '%d %B %Y',
 '%d %B, %Y']
SESSION_SERIALIZER
'django.contrib.sessions.serializers.JSONSerializer'
SECURE_SSL_REDIRECT
False
CSRF_COOKIE_AGE
31449600
FIXTURE_DIRS
[]
INSTALLED_APPS
['django.contrib.admin',
 'django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.messages',
 'django.contrib.staticfiles',
 'django_extensions',
 'simple_history',
 'rest_framework',
 'rest_framework.authtoken',
 'django_js_reverse',
 'django_revision',
 'edc_templates',
 'edc_identifier',
 'edc_lab.lab_packing',
 'edc_lab.lab_clinic_api',
 'edc_lab.lab_clinic_reference',
 'lis.labeling',
 'edc_appointment',
 'edc_base',
 'edc_configuration',
 'corsheaders',
 'crispy_forms',
 'edc_constants',
 'edc_content_type_map',
 'edc_dashboard',
 'edc_data_manager',
 'edc_death_report',
 'edc_device',
 'edc_locator',
 'edc_meta_data',
 'edc_offstudy',
 'edc_registration',
 'edc_rule_groups',
 'edc_sync_files',
 'django_appconfig_ini',
 'edc_code_lists',
 'edc_visit_schedule',
 'edc_visit_tracking',
 'call_manager',
 'edc_call_manager.apps.EdcCallManagerAppConfig',
 'tshilo_dikotla.apps.DjangoCryptoFieldsAppConfig',
 'tshilo_dikotla.apps.ConsentAppConfig',
 'tshilo_dikotla.apps.EdcSyncAppConfig',
 'tshilo_dikotla.apps.TshiloDikotlaConfig',
 'td_dashboard.apps.TdDashboardConfig',
 'td_infant.apps.TdInfantConfig',
 'td_lab.apps.TdLabConfig',
 'td_list.apps.TdListConfig',
 'registration.apps.RegistrationConfig',
 'td_maternal.apps.TdMaternalConfig']
CACHES
{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}}
EMAIL_HOST
'localhost'
SECURE_PROXY_SSL_HEADER
None
LOGIN_REDIRECT_URL
'/td/'
MONTH_DAY_FORMAT
'F j'
LOGOUT_URL
'/td/logout/'
DEFAULT_EXCEPTION_REPORTER_FILTER
'django.views.debug.SafeExceptionReporterFilter'
EMAIL_SSL_KEYFILE
'********************'
SHORT_DATETIME_FORMAT
'm/d/Y P'
MAXIMUM_AGE_OF_CONSENT
64
CRISPY_TEMPLATE_PACK
'bootstrap3'
LANGUAGES_BIDI
['he', 'ar', 'fa', 'ur']
TEMPLATE_CONTEXT_PROCESSORS
('django.contrib.auth.context_processors.auth',
 'django.core.context_processors.debug',
 'django.core.context_processors.i18n',
 'django.core.context_processors.media',
 'django.core.context_processors.static',
 'django.core.context_processors.request',
 'django.contrib.messages.context_processors.messages')
AUTH_PROFILE_MODULE
'bhp_userprofile.userprofile'
LANGUAGE_COOKIE_AGE
None
SOUTH_TESTS_MIGRATE
False
SESSION_SAVE_EVERY_REQUEST
False
STATICFILES_STORAGE
'django.contrib.staticfiles.storage.StaticFilesStorage'
TEST_HOSTS
['edc4.bhp.org.bw', 'tdtest.bhp.org.bw']
MAX_SUBJECTS
{'infant': 3000, 'maternal': 3000}
ALLOWED_INCLUDE_ROOTS
[]
LOGGING
{}
USE_TZ
False
FIRST_DAY_OF_WEEK
0
MIDDLEWARE_CLASSES
['django.middleware.security.SecurityMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.middleware.locale.LocaleMiddleware',
 'django.middleware.common.CommonMiddleware',
 'django.middleware.csrf.CsrfViewMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.contrib.auth.middleware.SessionAuthenticationMiddleware',
 'django.contrib.messages.middleware.MessageMiddleware',
 'django.middleware.clickjacking.XFrameOptionsMiddleware',
 'simple_history.middleware.HistoryRequestMiddleware']
PROJECT_NUMBER
'BHP085'
TEST_NON_SERIALIZED_APPS
[]
PROTOCOL_NUMBER
'085'
STUDY_OPEN_DATETIME
datetime.datetime(2015, 10, 18, 0, 0)
CACHE_MIDDLEWARE_ALIAS
'default'
PRODUCTION_POSTGRES
{'default': {'ATOMIC_REQUESTS': True,
             'AUTOCOMMIT': True,
             'CONN_MAX_AGE': 0,
             'ENGINE': 'django.db.backends.mysql',
             'HOST': '',
             'NAME': '',
             'OPTIONS': {'read_default_file': Path('/home/django/source/etc/default.cnf')},
             'PASSWORD': '********************',
             'PORT': '',
             'TEST': {'CHARSET': None,
                      'COLLATION': None,
                      'MIRROR': None,
                      'NAME': None},
             'TIME_ZONE': None,
             'USER': ''}}
PROTOCOL_REVISION
'v1.0'
DEBUG_PROPAGATE_EXCEPTIONS
False
CSRF_COOKIE_SECURE
False
EMAIL_PORT
25
TIME_ZONE
'Africa/Gaborone'

You're seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard page generated by the handler for this status code.