Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError at /smartpanel/layout/54670d752e27/ 'str' object has no attribute 'items' #328

Open
jw35 opened this issue Sep 2, 2019 · 0 comments

Comments

@jw35
Copy link
Collaborator

jw35 commented Sep 2, 2019

Internal Server Error: /smartpanel/layout/54670d752e27/

AttributeError at /smartpanel/layout/54670d752e27/
'str' object has no attribute 'items'

Request Method: GET
Request URL: https://smartcambridge.org/smartpanel/layout/54670d752e27/
Django Version: 1.11.20
Python Executable: /home/tfc_prod/tfc_web_venv/bin/python3
Python Version: 3.5.2
Python Path: ['/home/tfc_prod/tfc_web/tfc_web', '/home/tfc_prod/tfc_web_venv/bin', '/usr/lib/python35.zip', '/usr/lib/python3.5', '/usr/lib/python3.5/plat-x86_64-linux-gnu', '/usr/lib/python3.5/lib-dynload', '/home/tfc_prod/tfc_web_venv/lib/python3.5/site-packages']
Server time: Fri, 30 Aug 2019 15:24:10 +0100
Installed Applications:
['django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'django.contrib.gis',
'django.contrib.sites',
'allauth',
'allauth.account',
'allauth.socialaccount',
'rest_framework',
'corsheaders',
'tfc_gis',
'transport',
'parking',
'traffic',
'aq',
'csn',
'smartpanel',
'api',
'authmultitoken',
'smartcambridge',
'bikes',
'mptt',
'haystack',
'widget_tweaks',
'machina',
'machina.apps.forum',
'machina.apps.forum_conversation',
'machina.apps.forum_conversation.forum_attachments',
'machina.apps.forum_conversation.forum_polls',
'machina.apps.forum_feeds',
'machina.apps.forum_moderation',
'machina.apps.forum_search',
'machina.apps.forum_tracking',
'machina.apps.forum_member',
'machina.apps.forum_permission']
Installed Middleware:
['corsheaders.middleware.CorsMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'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',
'django.middleware.security.SecurityMiddleware',
'whitenoise.middleware.WhiteNoiseMiddleware',
'machina.apps.forum_permission.middleware.ForumPermissionMiddleware']


Traceback:  

File "/home/tfc_prod/tfc_web_venv/lib/python3.5/site-packages/django/core/handlers/exception.py" in inner
 41.             response = get_response(request)

File "/home/tfc_prod/tfc_web_venv/lib/python3.5/site-packages/django/core/handlers/base.py" in _legacy_get_response
 249.             response = self._get_response(request)

File "/home/tfc_prod/tfc_web_venv/lib/python3.5/site-packages/django/core/handlers/base.py" in _get_response
 187.                 response = self.process_exception_by_middleware(e, request)

File "/home/tfc_prod/tfc_web_venv/lib/python3.5/site-packages/django/core/handlers/base.py" in _get_response
 185.                 response = wrapped_callback(request, *callback_args, **callback_kwargs)

File "/home/tfc_prod/tfc_web/tfc_web/smartpanel/views/smartpanel.py" in layout
 212.     for key, value in widgets.items():

Exception Type: AttributeError at /smartpanel/layout/54670d752e27/
Exception Value: 'str' object has no attribute 'items'
Request information:
USER: saraaziz

GET: No GET data

POST: No POST data

FILES: No FILES data

COOKIES:
csrftoken = 'kzsSqu1GnNEi098MI3eyVfuQ9nCYZzVrdxljBTjjWsmYmLpfZnb08mOzIQO9AEyH'
sessionid = 'k0ay8bb1o2j02fz3lqlrrk156l2pjy58'

