Guest User

Untitled

a guest
Aug 21st, 2018
471
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 27.45 KB | None | 0 0
  1. ProgrammingError at /functions/manage/testfunction/
  2. ERREUR: la colonne hmd_trigger_triggerapi.created_by_id n'existe pas
  3. LINE 1: ...ion_id", "hmd_trigger_triggerapi"."fetch_choice", "hmd_trigg...
  4. ^
  5.  
  6.  
  7. Request Method: GET
  8. Request URL: http://localhost:8002/functions/manage/testfunction/
  9. Django Version: 2.0.2
  10. Python Executable: C:\Users\Fabien\AppData\Local\Programs\Python\Python36-32\python.exe
  11. Python Version: 3.6.4
  12. Python Path: ['C:\\Users\\Fabien\\Documents\\himydata\\app-backend', 'C:\\Users\\Fabien\\AppData\\Local\\Programs\\Python\\Python36-32\\python36.zip', 'C:\\Users\\Fabien\\AppData\\Local\\Programs\\Python\\Python36-32\\DLLs', 'C:\\Users\\Fabien\\AppData\\Local\\Programs\\Python\\Python36-32\\lib', 'C:\\Users\\Fabien\\AppData\\Local\\Programs\\Python\\Python36-32', 'C:\\Users\\Fabien\\AppData\\Roaming\\Python\\Python36\\site-packages', 'C:\\Users\\Fabien\\AppData\\Local\\Programs\\Python\\Python36-32\\lib\\site-packages']
  13. Server time: Tue, 21 Aug 2018 08:43:11 +0000
  14. Installed Applications:
  15. ('django.contrib.admin',
  16. 'django.contrib.auth',
  17. 'django.contrib.sites',
  18. 'django.contrib.contenttypes',
  19. 'django.contrib.sessions',
  20. 'django.contrib.messages',
  21. 'django.contrib.staticfiles',
  22. 'django_extensions',
  23. 'django_filters',
  24. 'timezone_field',
  25. 'rest_framework',
  26. 'rest_framework.authtoken',
  27. 'rest_framework_swagger',
  28. 'rest_auth',
  29. 'allauth',
  30. 'allauth.account',
  31. 'allauth.socialaccount',
  32. 'rest_auth.registration',
  33. 'guardian',
  34. 'corsheaders',
  35. 'taggit',
  36. 'mptt',
  37. 'invitations',
  38. 'django_ace',
  39. 'hmd',
  40. 'hmd_account',
  41. 'hmd_security',
  42. 'hmd_audit',
  43. 'hmd_metrics',
  44. 'hmd_trigger',
  45. 'integrations',
  46. 'django_cassandra_engine',
  47. 'datastore.admin',
  48. 'datastore.dataset',
  49. 'datastore.nosql',
  50. 'apimanager',
  51. 'microservice.function',
  52. 'dashboard',
  53. 'hmd_admin')
  54. Installed Middleware:
  55. ['corsheaders.middleware.CorsMiddleware',
  56. 'django.middleware.security.SecurityMiddleware',
  57. 'django.contrib.sessions.middleware.SessionMiddleware',
  58. 'django.middleware.common.CommonMiddleware',
  59. 'django.middleware.csrf.CsrfViewMiddleware',
  60. 'django.contrib.auth.middleware.AuthenticationMiddleware',
  61. 'django.contrib.messages.middleware.MessageMiddleware',
  62. 'django.middleware.clickjacking.XFrameOptionsMiddleware',
  63. 'datastore.dataset.middleware.StackOverflowMiddleware',
  64. 'datastore.dataset.middleware.TriggerDataMiddleware']
  65.  
  66.  
  67. Traceback:
  68.  
  69. File "C:\Users\Fabien\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\db\backends\utils.py" in _execute
  70. 85. return self.cursor.execute(sql, params)
  71.  
  72. The above exception (ERREUR: la colonne hmd_trigger_triggerapi.created_by_id n'existe pas
  73. LINE 1: ...ion_id", "hmd_trigger_triggerapi"."fetch_choice", "hmd_trigg...
  74. ^
  75. ) was the direct cause of the following exception:
  76.  
  77. File "C:\Users\Fabien\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\core\handlers\exception.py" in inner
  78. 35. response = get_response(request)
  79.  
  80. File "C:\Users\Fabien\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\core\handlers\base.py" in _get_response
  81. 128. response = self.process_exception_by_middleware(e, request)
  82.  
  83. File "C:\Users\Fabien\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\core\handlers\base.py" in _get_response
  84. 126. response = wrapped_callback(request, *callback_args, **callback_kwargs)
  85.  
  86. File "C:\Users\Fabien\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\views\decorators\csrf.py" in wrapped_view
  87. 54. return view_func(*args, **kwargs)
  88.  
  89. File "C:\Users\Fabien\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\views\generic\base.py" in view
  90. 69. return self.dispatch(request, *args, **kwargs)
  91.  
  92. File "C:\Users\Fabien\AppData\Local\Programs\Python\Python36-32\lib\site-packages\rest_framework\views.py" in dispatch
  93. 483. response = self.handle_exception(exc)
  94.  
  95. File "C:\Users\Fabien\AppData\Local\Programs\Python\Python36-32\lib\site-packages\rest_framework\views.py" in handle_exception
  96. 443. self.raise_uncaught_exception(exc)
  97.  
  98. File "C:\Users\Fabien\AppData\Local\Programs\Python\Python36-32\lib\site-packages\rest_framework\views.py" in dispatch
  99. 480. response = handler(request, *args, **kwargs)
  100.  
  101. File "C:\Users\Fabien\AppData\Local\Programs\Python\Python36-32\lib\site-packages\rest_framework\generics.py" in get
  102. 284. return self.retrieve(request, *args, **kwargs)
  103.  
  104. File "C:\Users\Fabien\AppData\Local\Programs\Python\Python36-32\lib\site-packages\rest_framework\mixins.py" in retrieve
  105. 58. return Response(serializer.data)
  106.  
  107. File "C:\Users\Fabien\AppData\Local\Programs\Python\Python36-32\lib\site-packages\rest_framework\serializers.py" in data
  108. 560. ret = super(Serializer, self).data
  109.  
  110. File "C:\Users\Fabien\AppData\Local\Programs\Python\Python36-32\lib\site-packages\rest_framework\serializers.py" in data
  111. 262. self._data = self.to_representation(self.instance)
  112.  
  113. File "C:\Users\Fabien\Documents\himydata\app-backend\microservice\function\serializers_detail.py" in to_representation
  114. 54. data = super(FunctionDetailSerializer, self).to_representation(instance)
  115.  
  116. File "C:\Users\Fabien\AppData\Local\Programs\Python\Python36-32\lib\site-packages\rest_framework\serializers.py" in to_representation
  117. 527. ret[field.field_name] = field.to_representation(attribute)
  118.  
  119. File "C:\Users\Fabien\AppData\Local\Programs\Python\Python36-32\lib\site-packages\rest_framework\fields.py" in to_representation
  120. 1855. return method(value)
  121.  
  122. File "C:\Users\Fabien\Documents\himydata\app-backend\microservice\function\serializers_detail.py" in get_triggers
  123. 41. data = serializer.data['apis'] + serializer.data['datasets'] + serializer.data['crons']
  124.  
  125. File "C:\Users\Fabien\AppData\Local\Programs\Python\Python36-32\lib\site-packages\rest_framework\serializers.py" in data
  126. 560. ret = super(Serializer, self).data
  127.  
  128. File "C:\Users\Fabien\AppData\Local\Programs\Python\Python36-32\lib\site-packages\rest_framework\serializers.py" in data
  129. 262. self._data = self.to_representation(self.instance)
  130.  
  131. File "C:\Users\Fabien\AppData\Local\Programs\Python\Python36-32\lib\site-packages\rest_framework\serializers.py" in to_representation
  132. 527. ret[field.field_name] = field.to_representation(attribute)
  133.  
  134. File "C:\Users\Fabien\AppData\Local\Programs\Python\Python36-32\lib\site-packages\rest_framework\serializers.py" in to_representation
  135. 683. self.child.to_representation(item) for item in iterable
  136.  
  137. File "C:\Users\Fabien\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\db\models\query.py" in __iter__
  138. 272. self._fetch_all()
  139.  
  140. File "C:\Users\Fabien\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\db\models\query.py" in _fetch_all
  141. 1179. self._result_cache = list(self._iterable_class(self))
  142.  
  143. File "C:\Users\Fabien\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\db\models\query.py" in __iter__
  144. 53. results = compiler.execute_sql(chunked_fetch=self.chunked_fetch, chunk_size=self.chunk_size)
  145.  
  146. File "C:\Users\Fabien\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\db\models\sql\compiler.py" in execute_sql
  147. 1064. cursor.execute(sql, params)
  148.  
  149. File "C:\Users\Fabien\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\db\backends\utils.py" in execute
  150. 100. return super().execute(sql, params)
  151.  
  152. File "C:\Users\Fabien\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\db\backends\utils.py" in execute
  153. 68. return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
  154.  
  155. File "C:\Users\Fabien\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\db\backends\utils.py" in _execute_with_wrappers
  156. 77. return executor(sql, params, many, context)
  157.  
  158. File "C:\Users\Fabien\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\db\backends\utils.py" in _execute
  159. 85. return self.cursor.execute(sql, params)
  160.  
  161. File "C:\Users\Fabien\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\db\utils.py" in __exit__
  162. 89. raise dj_exc_value.with_traceback(traceback) from exc_value
  163.  
  164. File "C:\Users\Fabien\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\db\backends\utils.py" in _execute
  165. 85. return self.cursor.execute(sql, params)
  166.  
  167. Exception Type: ProgrammingError at /functions/manage/testfunction/
  168. Exception Value: ERREUR: la colonne hmd_trigger_triggerapi.created_by_id n'existe pas
  169. LINE 1: ...ion_id", "hmd_trigger_triggerapi"."fetch_choice", "hmd_trigg...
  170. ^
  171.  
  172. Request information:
  173. USER: hello
  174.  
  175. GET: No GET data
  176.  
  177. POST: No POST data
  178.  
  179. FILES: No FILES data
  180.  
  181. COOKIES: No cookie data
  182.  
  183. META:
  184. ALLUSERSPROFILE = 'C:\\ProgramData'
  185. APPDATA = 'C:\\Users\\Fabien\\AppData\\Roaming'
  186. CASSANDRA_HOME = 'C:\\Program Files\\DataStax-DDC\\apache-cassandra\\'
  187. COMMONPROGRAMFILES = 'C:\\Program Files (x86)\\Common Files'
  188. COMMONPROGRAMFILES(X86) = 'C:\\Program Files (x86)\\Common Files'
  189. COMMONPROGRAMW6432 = 'C:\\Program Files\\Common Files'
  190. COMPUTERNAME = 'FABIEN-PC'
  191. COMSPEC = 'C:\\Windows\\system32\\cmd.exe'
  192. CONFIGSETROOT = 'C:\\Windows\\ConfigSetRoot'
  193. CONTENT_LENGTH = ''
  194. CONTENT_TYPE = 'text/plain'
  195. CQLENG_ALLOW_SCHEMA_MANAGEMENT = '1'
  196. DJANGO_SETTINGS_MODULE = 'hmd.settings.dev'
  197. DSCINSTALLDIR = 'C:\\Program Files\\DataStax-DDC\\'
  198. FP_NO_HOST_CHECK = 'NO'
  199. GATEWAY_INTERFACE = 'CGI/1.1'
  200. HOMEDRIVE = 'C:'
  201. HOMEPATH = '\\Users\\Fabien'
  202. HTTP_ACCEPT = 'application/json, text/plain, */*'
  203. HTTP_ACCEPT_ENCODING = 'gzip, deflate, br'
  204. HTTP_ACCEPT_LANGUAGE = 'fr-FR,fr;q=0.9,en-US;q=0.8,en;q=0.7,sv;q=0.6'
  205. HTTP_AUTHORIZATION = 'Token 5089b56ca0dcf6884c5505ae44c333c0aa88e6db'
  206. HTTP_CONNECTION = 'keep-alive'
  207. HTTP_HOST = 'localhost:8002'
  208. HTTP_ORIGIN = 'http://localhost:8080'
  209. HTTP_REFERER = 'http://localhost:8080/'
  210. HTTP_USER_AGENT = 'Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36'
  211. LOCALAPPDATA = 'C:\\Users\\Fabien\\AppData\\Local'
  212. LOGONSERVER = '\\\\FABIEN-PC'
  213. NUMBER_OF_PROCESSORS = '4'
  214. OS = 'Windows_NT'
  215. PATH = 'C:\\ProgramData\\Oracle\\Java\\javapath;C:\\Program Files (x86)\\Intel\\iCLS Client\\;C:\\Program Files\\Intel\\iCLS Client\\;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files (x86)\\Windows Live\\Shared;C:\\Program Files\\Intel\\WiFi\\bin\\;C:\\Program Files\\Common Files\\Intel\\WirelessCommon\\;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\IPT;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\IPT;C:\\Program Files (x86)\\GTK2-Runtime\\bin;C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;C:\\Program Files\\MATLAB\\R2017a\\runtime\\win64;C:\\Program Files\\MATLAB\\R2017a\\bin;C:\\Program Files (x86)\\Skype\\Phone\\;C:\\Program Files\\PuTTY\\;C:\\Program Files\\Git\\cmd;C:\\Program Files\\nodejs\\;C:\\Program Files (x86)\\Yarn\\bin\\;C:\\Users\\Fabien\\AppData\\Local\\Programs\\Python\\Python36-32\\Scripts\\;C:\\Users\\Fabien\\AppData\\Local\\Programs\\Python\\Python36-32\\;C:\\Users\\Fabien\\AppData\\Roaming\\npm;C:\\Program Files\\PostgreSQL\\10\\bin;C:\\Users\\Fabien\\AppData\\Local\\Yarn\\bin;C:\\Users\\Fabien\\AppData\\Local\\Programs\\Python\\Python36-32\\lib\\site-packages\\numpy\\.libs;C:\\Users\\Fabien\\AppData\\Local\\Programs\\Python\\Python36-32\\lib\\site-packages\\numpy\\.libs'
  216. PATHEXT = '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC'
  217. PATH_INFO = '/functions/manage/testfunction/'
  218. PROCESSOR_ARCHITECTURE = 'x86'
  219. PROCESSOR_ARCHITEW6432 = 'AMD64'
  220. PROCESSOR_IDENTIFIER = 'Intel64 Family 6 Model 60 Stepping 3, GenuineIntel'
  221. PROCESSOR_LEVEL = '6'
  222. PROCESSOR_REVISION = '3c03'
  223. PROGRAMDATA = 'C:\\ProgramData'
  224. PROGRAMFILES = 'C:\\Program Files (x86)'
  225. PROGRAMFILES(X86) = 'C:\\Program Files (x86)'
  226. PROGRAMW6432 = 'C:\\Program Files'
  227. PROMPT = '$P$G'
  228. PRUNMGR = 'C:\\Program Files\\DataStax-DDC\\utils\\prunmgr.exe'
  229. PRUNSRV = 'C:\\Program Files\\DataStax-DDC\\utils\\prunsrv.exe'
  230. PSMODULEPATH = 'C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules\\'
  231. PUBLIC = 'C:\\Users\\Public'
  232. QUERY_STRING = ''
  233. REMOTE_ADDR = '127.0.0.1'
  234. REMOTE_HOST = ''
  235. REQUEST_METHOD = 'GET'
  236. RUN_MAIN = 'true'
  237. SCRIPT_NAME = ''
  238. SERVER_NAME = 'Fabien-PC'
  239. SERVER_PORT = '8002'
  240. SERVER_PROTOCOL = 'HTTP/1.1'
  241. SERVER_SOFTWARE = 'WSGIServer/0.2'
  242. SESSIONNAME = 'Console'
  243. SYSTEMDRIVE = 'C:'
  244. SYSTEMROOT = 'C:\\Windows'
  245. TEMP = 'C:\\Users\\Fabien\\AppData\\Local\\Temp'
  246. TMP = 'C:\\Users\\Fabien\\AppData\\Local\\Temp'
  247. USERDOMAIN = 'Fabien-PC'
  248. USERDOMAIN_ROAMINGPROFILE = 'Fabien-PC'
  249. USERNAME = 'Fabien'
  250. USERPROFILE = 'C:\\Users\\Fabien'
  251. VBOX_MSI_INSTALL_PATH = 'C:\\Program Files\\Oracle\\VirtualBox\\'
  252. WINDIR = 'C:\\Windows'
  253. wsgi.errors = <_io.TextIOWrapper name='<stderr>' mode='w' encoding='utf-8'>
  254. wsgi.file_wrapper = ''
  255. wsgi.input = <_io.BufferedReader name=2364>
  256. wsgi.multiprocess = False
  257. wsgi.multithread = True
  258. wsgi.run_once = False
  259. wsgi.url_scheme = 'http'
  260. wsgi.version = '(1, 0)'
  261.  
  262. Settings:
  263. Using settings module hmd.settings.dev
  264. ABSOLUTE_URL_OVERRIDES = {}
  265. ACCOUNT_ADAPTER = 'hmd_account.adapter.HMDAccountAdapter'
  266. ACCOUNT_AUTHENTICATION_METHOD = 'email'
  267. ACCOUNT_EMAIL_CONFIRMATION_AUTHENTICATED_REDIRECT_URL = '/membership/email-confirmed/'
  268. ACCOUNT_EMAIL_REQUIRED = True
  269. ACCOUNT_EMAIL_SUBJECT_PREFIX = ''
  270. ACCOUNT_EMAIL_VERIFICATION = 'mandatory'
  271. ACCOUNT_LOGIN_ON_EMAIL_CONFIRMATION = False
  272. ACCOUNT_LOGOUT_ON_GET = True
  273. ACCOUNT_UNIQUE_EMAIL = True
  274. ACCOUNT_USERNAME_REQUIRED = False
  275. ADMINS = []
  276. ALLOWED_HOSTS = ['192.168.1.124', 'localhost', '169.254.188.58', '192.168.1.106', '192.168.1.108', '192.168.1.130', '192.168.1.140', '51.38.224.135']
  277. ALLOWED_ORIGINS = "('http://localhost:9000', 'http://localhost:8100')"
  278. APPEND_SLASH = True
  279. AUTHENTICATION_BACKENDS = "('django.contrib.auth.backends.ModelBackend', 'guardian.backends.ObjectPermissionBackend', 'allauth.account.auth_backends.AuthenticationBackend')"
  280. AUTH_PASSWORD_VALIDATORS = '********************'
  281. AUTH_USER_MODEL = 'auth.User'
  282. BASE_DIR = 'C:\\Users\\Fabien\\Documents\\himydata\\app-backend\\hmd'
  283. CACHES = {'default': {'BACKEND': 'django.core.cache.backends.filebased.FileBasedCache', 'LOCATION': 'C:\\Users\\Fabien\\Documents\\himydata\\app-backend\\hmd/cache/', 'TIMEOUT': 600, 'OPTIONS': {'MAX_ENTRIES': 1000}}, 'redis-cache': {'TIMEOUT': 3600, 'BACKEND': 'django_redis.cache.RedisCache', 'LOCATION': 'redis://localhost:6379/1', 'OPTIONS': {'CLIENT_CLASS': 'django_redis.client.DefaultClient', 'MAX_ENTRIES': 5000}}, 'hmd_trigger': {'BACKEND': 'django.core.cache.backends.filebased.FileBasedCache', 'LOCATION': 'C:\\Users\\Fabien\\Documents\\himydata\\app-backend\\hmd/cache/', 'TIMEOUT': 600, 'OPTIONS': {'CLIENT_CLASS': 'django_redis.client.DefaultClient', 'MAX_ENTRIES': 5000}}}
  284. CACHE_MIDDLEWARE_ALIAS = 'default'
  285. CACHE_MIDDLEWARE_KEY_PREFIX = '********************'
  286. CACHE_MIDDLEWARE_SECONDS = 600
  287. CASSANDRA_FALLBACK_ORDER_BY_PYTHON = True
  288. CORS_EXPOSE_HEADERS = ['Access-Token', 'Uid']
  289. CORS_ORIGIN_ALLOW_ALL = True
  290. CSRF_COOKIE_AGE = 31449600
  291. CSRF_COOKIE_DOMAIN = None
  292. CSRF_COOKIE_HTTPONLY = False
  293. CSRF_COOKIE_NAME = 'csrftoken'
  294. CSRF_COOKIE_PATH = '/'
  295. CSRF_COOKIE_SECURE = False
  296. CSRF_FAILURE_VIEW = 'django.views.csrf.csrf_failure'
  297. CSRF_HEADER_NAME = 'HTTP_X_CSRFTOKEN'
  298. CSRF_TRUSTED_ORIGINS = []
  299. CSRF_USE_SESSIONS = False
  300. DATABASES = {'default': {'ENGINE': 'django.db.backends.postgresql_psycopg2', 'NAME': 'hmd_dashboard', 'USER': 'hmd_dashboard_user', 'PASSWORD': '********************', 'HOST': '127.0.0.1', 'PORT': '5432', 'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'OPTIONS': {}, 'TIME_ZONE': None, 'TEST': {'CHARSET': None, 'COLLATION': None, 'NAME': None, 'MIRROR': None}}, 'nosql': {'ENGINE': 'django_cassandra_engine', 'HOST': '51.38.224.135', 'NAME': 'himydata_datastore', 'USER': 'cassandra', 'PASSWORD': '********************', 'OPTIONS': {'replication': {'strategy_class': 'SimpleStrategy', 'replication_factor': 1}, 'connection': {'retry_connect': True, 'consistency': 5, 'load_balancing_policy': <cassandra.policies.RoundRobinPolicy object at 0x02C98A50>, 'protocol_version': 3, 'auth_provider': <cassandra.auth.PlainTextAuthProvider object at 0x09215AD0>}, 'session': {'default_timeout': 15}}, 'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'TIME_ZONE': None, 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'NAME': None, 'MIRROR': None}}}
  301. DATABASE_ROUTERS = []
  302. DATA_UPLOAD_MAX_MEMORY_SIZE = 2621440
  303. DATA_UPLOAD_MAX_NUMBER_FIELDS = 1000
  304. DATETIME_FORMAT = 'N j, Y, P'
  305. 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']
  306. DATE_FORMAT = 'N j, Y'
  307. 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']
  308. DEBUG = True
  309. DEBUG_PROPAGATE_EXCEPTIONS = False
  310. DECIMAL_SEPARATOR = '.'
  311. DEFAULT_CHARSET = 'utf-8'
  312. DEFAULT_CONTENT_TYPE = 'text/html'
  313. DEFAULT_EXCEPTION_REPORTER_FILTER = 'django.views.debug.SafeExceptionReporterFilter'
  314. DEFAULT_FILE_STORAGE = 'django.core.files.storage.FileSystemStorage'
  315. DEFAULT_FROM_EMAIL = 'webmaster@localhost'
  316. DEFAULT_INDEX_TABLESPACE = ''
  317. DEFAULT_TABLESPACE = ''
  318. DISALLOWED_USER_AGENTS = []
  319. DJSTRIPE_PLANS = {'monthly': {'stripe_plan_id': 'pro-monthly', 'name': 'Web App Pro ($24.99/month)', 'description': 'The monthly subscription plan to WebApp', 'price': 2499, 'currency': 'usd', 'interval': 'month'}, 'yearly': {'stripe_plan_id': 'pro-yearly', 'name': 'Web App Pro ($199/year)', 'description': 'The annual subscription plan to WebApp', 'price': 19900, 'currency': 'usd', 'interval': 'year'}}
  320. EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
  321. EMAIL_HOST = 'smtp.gmail.com'
  322. EMAIL_HOST_PASSWORD = '********************'
  323. EMAIL_HOST_USER = 'himydata.france@gmail.com'
  324. EMAIL_PORT = 587
  325. EMAIL_SSL_CERTFILE = None
  326. EMAIL_SSL_KEYFILE = '********************'
  327. EMAIL_SUBJECT_PREFIX = '[Django] '
  328. EMAIL_TIMEOUT = None
  329. EMAIL_USE_LOCALTIME = False
  330. EMAIL_USE_SSL = False
  331. EMAIL_USE_TLS = True
  332. FILE_CHARSET = 'utf-8'
  333. FILE_UPLOAD_DIRECTORY_PERMISSIONS = None
  334. FILE_UPLOAD_HANDLERS = ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
  335. FILE_UPLOAD_MAX_MEMORY_SIZE = 2621440
  336. FILE_UPLOAD_PERMISSIONS = None
  337. FILE_UPLOAD_TEMP_DIR = None
  338. FIRST_DAY_OF_WEEK = 0
  339. FIXTURE_DIRS = ['fixtures']
  340. FORCE_SCRIPT_NAME = None
  341. FORMAT_MODULE_PATH = None
  342. FORM_RENDERER = 'django.forms.renderers.DjangoTemplates'
  343. HMD_DATASET_UPLOAD_ROOT = 'uploads/'
  344. HMD_FRONTEND_URL = 'http://localhost:8080'
  345. HMD_SERVERLESS_PROVIDER = 'microservice.serverless.providers.kubeless'
  346. HMD_SERVERLESS_URL = 'http://142.44.245.26:8000'
  347. IGNORABLE_404_URLS = []
  348. INSTALLED_APPS = "('django.contrib.admin', 'django.contrib.auth', 'django.contrib.sites', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django_extensions', 'django_filters', 'timezone_field', 'rest_framework', 'rest_framework.authtoken', 'rest_framework_swagger', 'rest_auth', 'allauth', 'allauth.account', 'allauth.socialaccount', 'rest_auth.registration', 'guardian', 'corsheaders', 'taggit', 'mptt', 'invitations', 'django_ace', 'hmd', 'hmd_account', 'hmd_security', 'hmd_audit', 'hmd_metrics', 'hmd_trigger', 'integrations', 'django_cassandra_engine', 'datastore.admin', 'datastore.dataset', 'datastore.nosql', 'apimanager', 'microservice.function', 'dashboard', 'hmd_admin')"
  349. INTERNAL_IPS = []
  350. INVITATIONS_ACCEPT_INVITE_AFTER_SIGNUP = True
  351. INVITATIONS_ADAPTER = 'hmd_account.adapter.HMDInvitationsAdapter'
  352. INVITATIONS_EMAIL_SUBJECT_PREFIX = None
  353. INVITATIONS_SIGNUP_REDIRECT = 'http://localhost:8080/#/signup'
  354. KONG_ADMIN_SIMULATOR = False
  355. KONG_ADMIN_URL = 'http://localhost:8001'
  356. 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'), ('kab', 'Kabyle'), ('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')]
  357. LANGUAGES_BIDI = ['he', 'ar', 'fa', 'ur']
  358. LANGUAGE_CODE = 'en-us'
  359. LANGUAGE_COOKIE_AGE = None
  360. LANGUAGE_COOKIE_DOMAIN = None
  361. LANGUAGE_COOKIE_NAME = 'django_language'
  362. LANGUAGE_COOKIE_PATH = '/'
  363. LOCALE_PATHS = []
  364. LOGGING = {}
  365. LOGGING_CONFIG = None
  366. LOGIN_REDIRECT_URL = 'http://app.himydata.com/#/signin'
  367. LOGIN_URL = 'account_login'
  368. LOGOUT_REDIRECT_URL = None
  369. MANAGERS = []
  370. MEDIA_ROOT = ''
  371. MEDIA_URL = ''
  372. MESSAGE_STORAGE = 'django.contrib.messages.storage.fallback.FallbackStorage'
  373. 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.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'datastore.dataset.middleware.StackOverflowMiddleware', 'datastore.dataset.middleware.TriggerDataMiddleware']
  374. MIGRATION_MODULES = {}
  375. MONTH_DAY_FORMAT = 'F j'
  376. NOSQL_DATABASE = 'nosql'
  377. NOSQL_DATABASE_NAME = 'himydata_datastore'
  378. NUMBER_GROUPING = 0
  379. OLD_PASSWORD_FIELD_ENABLED = '********************'
  380. PASSWORD_HASHERS = '********************'
  381. PASSWORD_RESET_TIMEOUT_DAYS = '********************'
  382. PREPEND_WWW = False
  383. REST_AUTH_REGISTER_SERIALIZERS = {'REGISTER_SERIALIZER': 'hmd_account.serializers.RegisterSerializer'}
  384. REST_AUTH_SERIALIZERS = {'USER_DETAILS_SERIALIZER': 'hmd_account.serializers.UserDetailsSerializer', 'PASSWORD_RESET_SERIALIZER': '********************'}
  385. REST_FRAMEWORK = {'DEFAULT_PERMISSION_CLASSES': 'rest_framework.permissions.IsAdminUser', 'DEFAULT_AUTHENTICATION_CLASSES': ('rest_framework.authentication.TokenAuthentication', 'hmd_account.authentication.CsrfExemptSessionAuthentication'), 'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.PageNumberPagination', 'PAGE_SIZE': 15}
  386. ROOT_URLCONF = 'hmd.urls'
  387. SECRET_KEY = '********************'
  388. SECURE_BROWSER_XSS_FILTER = False
  389. SECURE_CONTENT_TYPE_NOSNIFF = False
  390. SECURE_HSTS_INCLUDE_SUBDOMAINS = False
  391. SECURE_HSTS_PRELOAD = False
  392. SECURE_HSTS_SECONDS = 0
  393. SECURE_PROXY_SSL_HEADER = None
  394. SECURE_REDIRECT_EXEMPT = []
  395. SECURE_SSL_HOST = None
  396. SECURE_SSL_REDIRECT = False
  397. SERVER_EMAIL = 'root@localhost'
  398. SESSION_CACHE_ALIAS = 'default'
  399. SESSION_COOKIE_AGE = 1209600
  400. SESSION_COOKIE_DOMAIN = None
  401. SESSION_COOKIE_HTTPONLY = True
  402. SESSION_COOKIE_NAME = 'sessionid'
  403. SESSION_COOKIE_PATH = '/'
  404. SESSION_COOKIE_SECURE = False
  405. SESSION_ENGINE = 'django.contrib.sessions.backends.db'
  406. SESSION_EXPIRE_AT_BROWSER_CLOSE = False
  407. SESSION_FILE_PATH = None
  408. SESSION_SAVE_EVERY_REQUEST = False
  409. SESSION_SERIALIZER = 'django.contrib.sessions.serializers.JSONSerializer'
  410. SETTINGS_MODULE = 'hmd.settings.dev'
  411. SHORT_DATETIME_FORMAT = 'm/d/Y P'
  412. SHORT_DATE_FORMAT = 'm/d/Y'
  413. SIGNING_BACKEND = 'django.core.signing.TimestampSigner'
  414. SILENCED_SYSTEM_CHECKS = []
  415. SITE_ID = 1
  416. STATICFILES_DIRS = []
  417. STATICFILES_FINDERS = ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
  418. STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.StaticFilesStorage'
  419. STATIC_ROOT = 'd:/himydata/app-backend/static/'
  420. STATIC_URL = '/static/'
  421. STRIPE_PUBLIC_KEY = '********************'
  422. STRIPE_SECRET_KEY = '********************'
  423. SWAGGER_SETTINGS = {'exclude_url_names': [], 'exclude_namespaces': [], 'api_version': '********************', 'api_path': '********************', 'relative_paths': False, 'enabled_methods': ['get', 'post', 'put', 'patch', 'delete'], 'api_key': '********************', 'is_authenticated': False, 'is_superuser': True, 'unauthenticated_user': 'django.contrib.auth.models.AnonymousUser', 'permission_denied_handler': None, 'resource_access_handler': None, 'base_path': 'helloreverb.com/docs', 'info': {'contact': 'apiteam@wordnik.com', 'description': 'This is a sample server Petstore server. You can find out more about Swagger at <a href="http://swagger.wordnik.com">http://swagger.wordnik.com</a> or on irc.freenode.net, #swagger. For this sample, you can use the api key "special-key" to test the authorization filters', 'license': 'Apache 2.0', 'licenseUrl': 'http://www.apache.org/licenses/LICENSE-2.0.html', 'termsOfServiceUrl': 'http://helloreverb.com/terms/', 'title': 'Swagger Sample App'}, 'doc_expansion': 'none'}
  424. TAGGIT_CASE_INSENSITIVE = True
  425. TEMPLATES = [{'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ['templates'], 'APP_DIRS': True, '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']}}]
  426. TEST_NON_SERIALIZED_APPS = []
  427. TEST_RUNNER = 'django.test.runner.DiscoverRunner'
  428. THOUSAND_SEPARATOR = ','
  429. TIME_FORMAT = 'P'
  430. TIME_INPUT_FORMATS = ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
  431. TIME_ZONE = 'UTC'
  432. USE_ETAGS = False
  433. USE_I18N = True
  434. USE_L10N = True
  435. USE_THOUSAND_SEPARATOR = False
  436. USE_TZ = True
  437. USE_X_FORWARDED_HOST = False
  438. USE_X_FORWARDED_PORT = False
  439. WSGI_APPLICATION = 'hmd.wsgi.application'
  440. X_FRAME_OPTIONS = 'SAMEORIGIN'
  441. YEAR_MONTH_FORMAT = 'F Y'
  442.  
  443.  
  444. You're seeing this error because you have DEBUG = True in your
  445. Django settings file. Change that to False, and Django will
  446. display a standard page generated by the handler for this status code.
Add Comment
Please, Sign In to add comment