IATI datastore powered by Apache Solr. Automatically Extracts and parses IATI XML files referenced in the IATI Registry & refreshed every 3 hrs. IATI is a global initiative to improve the transparency of development and humanitarian resources and their results for addressing poverty and crises.
Exception Type: AttributeError at /api/locations/
Exception Value: Cannot find 'locationname_set' on Location object, 'locationname_set' is an invalid parameter to prefetch_related()
Request information:
USER: AnonymousUser
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.
https://dev.oipa.nl/api/locations/?format=json
Renders error:
AttributeError at /api/locations/ Cannot find 'locationname_set' on Location object, 'locationname_set' is an invalid parameter to prefetch_related()
Request Method: GET Request URL: https://dev.oipa.nl/api/locations/?format=json Django Version: 1.10.5 Python Executable: /home/oipa/envs/oipa/bin/uwsgi Python Version: 2.7.6 Python Path: ['/home/oipa/OIPA/OIPA/OIPA/../lib', '.', '', '/home/oipa/envs/oipa/lib/python2.7', '/home/oipa/envs/oipa/lib/python2.7/plat-x86_64-linux-gnu', '/home/oipa/envs/oipa/lib/python2.7/lib-tk', '/home/oipa/envs/oipa/lib/python2.7/lib-old', '/home/oipa/envs/oipa/lib/python2.7/lib-dynload', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk', '/home/oipa/envs/oipa/local/lib/python2.7/site-packages'] Server time: Tue, 21 Mar 2017 11:19:42 +0100 Installed Applications: ['django_rq', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.messages', 'django.contrib.staticfiles', 'grappelli', 'django.contrib.admin', 'autocomplete_light', 'django.contrib.admindocs', 'django.contrib.gis', 'corsheaders', 'common', 'iati.apps.IatiConfig', 'iati_organisation.apps.IatiOrganisationConfig', 'iati_synchroniser.apps.IatiSynchroniserConfig', 'geodata.apps.GeodataConfig', 'currency_convert.apps.CurrencyConvertConfig', 'api', 'task_queue', 'djsupervisor', 'rest_framework', 'rest_framework_csv', 'django_otp', 'django_otp.plugins.otp_static', 'django_otp.plugins.otp_totp', 'otp_yubikey', 'two_factor', 'django_extensions', 'iati_vocabulary.apps.IatiVocabularyConfig', 'iati_codelists.apps.IatiCodelistsConfig', 'test_without_migrations', 'nested_admin', 'djorm_pgfulltext', 'admin_reorder', 'rest_framework.authtoken', 'iati.permissions', 'rest_auth', 'allauth', 'allauth.account', 'rest_auth.registration'] Installed Middleware: ['corsheaders.middleware.CorsMiddleware', 'django.middleware.security.SecurityMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django_otp.middleware.OTPMiddleware', 'django.contrib.auth.middleware.SessionAuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'admin_reorder.middleware.ModelAdminReorder']
Traceback:
File "/home/oipa/envs/oipa/local/lib/python2.7/site-packages/django/core/handlers/exception.py" in inner
File "/home/oipa/envs/oipa/local/lib/python2.7/site-packages/django/core/handlers/base.py" in _legacy_get_response
File "/home/oipa/envs/oipa/local/lib/python2.7/site-packages/django/core/handlers/base.py" in _get_response
File "/home/oipa/envs/oipa/local/lib/python2.7/site-packages/django/core/handlers/base.py" in _get_response
File "/home/oipa/envs/oipa/local/lib/python2.7/site-packages/django/views/decorators/csrf.py" in wrapped_view
File "/home/oipa/envs/oipa/local/lib/python2.7/site-packages/django/views/generic/base.py" in view
File "/home/oipa/envs/oipa/local/lib/python2.7/site-packages/rest_framework/views.py" in dispatch
File "/home/oipa/envs/oipa/local/lib/python2.7/site-packages/rest_framework/views.py" in handle_exception
File "/home/oipa/envs/oipa/local/lib/python2.7/site-packages/rest_framework/views.py" in dispatch
File "/home/oipa/envs/oipa/local/lib/python2.7/site-packages/rest_framework/generics.py" in get
File "/home/oipa/envs/oipa/local/lib/python2.7/site-packages/rest_framework/mixins.py" in list
File "/home/oipa/envs/oipa/local/lib/python2.7/site-packages/rest_framework/generics.py" in paginate_queryset
File "/home/oipa/envs/oipa/local/lib/python2.7/site-packages/rest_framework/pagination.py" in paginate_queryset
File "/home/oipa/envs/oipa/lib/python2.7/_abcoll.py" in iter
File "/home/oipa/envs/oipa/local/lib/python2.7/site-packages/django/core/paginator.py" in getitem
File "/home/oipa/envs/oipa/local/lib/python2.7/site-packages/django/db/models/query.py" in iter
File "/home/oipa/envs/oipa/local/lib/python2.7/site-packages/django/db/models/query.py" in _fetch_all
File "/home/oipa/envs/oipa/local/lib/python2.7/site-packages/django/db/models/query.py" in _prefetch_related_objects
File "/home/oipa/envs/oipa/local/lib/python2.7/site-packages/django/db/models/query.py" in prefetch_related_objects
Exception Type: AttributeError at /api/locations/ Exception Value: Cannot find 'locationname_set' on Location object, 'locationname_set' is an invalid parameter to prefetch_related() Request information: USER: AnonymousUser
GET: format = u'json'
POST: No POST data
FILES: No FILES data
COOKIES: csrftoken = '4JSiT6HjuEjayGwwT3NMvyRje3fZii8LfqM05pe5Gkmo9sjsTPT4jmYYQLik0yXs'
META: CONTENT_LENGTH = '' CONTENT_TYPE = '' CSRF_COOKIE = '4JSiT6HjuEjayGwwT3NMvyRje3fZii8LfqM05pe5Gkmo9sjsTPT4jmYYQLik0yXs' DOCUMENT_ROOT = '/usr/share/nginx/html' HTTP_ACCEPT = 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,/;q=0.8' HTTP_ACCEPT_ENCODING = 'gzip, deflate, sdch, br' HTTP_ACCEPT_LANGUAGE = 'en-US,en;q=0.8,nl;q=0.6,sv;q=0.4' HTTP_CONNECTION = 'keep-alive' HTTP_COOKIE = 'csrftoken=4JSiT6HjuEjayGwwT3NMvyRje3fZii8LfqM05pe5Gkmo9sjsTPT4jmYYQLik0yXs' HTTP_DNT = '1' HTTP_HOST = 'dev.oipa.nl' HTTP_REFERER = 'https://dev.oipa.nl/api/?format=json' HTTP_UPGRADE_INSECURE_REQUESTS = '1' HTTP_USER_AGENT = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36' HTTP_X_COOKIESOK = 'I explicitly accept all cookies' PATH_INFO = u'/api/locations/' QUERY_STRING = 'format=json' REMOTE_ADDR = '104.250.163.60' REMOTE_PORT = '62051' REQUEST_METHOD = 'GET' REQUEST_URI = '/api/locations/?format=json' SCRIPT_NAME = u'' SERVER_NAME = 'dev.oipa.nl' SERVER_PORT = '443' SERVER_PROTOCOL = 'HTTP/1.1' UWSGI_SCHEME = 'https' uwsgi.node = 'dev' uwsgi.version = '2.0.12' wsgi.errors = <open file 'wsgi_errors', mode 'w' at 0x7f2b888554b0> wsgi.file_wrapper = '' wsgi.input = <uwsgi._Input object at 0x7f2b8790edf8> wsgi.multiprocess = True wsgi.multithread = False wsgi.run_once = False wsgi.url_scheme = 'https' wsgi.version =
Settings: Using settings module OIPA.production_settings ABSOLUTE_URL_OVERRIDES = {} ACCOUNT_EMAIL_VERIFICATION = 'none' ADMINFILES_UPLOAD_TO = 'csv_files' ADMINS = [] ADMIN_REORDER = ALLOWED_HOSTS = ['*'] API_CACHE_SECONDS = u'****' APPEND_SLASH = True AUTHENTICATION_BACKENDS = [u'django.contrib.auth.backends.ModelBackend'] AUTH_PASSWORD_VALIDATORS = u'****' AUTH_USER_MODEL = u'auth.User' BASE_DIR = '/home/oipa/OIPA/OIPA' CACHES = {'default': {'LOCATION': 'localhost:6379', 'BACKEND': 'redis_cache.RedisCache'}} CACHE_MIDDLEWARE_ALIAS = u'default' CACHE_MIDDLEWARE_KEY_PREFIX = u'****' CACHE_MIDDLEWARE_SECONDS = 600 CKAN_URL = 'https://iati-staging.ckan.io' CONVERT_CURRENCIES = True CORS_ALLOW_METHODS = 'GET' CORS_ORIGIN_ALLOW_ALL = True CORS_URLS_REGEX = '^/api/.*$' CSRF_COOKIE_AGE = 31449600 CSRF_COOKIE_DOMAIN = None CSRF_COOKIE_HTTPONLY = False CSRF_COOKIE_NAME = u'csrftoken' CSRF_COOKIE_PATH = u'/' CSRF_COOKIE_SECURE = False CSRF_FAILURE_VIEW = u'django.views.csrf.csrf_failure' CSRF_HEADER_NAME = u'HTTP_X_CSRFTOKEN' CSRF_TRUSTED_ORIGINS = [] DATABASES = {'default': {'ENGINE': 'django.contrib.gis.db.backends.postgis', 'AUTOCOMMIT': True, 'ATOMIC_REQUESTS': False, 'NAME': 'oipa_dev', 'CONN_MAX_AGE': 500, 'TIME_ZONE': None, 'OPTIONS': {}, 'HOST': '127.0.0.1', 'USER': 'oipa', 'TEST': {'COLLATION': None, 'CHARSET': None, 'NAME': None, 'MIRROR': None}, 'PASSWORD': u'****', 'PORT': ''}} DATABASE_ROUTERS = [] DATA_UPLOAD_MAX_MEMORY_SIZE = 2621440 DATA_UPLOAD_MAX_NUMBER_FIELDS = 3000 DATETIME_FORMAT = u'N j, Y, P' DATETIME_INPUT_FORMATS = [u'%Y-%m-%d %H:%M:%S', u'%Y-%m-%d %H:%M:%S.%f', u'%Y-%m-%d %H:%M', u'%Y-%m-%d', u'%m/%d/%Y %H:%M:%S', u'%m/%d/%Y %H:%M:%S.%f', u'%m/%d/%Y %H:%M', u'%m/%d/%Y', u'%m/%d/%y %H:%M:%S', u'%m/%d/%y %H:%M:%S.%f', u'%m/%d/%y %H:%M', u'%m/%d/%y'] DATE_FORMAT = u'N j, Y' DATE_INPUT_FORMATS = [u'%Y-%m-%d', u'%m/%d/%Y', u'%m/%d/%y', u'%b %d %Y', u'%b %d, %Y', u'%d %b %Y', u'%d %b, %Y', u'%B %d %Y', u'%B %d, %Y', u'%d %B %Y', u'%d %B, %Y'] DEBUG = True DEBUG_PROPAGATE_EXCEPTIONS = False DEBUG_TOOLBAR_CONFIG = {'SHOW_TOOLBAR_CALLBACK': 'OIPA.settings.show_toolbar'} DEBUG_TOOLBAR_PANELS = ['debug_toolbar.panels.timer.TimerPanel', 'debug_toolbar.panels.sql.SQLPanel', 'debug_toolbar.panels.cache.CachePanel'] DECIMAL_SEPARATOR = u'.' DEFAULT_CHARSET = u'utf-8' DEFAULT_CONTENT_TYPE = u'text/html' DEFAULT_EXCEPTION_REPORTER_FILTER = u'django.views.debug.SafeExceptionReporterFilter' DEFAULT_FILE_STORAGE = u'django.core.files.storage.FileSystemStorage' DEFAULT_FROM_EMAIL = u'webmaster@localhost' DEFAULT_INDEX_TABLESPACE = u'' DEFAULT_LANG = 'en' DEFAULT_TABLESPACE = u'' DISALLOWED_USER_AGENTS = [] EMAIL_BACKEND = u'django.core.mail.backends.smtp.EmailBackend' EMAIL_HOST = u'localhost' EMAIL_HOST_PASSWORD = u'****' EMAIL_HOST_USER = u'' EMAIL_PORT = 25 EMAIL_SSL_CERTFILE = None EMAIL_SSL_KEYFILE = u'****' EMAIL_SUBJECT_PREFIX = u'[Django] ' EMAIL_TIMEOUT = None EMAIL_USE_SSL = False EMAIL_USE_TLS = False ERROR_LOGS_ENABLED = True FILE_CHARSET = u'utf-8' FILE_UPLOAD_DIRECTORY_PERMISSIONS = None FILE_UPLOAD_HANDLERS = [u'django.core.files.uploadhandler.MemoryFileUploadHandler', u'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 = None FORMAT_MODULE_PATH = None GRAPPELLI_ADMIN_TITLE = 'OIPA admin' IATI_PARSER_DISABLED = False IGNORABLE_404_URLS = [] INSTALLED_APPS = ['django_rq', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.messages', 'django.contrib.staticfiles', 'grappelli', 'django.contrib.admin', 'autocomplete_light', 'django.contrib.admindocs', 'django.contrib.gis', 'corsheaders', 'common', 'iati.apps.IatiConfig', 'iati_organisation.apps.IatiOrganisationConfig', 'iati_synchroniser.apps.IatiSynchroniserConfig', 'geodata.apps.GeodataConfig', 'currency_convert.apps.CurrencyConvertConfig', 'api', 'task_queue', 'djsupervisor', 'rest_framework', 'rest_framework_csv', 'django_otp', 'django_otp.plugins.otp_static', 'django_otp.plugins.otp_totp', 'otp_yubikey', 'two_factor', 'django_extensions', 'iati_vocabulary.apps.IatiVocabularyConfig', 'iati_codelists.apps.IatiCodelistsConfig', 'test_without_migrations', 'nested_admin', 'djorm_pgfulltext', 'admin_reorder', 'rest_framework.authtoken', 'iati.permissions', 'rest_auth', 'allauth', 'allauth.account', 'rest_auth.registration'] INTERNAL_IPS = [] LANGUAGES = [(u'af', u'Afrikaans'), (u'ar', u'Arabic'), (u'ast', u'Asturian'), (u'az', u'Azerbaijani'), (u'bg', u'Bulgarian'), (u'be', u'Belarusian'), (u'bn', u'Bengali'), (u'br', u'Breton'), (u'bs', u'Bosnian'), (u'ca', u'Catalan'), (u'cs', u'Czech'), (u'cy', u'Welsh'), (u'da', u'Danish'), (u'de', u'German'), (u'dsb', u'Lower Sorbian'), (u'el', u'Greek'), (u'en', u'English'), (u'en-au', u'Australian English'), (u'en-gb', u'British English'), (u'eo', u'Esperanto'), (u'es', u'Spanish'), (u'es-ar', u'Argentinian Spanish'), (u'es-co', u'Colombian Spanish'), (u'es-mx', u'Mexican Spanish'), (u'es-ni', u'Nicaraguan Spanish'), (u'es-ve', u'Venezuelan Spanish'), (u'et', u'Estonian'), (u'eu', u'Basque'), (u'fa', u'Persian'), (u'fi', u'Finnish'), (u'fr', u'French'), (u'fy', u'Frisian'), (u'ga', u'Irish'), (u'gd', u'Scottish Gaelic'), (u'gl', u'Galician'), (u'he', u'Hebrew'), (u'hi', u'Hindi'), (u'hr', u'Croatian'), (u'hsb', u'Upper Sorbian'), (u'hu', u'Hungarian'), (u'ia', u'Interlingua'), (u'id', u'Indonesian'), (u'io', u'Ido'), (u'is', u'Icelandic'), (u'it', u'Italian'), (u'ja', u'Japanese'), (u'ka', u'Georgian'), (u'kk', u'Kazakh'), (u'km', u'Khmer'), (u'kn', u'Kannada'), (u'ko', u'Korean'), (u'lb', u'Luxembourgish'), (u'lt', u'Lithuanian'), (u'lv', u'Latvian'), (u'mk', u'Macedonian'), (u'ml', u'Malayalam'), (u'mn', u'Mongolian'), (u'mr', u'Marathi'), (u'my', u'Burmese'), (u'nb', u'Norwegian Bokm\xe5l'), (u'ne', u'Nepali'), (u'nl', u'Dutch'), (u'nn', u'Norwegian Nynorsk'), (u'os', u'Ossetic'), (u'pa', u'Punjabi'), (u'pl', u'Polish'), (u'pt', u'Portuguese'), (u'pt-br', u'Brazilian Portuguese'), (u'ro', u'Romanian'), (u'ru', u'Russian'), (u'sk', u'Slovak'), (u'sl', u'Slovenian'), (u'sq', u'Albanian'), (u'sr', u'Serbian'), (u'sr-latn', u'Serbian Latin'), (u'sv', u'Swedish'), (u'sw', u'Swahili'), (u'ta', u'Tamil'), (u'te', u'Telugu'), (u'th', u'Thai'), (u'tr', u'Turkish'), (u'tt', u'Tatar'), (u'udm', u'Udmurt'), (u'uk', u'Ukrainian'), (u'ur', u'Urdu'), (u'vi', u'Vietnamese'), (u'zh-hans', u'Simplified Chinese'), (u'zh-hant', u'Traditional Chinese')] LANGUAGES_BIDI = [u'he', u'ar', u'fa', u'ur'] LANGUAGE_CODE = 'en-us' LANGUAGE_COOKIE_AGE = None LANGUAGE_COOKIE_DOMAIN = None LANGUAGE_COOKIE_NAME = u'django_language' LANGUAGE_COOKIE_PATH = u'/' LOCALE_PATHS = [] LOGGING = {} LOGGING_CONFIG = u'logging.config.dictConfig' LOGIN_REDIRECT_URL = '/admin/' LOGIN_URL = <django.utils.functional.proxy object at 0x7f2b98acd450> LOGOUT_REDIRECT_URL = None LOGOUT_URL = '/logout' MANAGERS = [] MEDIA_ROOT = '/home/oipa/OIPA/OIPA/media' MEDIA_URL = '/media/' MESSAGE_STORAGE = u'django.contrib.messages.storage.fallback.FallbackStorage' MIDDLEWARE = None MIDDLEWARE_CLASSES = ['corsheaders.middleware.CorsMiddleware', 'django.middleware.security.SecurityMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django_otp.middleware.OTPMiddleware', 'django.contrib.auth.middleware.SessionAuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'admin_reorder.middleware.ModelAdminReorder'] MIGRATION_MODULES = {} MONTH_DAY_FORMAT = u'F j' NUMBER_GROUPING = 0 PASSWORD_HASHERS = u'****' PASSWORD_RESET_TIMEOUT_DAYS = u'****' PREPEND_WWW = False REST_AUTH_REGISTER_SERIALIZERS = {'REGISTER_SERIALIZER': 'api.permissions.serializers.RegistrationSerializer'} REST_AUTH_SERIALIZERS = {'USER_DETAILS_SERIALIZER': 'api.permissions.serializers.UserSerializer'} REST_FRAMEWORK = {'DEFAULT_AUTHENTICATION_CLASSES': ('rest_framework.authentication.BasicAuthentication', 'rest_framework.authentication.SessionAuthentication', 'rest_framework.authentication.TokenAuthentication'), 'DEFAULT_FILTER_BACKENDS': ('rest_framework.filters.DjangoFilterBackend',), 'PAGE_SIZE': 10, 'DEFAULT_RENDERER_CLASSES': ('rest_framework.renderers.BrowsableAPIRenderer', 'rest_framework.renderers.JSONRenderer', 'api.renderers.PaginatedCSVRenderer'), 'DEFAULT_PARSER_CLASSES': ('rest_framework.parsers.JSONParser',), 'DEFAULT_PAGINATION_CLASS': 'api.pagination.CustomPagination'} ROOT_ORGANISATIONS = [] ROOT_URLCONF = 'OIPA.urls' RQ_QUEUES = {'default': {'DB': 0, 'HOST': 'localhost', 'DEFAULT_TIMEOUT': 3600, 'PORT': 6379}, 'document_collector': {'DB': 0, 'HOST': 'localhost', 'DEFAULT_TIMEOUT': 5400, 'PORT': 6379}, 'parser': {'DB': 0, 'HOST': 'localhost', 'DEFAULT_TIMEOUT': 5400, 'PORT': 6379}, 'export': {'DB': 0, 'HOST': 'localhost', 'DEFAULT_TIMEOUT': 5400, 'PORT': 6379}} RQ_SHOW_ADMIN_LINK = True SECRET_KEY = u'****' SECURE_BROWSER_XSS_FILTER = False SECURE_CONTENT_TYPE_NOSNIFF = False SECURE_HSTS_INCLUDE_SUBDOMAINS = False SECURE_HSTS_SECONDS = 0 SECURE_PROXY_SSL_HEADER = None SECURE_REDIRECT_EXEMPT = [] SECURE_SSL_HOST = None SECURE_SSL_REDIRECT = False SERVER_EMAIL = u'root@localhost' SESSION_CACHE_ALIAS = u'default' SESSION_COOKIE_AGE = 1209600 SESSION_COOKIE_DOMAIN = None SESSION_COOKIE_HTTPONLY = True SESSION_COOKIE_NAME = u'sessionid' SESSION_COOKIE_PATH = u'/' SESSION_COOKIE_SECURE = False SESSION_ENGINE = u'django.contrib.sessions.backends.db' SESSION_EXPIRE_AT_BROWSER_CLOSE = False SESSION_FILE_PATH = None SESSION_SAVE_EVERY_REQUEST = False SESSION_SERIALIZER = u'django.contrib.sessions.serializers.JSONSerializer' SETTINGS_MODULE = 'OIPA.production_settings' SHORT_DATETIME_FORMAT = u'm/d/Y P' SHORT_DATE_FORMAT = u'm/d/Y' SIGNING_BACKEND = u'django.core.signing.TimestampSigner' SILENCED_SYSTEM_CHECKS = [] SITE_ID = 1 STATICFILES_DIRS = '/home/oipa/OIPA/OIPA/static/' STATICFILES_FINDERS = STATICFILES_STORAGE = u'django.contrib.staticfiles.storage.StaticFilesStorage' STATIC_ROOT = 'static-root/' STATIC_URL = '/static/' TEMPLATES = [{'DIRS': ('./OIPA/../templates',), 'APP_DIRS': True, '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.static', 'django.template.context_processors.request', 'django.template.context_processors.tz', 'django.contrib.messages.context_processors.messages']}, 'BACKEND': 'django.template.backends.django.DjangoTemplates'}] TEST_NON_SERIALIZED_APPS = [] TEST_RUNNER = 'django.test.runner.DiscoverRunner' THOUSAND_SEPARATOR = u',' TIME_FORMAT = u'P' TIME_INPUT_FORMATS = [u'%H:%M:%S', u'%H:%M:%S.%f', u'%H:%M'] TIME_ZONE = 'Europe/Amsterdam' USE_ETAGS = False USE_I18N = True USE_L10N = True USE_THOUSAND_SEPARATOR = False USE_TZ = False USE_X_FORWARDED_HOST = False USE_X_FORWARDED_PORT = False WSGI_APPLICATION = 'OIPA.wsgi.application' X_FRAME_OPTIONS = u'SAMEORIGIN' YEAR_MONTH_FORMAT = u'F Y'
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.