META:
CSRF_COOKIE = 'kzsSqu1GnNEi098MI3eyVfuQ9nCYZzVrdxljBTjjWsmYmLpfZnb08mOzIQO9AEyH'
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-US,en;q=0.9'
HTTP_CONNECTION = 'close'
HTTP_COOKIE = 'csrftoken=kzsSqu1GnNEi098MI3eyVfuQ9nCYZzVrdxljBTjjWsmYmLpfZnb08mOzIQO9AEyH; sessionid=k0ay8bb1o2j02fz3lqlrrk156l2pjy58'
HTTP_HOST = 'smartcambridge.org'
HTTP_REFERER = 'https://smartcambridge.org/smartpanel/layouts/list/'
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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.132 Safari/537.36'
HTTP_X_FORWARDED_FOR = '128.232.195.97'
HTTP_X_FORWARDED_HOST = 'smartcambridge.org'
HTTP_X_FORWARDED_PROTO = 'https'
HTTP_X_FORWARDED_SERVER = 'smartcambridge.org'
HTTP_X_REAL_IP = '128.232.195.97'
PATH_INFO = '/smartpanel/layout/54670d752e27/'
QUERY_STRING = ''
RAW_URI = '/smartpanel/layout/54670d752e27/'
REMOTE_ADDR = '127.0.0.1'
REMOTE_PORT = '59854'
REQUEST_METHOD = 'GET'
SCRIPT_NAME = ''
SERVER_NAME = '127.0.0.1'
SERVER_PORT = '8000'
SERVER_PROTOCOL = 'HTTP/1.0'
SERVER_SOFTWARE = 'gunicorn/19.7.0'
gunicorn.socket = <socket.socket fd=24, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 8000), raddr=('127.0.0.1', 59854)>
wsgi.errors = <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f3bd6f50898>
wsgi.file_wrapper = ''
wsgi.input = <gunicorn.http.body.Body object at 0x7f3bd6f50c50>
wsgi.multiprocess = True
wsgi.multithread = True
wsgi.run_once = False
wsgi.url_scheme = 'https'
wsgi.version = '(1, 0)'

