NoReverseMatch at /patientslisting
Reverse for 'parent_page' not found. 'parent_page' is not a valid view function or pattern name.
Request Method: GET
Request URL: https://rdrf.ccgapps.com.au/demo/patientslisting
Django Version: 2.1.9
Exception Type: NoReverseMatch
Exception Value:
Reverse for 'parent_page' not found. 'parent_page' is not a valid view function or pattern name.
Exception Location: /env/lib/python3.7/site-packages/django/urls/resolvers.py in _reverse_with_prefix, line 622
Python Executable: /env/bin/uwsgi
Python Version: 3.7.4
Python Path:
['.',
'/app',
'/usr/local/lib/python37.zip',
'/usr/local/lib/python3.7',
'/usr/local/lib/python3.7/lib-dynload',
'/env/lib/python3.7/site-packages']
Server time: Wed, 4 Sep 2019 10:00:04 +0800
Error during template rendering
In template /env/lib/python3.7/site-packages/rdrf/templates/rdrf_cdes/base.html, error at line 123
Reverse for 'parent_page' not found. 'parent_page' is not a valid view function or pattern name.
113
114
115
116
117 {% if request.user.is_authenticated %}
118 {% block parent_menu %}
119 {% endblock %}
120
121 {% if request.user.registry_code %}
122 {% if request.user.is_parent %}
123
128 {% endif %}
129 {% endif %}
130
131 {% block actions %}
132 {% endblock %}
133
Traceback Switch to copy-and-paste view
/env/lib/python3.7/site-packages/django/core/handlers/exception.py in inner
response = get_response(request) ...
▶ Local vars
/env/lib/python3.7/site-packages/django/core/handlers/base.py in _get_response
response = self.process_exception_by_middleware(e, request) ...
▶ Local vars
/env/lib/python3.7/site-packages/django/core/handlers/base.py in _get_response
response = wrapped_callback(request, *callback_args, callback_kwargs) ...
▶ Local vars
/env/lib/python3.7/site-packages/django/views/generic/base.py in view
return self.dispatch(request, *args, *kwargs) ...
▶ Local vars
/env/lib/python3.7/site-packages/django/views/generic/base.py in dispatch
return handler(request, args, kwargs) ...
▶ Local vars
/env/lib/python3.7/site-packages/rdrf/views/patients_listing.py in get
self.do_security_checks() ...
▶ Local vars
/env/lib/python3.7/site-packages/rdrf/views/patients_listing.py in do_security_checks
raise PermissionDenied() ...
▶ Local vars
During handling of the above exception (), another exception occurred:
/env/lib/python3.7/site-packages/django/core/handlers/exception.py in get_exception_response
response = callback(request, {param_dict, 'exception': exception}) ...
▶ Local vars
/env/lib/python3.7/site-packages/django/utils/decorators.py in _wrapped_view
response = view_func(request, *args, *kwargs) ...
▶ Local vars
/env/lib/python3.7/site-packages/django/views/defaults.py in permission_denied
template.render(request=request, context={'exception': str(exception)}) ...
▶ Local vars
/env/lib/python3.7/site-packages/django/template/backends/django.py in render
return self.template.render(context) ...
▶ Local vars
/env/lib/python3.7/site-packages/django/template/base.py in render
return self._render(context) ...
▶ Local vars
/env/lib/python3.7/site-packages/django/template/base.py in _render
return self.nodelist.render(context) ...
▶ Local vars
/env/lib/python3.7/site-packages/django/template/base.py in render
bit = node.render_annotated(context) ...
▶ Local vars
/env/lib/python3.7/site-packages/django/template/base.py in render_annotated
return self.render(context) ...
▶ Local vars
/env/lib/python3.7/site-packages/django/template/loader_tags.py in render
return compiled_parent._render(context) ...
▶ Local vars
/env/lib/python3.7/site-packages/django/template/base.py in _render
return self.nodelist.render(context) ...
▶ Local vars
/env/lib/python3.7/site-packages/django/template/base.py in render
bit = node.render_annotated(context) ...
▶ Local vars
/env/lib/python3.7/site-packages/django/template/base.py in render_annotated
return self.render(context) ...
▶ Local vars
/env/lib/python3.7/site-packages/django/template/defaulttags.py in render
return nodelist.render(context) ...
▶ Local vars
/env/lib/python3.7/site-packages/django/template/base.py in render
bit = node.render_annotated(context) ...
▶ Local vars
/env/lib/python3.7/site-packages/django/template/base.py in render_annotated
return self.render(context) ...
▶ Local vars
/env/lib/python3.7/site-packages/django/template/defaulttags.py in render
return nodelist.render(context) ...
▶ Local vars
/env/lib/python3.7/site-packages/django/template/base.py in render
bit = node.render_annotated(context) ...
▶ Local vars
/env/lib/python3.7/site-packages/django/template/base.py in render_annotated
return self.render(context) ...
▶ Local vars
/env/lib/python3.7/site-packages/django/template/defaulttags.py in render
return nodelist.render(context) ...
▶ Local vars
/env/lib/python3.7/site-packages/django/template/base.py in render
bit = node.render_annotated(context) ...
▶ Local vars
/env/lib/python3.7/site-packages/django/template/base.py in render_annotated
return self.render(context) ...
▶ Local vars
/env/lib/python3.7/site-packages/django/template/defaulttags.py in render
url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ...
▶ Local vars
/env/lib/python3.7/site-packages/django/urls/base.py in reverse
return iri_to_uri(resolver._reverse_with_prefix(view, prefix, args, **kwargs)) ...
▶ Local vars
/env/lib/python3.7/site-packages/django/urls/resolvers.py in _reverse_with_prefix
raise NoReverseMatch(msg) ...
▶ Local vars
Request information
USER
admin
NoReverseMatch at /patientslisting Reverse for 'parent_page' not found. 'parent_page' is not a valid view function or pattern name. Request Method: GET Request URL: https://rdrf.ccgapps.com.au/demo/patientslisting Django Version: 2.1.9 Exception Type: NoReverseMatch Exception Value:
Reverse for 'parent_page' not found. 'parent_page' is not a valid view function or pattern name. Exception Location: /env/lib/python3.7/site-packages/django/urls/resolvers.py in _reverse_with_prefix, line 622 Python Executable: /env/bin/uwsgi Python Version: 3.7.4 Python Path:
['.', '/app', '/usr/local/lib/python37.zip', '/usr/local/lib/python3.7', '/usr/local/lib/python3.7/lib-dynload', '/env/lib/python3.7/site-packages'] Server time: Wed, 4 Sep 2019 10:00:04 +0800 Error during template rendering In template /env/lib/python3.7/site-packages/rdrf/templates/rdrf_cdes/base.html, error at line 123
Reverse for 'parent_page' not found. 'parent_page' is not a valid view function or pattern name. 113 114 115
117 {% if request.user.is_authenticated %} 118 {% block parent_menu %} 119 {% endblock %} 120 121 {% if request.user.registry_code %} 122 {% if request.user.is_parent %} 123-
124 {% trans "Home Page" %}
125 {% elif request.user.is_patient %}
126 -
127 {% trans "Home Page" %}
128 {% endif %}
129 {% endif %}
130
131 {% block actions %}
132 {% endblock %}
133
Traceback Switch to copy-and-paste view
/env/lib/python3.7/site-packages/django/core/handlers/exception.py in inner
response = get_response(request) ...
▶ Local vars
/env/lib/python3.7/site-packages/django/core/handlers/base.py in _get_response
response = self.process_exception_by_middleware(e, request) ...
▶ Local vars
/env/lib/python3.7/site-packages/django/core/handlers/base.py in _get_response
response = wrapped_callback(request, *callback_args, callback_kwargs) ...
▶ Local vars
/env/lib/python3.7/site-packages/django/views/generic/base.py in view
return self.dispatch(request, *args, *kwargs) ...
▶ Local vars
/env/lib/python3.7/site-packages/django/views/generic/base.py in dispatch
return handler(request, args, kwargs) ...
▶ Local vars
/env/lib/python3.7/site-packages/rdrf/views/patients_listing.py in get
self.do_security_checks() ...
▶ Local vars
/env/lib/python3.7/site-packages/rdrf/views/patients_listing.py in do_security_checks
raise PermissionDenied() ...
▶ Local vars
During handling of the above exception (), another exception occurred:
/env/lib/python3.7/site-packages/django/core/handlers/exception.py in get_exception_response
response = callback(request, {param_dict, 'exception': exception}) ...
▶ Local vars
/env/lib/python3.7/site-packages/django/utils/decorators.py in _wrapped_view
response = view_func(request, *args, *kwargs) ...
▶ Local vars
/env/lib/python3.7/site-packages/django/views/defaults.py in permission_denied
template.render(request=request, context={'exception': str(exception)}) ...
▶ Local vars
/env/lib/python3.7/site-packages/django/template/backends/django.py in render
return self.template.render(context) ...
▶ Local vars
/env/lib/python3.7/site-packages/django/template/base.py in render
return self._render(context) ...
▶ Local vars
/env/lib/python3.7/site-packages/django/template/base.py in _render
return self.nodelist.render(context) ...
▶ Local vars
/env/lib/python3.7/site-packages/django/template/base.py in render
bit = node.render_annotated(context) ...
▶ Local vars
/env/lib/python3.7/site-packages/django/template/base.py in render_annotated
return self.render(context) ...
▶ Local vars
/env/lib/python3.7/site-packages/django/template/loader_tags.py in render
return compiled_parent._render(context) ...
▶ Local vars
/env/lib/python3.7/site-packages/django/template/base.py in _render
return self.nodelist.render(context) ...
▶ Local vars
/env/lib/python3.7/site-packages/django/template/base.py in render
bit = node.render_annotated(context) ...
▶ Local vars
/env/lib/python3.7/site-packages/django/template/base.py in render_annotated
return self.render(context) ...
▶ Local vars
/env/lib/python3.7/site-packages/django/template/defaulttags.py in render
return nodelist.render(context) ...
▶ Local vars
/env/lib/python3.7/site-packages/django/template/base.py in render
bit = node.render_annotated(context) ...
▶ Local vars
/env/lib/python3.7/site-packages/django/template/base.py in render_annotated
return self.render(context) ...
▶ Local vars
/env/lib/python3.7/site-packages/django/template/defaulttags.py in render
return nodelist.render(context) ...
▶ Local vars
/env/lib/python3.7/site-packages/django/template/base.py in render
bit = node.render_annotated(context) ...
▶ Local vars
/env/lib/python3.7/site-packages/django/template/base.py in render_annotated
return self.render(context) ...
▶ Local vars
/env/lib/python3.7/site-packages/django/template/defaulttags.py in render
return nodelist.render(context) ...
▶ Local vars
/env/lib/python3.7/site-packages/django/template/base.py in render
bit = node.render_annotated(context) ...
▶ Local vars
/env/lib/python3.7/site-packages/django/template/base.py in render_annotated
return self.render(context) ...
▶ Local vars
/env/lib/python3.7/site-packages/django/template/defaulttags.py in render
url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app) ...
▶ Local vars
/env/lib/python3.7/site-packages/django/urls/base.py in reverse
return iri_to_uri(resolver._reverse_with_prefix(view, prefix, args, **kwargs)) ...
▶ Local vars
/env/lib/python3.7/site-packages/django/urls/resolvers.py in _reverse_with_prefix
raise NoReverseMatch(msg) ...
▶ Local vars
Request information
USER
admin
wsgi.multiprocess
True
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'https'
wsgi.version
(1, 0)
Settings
Using settings module rdrf.settings
Setting Value
ABSOLUTE_URL_OVERRIDES
{}
ACCOUNT_ACTIVATION_DAYS
2
ACCOUNT_EXPIRY_DAYS
100
ACCOUNT_SELF_UNLOCK_ENABLED
True
ADMINS
[('alerts', 'rdrf@ccg.murdoch.edu.au')]
AJAX_LOOKUP_CHANNELS
{'gene': {'model': 'genetic.Gene', 'search_field': 'symbol'}}
ALLOWED_HOSTS
['localhost', '.ccgapps.com.au']
ALL_LANGUAGES
(('en', 'English'),
('ar', 'Arabic'),
('pl', 'Polish'),
('es', 'Spanish'),
('de', 'German'),
('fr', 'French'),
('it', 'Italian'))
ANYMAIL
{'MAILGUN_API_KEY': '********************'}
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
['useraudit.password_expiry.AccountExpiryBackend',
'django.contrib.auth.backends.ModelBackend',
'useraudit.backend.AuthFailedLoggerBackend']
AUTH_PASSWORD_VALIDATORS
'********************'
AUTH_PROFILE_MODULE
'groups.User'
AUTH_USER_MODEL
'groups.CustomUser'
AUTH_USER_MODEL_PASSWORD_CHANGE_DATE_ATTR
'********************'
CACHES
{'default': {'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
'KEY_PREFIX': '********************',
'LOCATION': ['ccgapps-memcached.t0hjbu.0001.apse2.cache.amazonaws.com:11211',
'ccgapps-memcached.t0hjbu.0002.apse2.cache.amazonaws.com:11211']}}
CACHE_MIDDLEWARE_ALIAS
'default'
CACHE_MIDDLEWARE_KEY_PREFIX
'********************'
CACHE_MIDDLEWARE_SECONDS
600
CSRF_COOKIE_AGE
31449600
CSRF_COOKIE_DOMAIN
'.ccgapps.com.au'
CSRF_COOKIE_HTTPONLY
True
CSRF_COOKIE_NAME
'csrf_rdrf_demo'
CSRF_COOKIE_PATH
'/demo/'
CSRF_COOKIE_SAMESITE
'Lax'
CSRF_COOKIE_SECURE
True
CSRF_FAILURE_VIEW
'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME
'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS
['.ccgapps.com.au']
CSRF_USE_SESSIONS
False
DATABASES
{'clinical': {'ATOMIC_REQUESTS': False,
'AUTOCOMMIT': True,
'CONN_MAX_AGE': 0,
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'HOST': 'ccgprod.cvkskejy7wba.ap-southeast-2.rds.amazonaws.com',
'NAME': 'rdrf_demo_clinical',
'OPTIONS': {},
'PASSWORD': '********************',
'PORT': '5432',
'TEST': {'CHARSET': None,
'COLLATION': None,
'MIRROR': None,
'NAME': None},
'TIME_ZONE': None,
'USER': 'ccgprod'},
'default': {'ATOMIC_REQUESTS': False,
'AUTOCOMMIT': True,
'CONN_MAX_AGE': 0,
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'HOST': 'ccgprod.cvkskejy7wba.ap-southeast-2.rds.amazonaws.com',
'NAME': 'rdrf_demo',
'OPTIONS': {},
'PASSWORD': '********************',
'PORT': '5432',
'TEST': {'CHARSET': None,
'COLLATION': None,
'MIRROR': None,
'NAME': None},
'TIME_ZONE': None,
'USER': 'ccgprod'},
'reporting': {'ATOMIC_REQUESTS': False,
'AUTOCOMMIT': True,
'CONN_MAX_AGE': 0,
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'HOST': 'reportingdb',
'NAME': 'webapp',
'OPTIONS': {},
'PASSWORD': '********************',
'PORT': '5432',
'TEST': {'CHARSET': None,
'COLLATION': None,
'MIRROR': None,
'NAME': None},
'TIME_ZONE': None,
'USER': 'webapp'}}
DATABASE_HOST
'ccgprod.cvkskejy7wba.ap-southeast-2.rds.amazonaws.com'
DATABASE_NAME
'rdrf_demo'
DATABASE_ODBC_DRIVER
'{PostgreSQL}'
DATABASE_PASSWORD
'********************'
DATABASE_ROUTERS
['rdrf.db.db.RegistryRouter']
DATABASE_USER
'ccgprod'
DATA_UPLOAD_MAX_MEMORY_SIZE
2621440
DATA_UPLOAD_MAX_NUMBER_FIELDS
30000
DATETIME_FORMAT
'N j, Y, P'
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']
DATE_FORMAT
'N j, Y'
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']
DB_FILES
{'base_url': None,
'blob_column': 'data',
'db_table': 'rdrf_filestorage',
'fname_column': 'name',
'size_column': 'size'}
DEBUG
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DECIMAL_SEPARATOR
'.'
DEFAULT_CHARSET
'utf-8'
DEFAULT_CONTENT_TYPE
'text/html'
DEFAULT_EXCEPTION_REPORTER_FILTER
'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE
'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
'no-reply@mg.ccgapps.com.au'
DEFAULT_INDEX_TABLESPACE
''
DEFAULT_TABLESPACE
''
DESIGN_MODE
True
DISALLOWED_USER_AGENTS
[]
EMAIL_APP_NAME
'RDRF /demo'
EMAIL_BACKEND
'anymail.backends.mailgun.EmailBackend'
EMAIL_HOST
'smtp'
EMAIL_HOST_PASSWORD
'********************'
EMAIL_HOST_USER
'webmaster@localhost'
EMAIL_PORT
25
EMAIL_SSL_CERTFILE
None
EMAIL_SSL_KEYFILE
'********************'
EMAIL_SUBJECT_PREFIX
'STAGING_rdrf-demo'
EMAIL_TIMEOUT
None
EMAIL_USE_LOCALTIME
False
EMAIL_USE_SSL
False
EMAIL_USE_TLS
False
FILE_CHARSET
'utf-8'
FILE_UPLOAD_DIRECTORY_PERMISSIONS
None
FILE_UPLOAD_HANDLERS
['django.core.files.uploadhandler.MemoryFileUploadHandler',
'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
None
FILE_UPLOAD_TEMP_DIR
None
FIRST_DAY_OF_WEEK
0
FIXTURE_DIRS
[]
FORCE_SCRIPT_NAME
'/demo'
FORMAT_MODULE_PATH
None
FORM_RENDERER
'django.forms.renderers.DjangoTemplates'
FORM_SECTION_DELIMITER
'____'
GEOIP_PATH
'/env/lib/python3.7/site-packages/geoip'
IGNORABLE_404_URLS
[]
IMPORT_MODE
False
INSTALLED_APPS
['django.contrib.contenttypes',
'django.contrib.auth',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.staticfiles',
'django.contrib.messages',
'django_extensions',
'django.contrib.admin',
'messages_ui',
'ajax_select',
'explorer',
'useraudit',
'templatetag_handlebars',
'iprestrict',
'rest_framework',
'anymail',
'rdrf',
'registry.groups',
'registry.patients',
'registry.common',
'registry.genetic',
'registration',
'reversion',
'storages',
'django_otp',
'django_otp.plugins.otp_static',
'django_otp.plugins.otp_totp',
'two_factor',
'django_user_agents',
'formtools']
INSTALL_NAME
'rdrf'
INTERNAL_IPS
('127.0.0.1', '172.16.2.1')
IPRESRICT_TRUSTED_PROXIES
[]
IPRESTRICT_GEOIP_ENABLED
False
IPRESTRICT_IGNORE_PROXY_HEADER
True
IPRESTRICT_RELOAD_RULES
True
LANGUAGES
(('en', 'English'),)
LANGUAGES_ASSOC_LIST
['en', 'English']
LANGUAGES_BIDI
['he', 'ar', 'fa', 'ur']
LANGUAGE_CODE
'en'
LANGUAGE_COOKIE_AGE
None
LANGUAGE_COOKIE_DOMAIN
None
LANGUAGE_COOKIE_NAME
'django_language'
LANGUAGE_COOKIE_PATH
'/'
LOCALE_PATHS
['/data/translations/locale']
LOGGING
{'disable_existing_loggers': False,
'filters': {'require_debug_false': {'()': 'django.utils.log.RequireDebugFalse'},
'require_debug_true': {'()': 'django.utils.log.RequireDebugTrue'}},
'formatters': {'db': {'format': '[%(duration)s:%(sql)s:%(params)s] '
'%(message)s'},
'simple': {'format': '%(levelname)s %(message)s'},
'simplest': {'format': '%(message)s'},
'verbose': {'format': '[%(levelname)s:%(asctime)s:%(filename)s:%(lineno)s:%(funcName)s] '
'%(message)s'}},
'handlers': {'admin_command_file': {'class': 'ccg_django_utils.loghandlers.ParentPathFileHandler',
'filename': '/data/log/admin_command.log',
'formatter': 'verbose',
'level': 'INFO',
'when': 'midnight'},
'console': {'class': 'logging.StreamHandler',
'filters': ['require_debug_true'],
'formatter': 'verbose',
'level': 'DEBUG'},
'console_simple': {'class': 'logging.StreamHandler',
'formatter': 'simplest',
'level': 'DEBUG'},
'file': {'class': 'ccg_django_utils.loghandlers.ParentPathFileHandler',
'filename': '/data/log/registry.log',
'formatter': 'verbose',
'level': 'INFO',
'when': 'midnight'},
'mail_admins': {'class': 'django.utils.log.AdminEmailHandler',
'filters': ['require_debug_false'],
'include_html': True,
'level': 'ERROR'},
'null': {'class': 'logging.NullHandler', 'level': 'DEBUG'},
'shell': {'class': 'logging.StreamHandler',
'formatter': 'simple',
'level': 'DEBUG'}},
'loggers': {'': {'handlers': ['console', 'file'],
'level': 'DEBUG',
'propagate': True},
'django.db.backends': {'handlers': ['mail_admins'],
'level': 'CRITICAL',
'propagate': True},
'django.request': {'handlers': ['mail_admins'],
'level': 'ERROR',
'propagate': True},
'django.security': {'handlers': ['mail_admins'],
'level': 'ERROR',
'propagate': True},
'rdrf.export_import': {'formatter': 'simplest',
'handlers': ['console_simple'],
'level': 'DEBUG',
'propagate': False},
'rdrf.management.commands': {'handlers': ['shell',
'admin_command_file'],
'level': 'DEBUG',
'propagate': False}},
'version': 1}
LOGGING_CONFIG
'logging.config.dictConfig'
LOGIN_FAILURE_LIMIT
3
LOGIN_REDIRECT_URL
'/demo/'
LOGIN_URL
'/demo/account/login'
LOGOUT_REDIRECT_URL
None
LOG_DIRECTORY
'/data/log'
MANAGERS
[('alerts', 'rdrf@ccg.murdoch.edu.au')]
MEDIA_ROOT
'/data/static/media'
MEDIA_URL
'/demo/uploads/'
MESSAGE_STORAGE
'django.contrib.messages.storage.session.SessionStorage'
MESSAGE_TAGS
{20: 'alert alert-info', 25: 'alert alert-success', 40: 'alert alert-danger'}
MIDDLEWARE
('useraudit.middleware.RequestToThreadLocalMiddleware',
'django.middleware.common.CommonMiddleware',
'iprestrict.middleware.IPRestrictMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.locale.LocaleMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django_otp.middleware.OTPMiddleware',
'registry.common.middleware.EnforceTwoFactorAuthMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
'django.middleware.security.SecurityMiddleware',
'django_user_agents.middleware.UserAgentMiddleware')
MIGRATION_MODULES
{}
MONTH_DAY_FORMAT
'F j'
NUMBER_GROUPING
0
PASSWORD_EXPIRY_DAYS
'********************'
PASSWORD_EXPIRY_WARNING_DAYS
'********************'
PASSWORD_HASHERS
'********************'
PASSWORD_RESET_TIMEOUT_DAYS
'********************'
PREPEND_WWW
False
PRODUCTION
True
PROJECT_LOGO
''
PROJECT_LOGO_LINK
''
PROJECT_TITLE
'Rare Disease Registry Framework'
PROJECT_TITLE_LINK
'patientslisting'
PROMS_LOGO
''
PROMS_SECRET_TOKEN
'********************'
PROMS_USERNAME
'promsuser'
REST_FRAMEWORK
{'DEFAULT_AUTHENTICATION_CLASSES': ('rest_framework.authentication.BasicAuthentication',
'rest_framework.authentication.SessionAuthentication'),
'DEFAULT_PERMISSION_CLASSES': ('rest_framework.permissions.DjangoModelPermissions',),
'DEFAULT_VERSION': 'v1',
'DEFAULT_VERSIONING_CLASS': 'rest_framework.versioning.NamespaceVersioning'}
ROOT_URLCONF
'rdrf.urls'
SCRIPT_NAME
'/demo'
SECRET_KEY
'********************'
SECURE_BROWSER_XSS_FILTER
True
SECURE_CONTENT_TYPE_NOSNIFF
True
SECURE_HSTS_INCLUDE_SUBDOMAINS
False
SECURE_HSTS_PRELOAD
False
SECURE_HSTS_SECONDS
0
SECURE_PROXY_SSL_HEADER
None
SECURE_REDIRECT_EXEMPT
[]
SECURE_SSL_HOST
False
SECURE_SSL_REDIRECT
True
SERVER_EMAIL
'no-reply@mg.ccgapps.com.au'
SESSION_CACHE_ALIAS
'default'
SESSION_COOKIE_AGE
3600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_HTTPONLY
True
SESSION_COOKIE_NAME
'rdrf_demo'
SESSION_COOKIE_PATH
'/demo/'
SESSION_COOKIE_SAMESITE
'Lax'
SESSION_COOKIE_SECURE
True
SESSION_ENGINE
'django.contrib.sessions.backends.cache'
SESSION_EXPIRE_AT_BROWSER_CLOSE
True
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
True
SESSION_SERIALIZER
'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE
'rdrf.settings'
SHORT_DATETIME_FORMAT
'm/d/Y P'
SHORT_DATE_FORMAT
'm/d/Y'
SIGNING_BACKEND
'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS
[]
SITE_ID
1
STATICFILES_DIRS
[]
STATICFILES_FINDERS
['django.contrib.staticfiles.finders.FileSystemFinder',
'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE
'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT
'/data/static'
STATIC_SERVER_PATH
'/data/static'
STATIC_URL
'/demo/static/'
SYSTEM_ROLE
'NORMAL'
TEMPLATES
[{'APP_DIRS': False,
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': ['/env/lib/python3.7/site-packages/rdrf/templates'],
'OPTIONS': {'context_processors': ['django.contrib.auth.context_processors.auth',
'django.template.context_processors.debug',
'django.template.context_processors.i18n',
'django.template.context_processors.media',
'django.template.context_processors.request',
'django.template.context_processors.static',
'django.template.context_processors.tz',
'django.contrib.messages.context_processors.messages',
'rdrf.context_processors.context_processors.production',
'rdrf.context_processors.context_processors.common_settings',
'rdrf.context_processors.context_processors.cic_system_role'],
'debug': True,
'loaders': ['django.template.loaders.filesystem.Loader',
'django.template.loaders.app_directories.Loader',
'rdrf.template_loaders.translation.Loader']}}]
TEST_NON_SERIALIZED_APPS
[]
TEST_RUNNER
'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR
','
TIME_FORMAT
'P'
TIME_INPUT_FORMATS
['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
TIME_ZONE
'Australia/Perth'
USER_AGENTS_CACHE
'default'
USE_I18N
True
USE_L10N
False
USE_THOUSAND_SEPARATOR
False
USE_TZ
False
USE_X_FORWARDED_HOST
True
USE_X_FORWARDED_PORT
False
WEBAPP_ROOT
'/env/lib/python3.7/site-packages'
WRITABLE_DIRECTORY
'/data/scratch'
WSGI_APPLICATION
None
X_FRAME_OPTIONS
'DENY'
YEAR_MONTH_FORMAT
'F Y'
GET No GET data
POST No POST data
FILES No FILES data
COOKIES Variable Value csrf_rdrf_demo
<_io.TextIOWrapper name=2 mode='w' encoding='UTF-8'> wsgi.file_wrapper '' wsgi.input'u00fQK8yMGDX4PkBWCTXsL0mPVvEqMP06qPn2LXppYmjKc0saBsekzo2StwJcrzM' rdrf_demo
'6va7nkrcai65jjd7cau2ipv8dgaixouh' META Variable Value CONTENT_LENGTH
'' CONTENT_TYPE
'' CSRF_COOKIE 'u00fQK8yMGDX4PkBWCTXsL0mPVvEqMP06qPn2LXppYmjKc0saBsekzo2StwJcrzM' DOCUMENT_ROOT
'/data/www/rdrf-demo' HTTPS
'on' HTTP_ACCEPT 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,/;q=0.8,application/signed-exchange;v=b3' HTTP_ACCEPT_ENCODING
'gzip, deflate, br' HTTP_ACCEPT_LANGUAGE
'en-GB,en-US;q=0.9,en;q=0.8' HTTP_CACHE_CONTROL
'max-age=0' HTTP_COOKIE ('csrf_rdrf_demo=u00fQK8yMGDX4PkBWCTXsL0mPVvEqMP06qPn2LXppYmjKc0saBsekzo2StwJcrzM; ' 'rdrf_demo=6va7nkrcai65jjd7cau2ipv8dgaixouh') HTTP_HOST
'rdrf.ccgapps.com.au' HTTP_REFERER
'https://rdrf.ccgapps.com.au/demo/account/login?next=/demo/router/' HTTP_SCRIPT_NAME
'/demo' HTTP_SEC_FETCH_MODE 'navigate' HTTP_SEC_FETCH_SITE 'same-origin' HTTP_SEC_FETCH_USER '?1' HTTP_UPGRADE_INSECURE_REQUESTS
'1' HTTP_USER_AGENT ('Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) ' 'Chrome/76.0.3809.100 Safari/537.36') HTTP_X_AMZN_TRACE_ID
'Root=1-5d6f1aa4-54f262e04d6e813c639a3618' HTTP_X_FORWARDED_FOR
'134.115.245.210' HTTP_X_FORWARDED_PORT
'443' HTTP_X_FORWARDED_PROTO
'https' PATH_INFO
'/patientslisting' QUERY_STRING
'' REMOTE_ADDR '10.0.0.53' REMOTE_PORT '10850' REQUEST_METHOD
'GET' REQUEST_SCHEME
'https' REQUEST_URI '/demo/patientslisting' SCRIPT_NAME '/demo' SERVER_NAME 'rdrf.ccgapps.com.au' SERVER_PORT '443' SERVER_PROTOCOL 'HTTP/1.1' uwsgi.core
1 uwsgi.node
b'rdrf-demo' uwsgi.version
b'2.0.18' wsgi.errors
admin user had been set to parent group registration logic consider sparent will be user