Settings:
Using settings module tfc_web.settings_production
ABSOLUTE_URL_OVERRIDES = {}
ACCOUNT_AUTHENTICATION_METHOD = 'email'
ACCOUNT_EMAIL_REQUIRED = True
ACCOUNT_EMAIL_VERIFICATION = 'mandatory'
ACCOUNT_PRESERVE_USERNAME_CASING = False
ADMINS = [('SmartCambridge Admins', '[email protected]')]
ALLOWED_HOSTS = ['smartcambridge.org', 'www.smartcambridge.org', '.cl.cam.ac.uk', 'localhost', '127.0.0.1', '[::1]']
API_ENDPOINT = '********************'
APPEND_SLASH = True
AUTHENTICATION_BACKENDS = ['django.contrib.auth.backends.ModelBackend', 'allauth.account.auth_backends.AuthenticationBackend']
AUTH_PASSWORD_VALIDATORS = '********************'
AUTH_USER_MODEL = 'auth.User'
BASE_DIR = '/home/tfc_prod/tfc_web/tfc_web'
CACHES = {'machina_attachments': {'LOCATION': '/tmp', 'BACKEND': 'django.core.cache.backends.filebased.FileBasedCache'}, 'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}}
CACHE_MIDDLEWARE_ALIAS = 'default'
CACHE_MIDDLEWARE_KEY_PREFIX = '********************'
CACHE_MIDDLEWARE_SECONDS = 600
CORS_ORIGIN_ALLOW_ALL = True
CSN_PREFIX = 'prod'
CSRF_COOKIE_AGE = 31449600
CSRF_COOKIE_DOMAIN = None
CSRF_COOKIE_HTTPONLY = False
CSRF_COOKIE_NAME = 'csrftoken'
CSRF_COOKIE_PATH = '/'
CSRF_COOKIE_SECURE = False
CSRF_FAILURE_VIEW = 'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME = 'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS = []
CSRF_USE_SESSIONS = False
DATABASES = {'default': {'NAME': 'tfcweb', 'ATOMIC_REQUESTS': False, 'ENGINE': 'django.contrib.gis.db.backends.postgis', 'PASSWORD': '********************', 'OPTIONS': {}, 'TEST': {'NAME': None, 'MIRROR': None, 'CHARSET': None, 'COLLATION': None}, 'TIME_ZONE': None, 'HOST': '', 'CONN_MAX_AGE': 0, 'USER': '', 'AUTOCOMMIT': True, 'PORT': ''}}
DATABASE_PASSWORD = '********************'
DATABASE_ROUTERS = []
DATA_DIR = '/home/tfc_prod/tfc_web/tfc_web/data'
DATA_PATH = '/media/tfc'
DATA_UPLOAD_MAX_MEMORY_SIZE = 2621440
DATA_UPLOAD_MAX_NUMBER_FIELDS = 1000
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 = 'l j F 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']
DEBUG = False
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 = '[email protected]'
DEFAULT_INDEX_TABLESPACE = ''
DEFAULT_TABLESPACE = ''
DISALLOWED_USER_AGENTS = []
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST = 'ppsw.cam.ac.uk'
EMAIL_HOST_PASSWORD = '********************'
EMAIL_HOST_USER = ''
EMAIL_PORT = 25
EMAIL_SSL_CERTFILE = None
EMAIL_SSL_KEYFILE = '********************'
EMAIL_SUBJECT_PREFIX = '[Django] '
EMAIL_TIMEOUT = None
EMAIL_USE_LOCALTIME = False
EMAIL_USE_SSL = False
EMAIL_USE_TLS = False
EVERYNET_API_ENDPOINT = '********************'
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 = None
FORMAT_MODULE_PATH = None
FORM_RENDERER = 'django.forms.renderers.DjangoTemplates'
HAYSTACK_CONNECTIONS = {'default': {'ENGINE': 'haystack.backends.simple_backend.SimpleEngine'}}
IGNORABLE_404_URLS = []
INSTALLED_APPS = ['django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.gis', 'django.contrib.sites', 'allauth', 'allauth.account', 'allauth.socialaccount', 'rest_framework', 'corsheaders', 'tfc_gis', 'transport', 'parking', 'traffic', 'aq', 'csn', 'smartpanel', 'api', 'authmultitoken', 'smartcambridge', 'bikes', 'mptt', 'haystack', 'widget_tweaks', 'machina', 'machina.apps.forum', 'machina.apps.forum_conversation', 'machina.apps.forum_conversation.forum_attachments', 'machina.apps.forum_conversation.forum_polls', 'machina.apps.forum_feeds', 'machina.apps.forum_moderation', 'machina.apps.forum_search', 'machina.apps.forum_tracking', 'machina.apps.forum_member', 'machina.apps.forum_permission']
INTERNAL_IPS = []
JS_API_KEY = '********************'
LANGUAGES = [('af', 'Afrikaans'), ('ar', 'Arabic'), ('ast', 'Asturian'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('dsb', 'Lower Sorbian'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-co', 'Colombian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy', 'Frisian'), ('ga', 'Irish'), ('gd', 'Scottish Gaelic'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hsb', 'Upper Sorbian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmål'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese')]
LANGUAGES_BIDI = ['he', 'ar', 'fa', 'ur']
LANGUAGE_CODE = 'en-gb'
LANGUAGE_COOKIE_AGE = None
LANGUAGE_COOKIE_DOMAIN = None
LANGUAGE_COOKIE_NAME = 'django_language'
LANGUAGE_COOKIE_PATH = '/'
LOCALE_PATHS = []
LOCAL_API_KEY = '********************'
LOGGING = {'version': 1, 'formatters': {'detail': {'format': '[%(asctime)s] [%(name)s] [%(levelname)s] - %(message)s', 'datefmt': ''}}, 'disable_existing_loggers': False, 'loggers': {'django.request': {'propagate': False, 'level': 'ERROR', 'handlers': ['mail_admins']}}, 'root': {'level': 'INFO', 'handlers': ['console']}, 'handlers': {'console': {'formatter': 'detail', 'class': 'logging.StreamHandler', 'level': 'DEBUG'}, 'mail_admins': {'include_html': False, 'class': 'smartcambridge.admin_email.AdminEmailHandler', 'level': 'ERROR'}}}
LOGGING_CONFIG = 'logging.config.dictConfig'
LOGIN_REDIRECT_URL = 'home'
LOGIN_URL = '/accounts/login/'
LOGOUT_REDIRECT_URL = None
LW_ACCESS_TOKEN = '********************'
LW_APP_EUI = '28e8280872db83d3'
MACHINA_DEFAULT_AUTHENTICATED_USER_FORUM_PERMISSIONS = ['can_see_forum', 'can_read_forum', 'can_start_new_topics', 'can_reply_to_topics', 'can_edit_own_posts', 'can_post_without_approval', 'can_create_polls', 'can_vote_in_polls', 'can_download_file']
MACHINA_FORUM_NAME = 'SmartCambridge Forum'
MACHINA_MAIN_STATIC_DIR = '/home/tfc_prod/tfc_web_venv/lib/python3.5/site-packages/machina/static/machina/build'
MACHINA_MAIN_TEMPLATE_DIR = '/home/tfc_prod/tfc_web_venv/lib/python3.5/site-packages/machina/templates/machina'
MANAGERS = []
MEDIA_ROOT = '/home/tfc_prod/tfc_web/tfc_web/media'
MEDIA_URL = '/media/'
MESSAGE_STORAGE = 'django.contrib.messages.storage.fallback.FallbackStorage'
METOFFICE_KEY = '********************'
MIDDLEWARE = None
MIDDLEWARE_CLASSES = ['corsheaders.middleware.CorsMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', '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', 'django.middleware.security.SecurityMiddleware', 'whitenoise.middleware.WhiteNoiseMiddleware', 'machina.apps.forum_permission.middleware.ForumPermissionMiddleware']
MIGRATION_MODULES = {}
MONTH_DAY_FORMAT = 'F j'
NEW_API_ENDPOINT = '********************'
NRE_API_KEY = '********************'
NUMBER_GROUPING = 0
OFO_TOKEN = '********************'
PASSWORD_HASHERS = '********************'
PASSWORD_RESET_TIMEOUT_DAYS = '********************'
PREPEND_WWW = False
PROJECT_APPS = ['tfc_gis', 'transport', 'parking', 'traffic', 'aq', 'csn', 'smartpanel', 'api', 'authmultitoken', 'smartcambridge', 'bikes']
REST_FRAMEWORK = {'DEFAULT_THROTTLE_RATES': {'token_burst': '********************', 'token_sustained': '********************'}}
ROOT_URLCONF = 'tfc_web.urls'
RTMONITOR_KEY = '********************'
RTMONITOR_URI = 'https://smartcambridge.org/rtmonitor/sirivm/'
SECRET_KEY = '********************'
SECURE_BROWSER_XSS_FILTER = False
SECURE_CONTENT_TYPE_NOSNIFF = False
SECURE_HSTS_INCLUDE_SUBDOMAINS = False
SECURE_HSTS_PRELOAD = False
SECURE_HSTS_SECONDS = 0
SECURE_PROXY_SSL_HEADER = None
SECURE_REDIRECT_EXEMPT = []
SECURE_SSL_HOST = None
SECURE_SSL_REDIRECT = False
SERVER_EMAIL = '[email protected]'
SESSION_CACHE_ALIAS = 'default'
SESSION_COOKIE_AGE = 1209600
SESSION_COOKIE_DOMAIN = None
SESSION_COOKIE_HTTPONLY = True
SESSION_COOKIE_NAME = 'sessionid'
SESSION_COOKIE_PATH = '/'
SESSION_COOKIE_SECURE = False
SESSION_ENGINE = 'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE = False
SESSION_FILE_PATH = None
SESSION_SAVE_EVERY_REQUEST = False
SESSION_SERIALIZER = 'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE = 'tfc_web.settings_production'
SHORT_DATETIME_FORMAT = 'm/d/Y P'
SHORT_DATE_FORMAT = 'm/d/Y'
SIGNING_BACKEND = 'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS = []
SITE_ID = 2
SMARTPANEL_API_ENDPOINT = '********************'
SMARTPANEL_API_TOKEN = '********************'
STATICFILES_DIRS = ['static', '/home/tfc_prod/tfc_web_venv/lib/python3.5/site-packages/machina/static/machina/build']
STATICFILES_FINDERS = ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT = '/home/tfc_prod/tfc_web/tfc_web/staticfiles'
STATIC_URL = '/static_web/'
SYSTEM_API_TOKENS = '********************'
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', 'machina.core.context_processors.metadata']}, 'DIRS': ['/home/tfc_prod/tfc_web/tfc_web/templates', '/home/tfc_prod/tfc_web/tfc_web/templates/forum', '/home/tfc_prod/tfc_web_venv/lib/python3.5/site-packages/machina/templates/machina'], 'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates'}]
TEST_NON_SERIALIZED_APPS = []
TEST_RUNNER = 'django.test.runner.DiscoverRunner'
TFC_PROD_EMAIL = '[email protected]'
TFC_PROD_PASSWORD = '********************'
TFC_PROD_USERNAME = 'tfc_prod'
TFC_SERVER_CSN_TOKEN = '********************'
THOUSAND_SEPARATOR = ','
TIME_FORMAT = 'H:i'
TIME_INPUT_FORMATS = ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
TIME_ZONE = 'Europe/London'
TNDS_DIR = '/home/tfc_prod/tfc_web/tfc_web/data/TNDS'
TNDS_NEW_DIR = '/home/tfc_prod/tfc_web/tfc_web/data/TNDS_NEW'
TNDS_PASSWORD = '********************'
TNDS_USERNAME = '[email protected]'
TNDS_ZONES = ['EA', 'SE']
USE_ETAGS = False
USE_I18N = False
USE_L10N = False
USE_THOUSAND_SEPARATOR = False
USE_TZ = True
USE_X_FORWARDED_HOST = True
USE_X_FORWARDED_PORT = False
WSGI_APPLICATION = 'tfc_web.wsgi.application'
X_FRAME_OPTIONS = 'SAMEORIGIN'
YEAR_MONTH_FORMAT = 'F Y'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant