Advertisement
Guest User

Untitled

a guest
Aug 22nd, 2018
365
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 56.34 KB | None | 0 0
  1. UnboundLocalError at /oscarapi/createuser-measurement/
  2. local variable 'e' referenced before assignment
  3.  
  4. Request Method: POST
  5. Request URL: http://localhost:8000/oscarapi/createuser-measurement/
  6. Django Version: 1.11
  7. Python Executable: /usr/local/python/bin/python
  8. Python Version: 3.5.4
  9. Python Path: ['/app/sonofatailorapp', '/usr/local/python/lib/python35.zip', '/usr/local/python/lib/python3.5', '/usr/local/python/lib/python3.5/plat-linux', '/usr/local/python/lib/python3.5/lib-dynload', '/usr/local/python/lib/python3.5/site-packages', '/app/sonofatailorapp']
  10. Server time: Åšr, 22 Sie 2018 12:05:18 +0200
  11. Installed Applications:
  12. ['dal',
  13. 'dal_select2',
  14. 'django.contrib.admin',
  15. 'django.contrib.auth',
  16. 'django.contrib.sites',
  17. 'django.contrib.contenttypes',
  18. 'django.contrib.sessions',
  19. 'django.contrib.messages',
  20. 'django.contrib.staticfiles',
  21. 'django.contrib.flatpages',
  22. 'huub_api',
  23. 'nopassword',
  24. 'customizer',
  25. 'oscar_accounts',
  26. 'barcode_manager',
  27. 'drf_yasg',
  28. 'maintenancemode',
  29. 'explorer',
  30. 'djcelery_email',
  31. 'fancy_cache',
  32. 'rest_framework_tracking',
  33. 'impersonate',
  34. 'djrill',
  35. 'countries_plus',
  36. 'paypal',
  37. 'adyen',
  38. 'adyen_soat',
  39. 'pipeline',
  40. 'compressor',
  41. 'storages2',
  42. 'rest_framework',
  43. 'rest_framework.authtoken',
  44. 'django_celery_beat',
  45. 'django_celery_results',
  46. 'widget_tweaks',
  47. 'oscar_stripe',
  48. 'sonofatailor',
  49. 'metrics_api',
  50. 'calcufit',
  51. 'tinymce',
  52. 'redactor',
  53. 'mod_wsgi.server',
  54. 'mathfilters',
  55. 'oscar',
  56. 'forks.analytics',
  57. 'forks.checkout',
  58. 'forks.address',
  59. 'forks.shipping',
  60. 'forks.catalogue',
  61. 'oscar.apps.catalogue.reviews',
  62. 'forks.partner',
  63. 'forks.basket',
  64. 'oscar.apps.payment',
  65. 'forks.offer',
  66. 'forks.order',
  67. 'forks.customer',
  68. 'forks.promotions',
  69. 'oscar.apps.search',
  70. 'oscar.apps.voucher',
  71. 'oscar.apps.wishlists',
  72. 'forks.dashboard',
  73. 'forks.dashboard.reports',
  74. 'oscar.apps.dashboard.users',
  75. 'forks.dashboard.orders',
  76. 'oscar.apps.dashboard.promotions',
  77. 'forks.dashboard.catalogue',
  78. 'oscar.apps.dashboard.offers',
  79. 'oscar.apps.dashboard.partners',
  80. 'oscar.apps.dashboard.pages',
  81. 'oscar.apps.dashboard.ranges',
  82. 'oscar.apps.dashboard.reviews',
  83. 'forks.dashboard.vouchers',
  84. 'oscar.apps.dashboard.communications',
  85. 'oscar.apps.dashboard.shipping',
  86. 'haystack',
  87. 'treebeard',
  88. 'sorl.thumbnail',
  89. 'django_tables2',
  90. 'debug_toolbar']
  91. Installed Middleware:
  92. ('debug_toolbar.middleware.DebugToolbarMiddleware',
  93. 'google.cloud.logging.handlers.middleware.request.RequestMiddleware',
  94. 'sonofatailor.middleware.AddRequestGEOIP2Middleware',
  95. 'django.middleware.security.SecurityMiddleware',
  96. 'django.contrib.sessions.middleware.SessionMiddleware',
  97. 'oscarapi.middleware.HeaderSessionMiddleware',
  98. 'django.middleware.locale.LocaleMiddleware',
  99. 'django.middleware.common.CommonMiddleware',
  100. 'django.middleware.csrf.CsrfViewMiddleware',
  101. 'django.contrib.auth.middleware.AuthenticationMiddleware',
  102. 'django.contrib.auth.middleware.SessionAuthenticationMiddleware',
  103. 'django.contrib.messages.middleware.MessageMiddleware',
  104. 'django.middleware.clickjacking.XFrameOptionsMiddleware',
  105. 'sonofatailor.middleware.ApiBasketMiddleWare',
  106. 'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware',
  107. 'impersonate.middleware.ImpersonateMiddleware')
  108.  
  109.  
  110. Traceback:
  111.  
  112. File "/app/sonofatailorapp/sonofatailor/api_views.py" in post
  113. 2275. mc.lists.subscribe("e5638461c4", {'email': email}, {'SOURCE': "measurement"}, double_optin=True)
  114.  
  115.  
  116. During handling of the above exception ('Lists' object has no attribute 'subscribe'), another exception occurred:
  117.  
  118.  
  119.  
  120. File "/usr/local/python/lib/python3.5/site-packages/django/core/handlers/exception.py" in inner
  121. 41. response = get_response(request)
  122.  
  123. File "/usr/local/python/lib/python3.5/site-packages/django/core/handlers/base.py" in _legacy_get_response
  124. 249. response = self._get_response(request)
  125.  
  126. File "/usr/local/python/lib/python3.5/site-packages/django/core/handlers/base.py" in _get_response
  127. 187. response = self.process_exception_by_middleware(e, request)
  128.  
  129. File "/usr/local/python/lib/python3.5/site-packages/django/core/handlers/base.py" in _get_response
  130. 185. response = wrapped_callback(request, *callback_args, **callback_kwargs)
  131.  
  132. File "/usr/local/python/lib/python3.5/site-packages/django/views/decorators/csrf.py" in wrapped_view
  133. 58. return view_func(*args, **kwargs)
  134.  
  135. File "/usr/local/python/lib/python3.5/site-packages/django/views/generic/base.py" in view
  136. 68. return self.dispatch(request, *args, **kwargs)
  137.  
  138. File "/usr/local/python/lib/python3.5/site-packages/rest_framework/views.py" in dispatch
  139. 494. response = self.handle_exception(exc)
  140.  
  141. File "/usr/local/python/lib/python3.5/site-packages/rest_framework/views.py" in handle_exception
  142. 454. self.raise_uncaught_exception(exc)
  143.  
  144. File "/usr/local/python/lib/python3.5/site-packages/rest_framework/views.py" in dispatch
  145. 491. response = handler(request, *args, **kwargs)
  146.  
  147. File "/app/sonofatailorapp/sonofatailor/api_views.py" in post
  148. 2281. logger.info(str(e))
  149.  
  150. Exception Type: UnboundLocalError at /oscarapi/createuser-measurement/
  151. Exception Value: local variable 'e' referenced before assignment
  152. Request information:
  153. USER: ad234234n@rst-it.com
  154.  
  155. GET: No GET data
  156.  
  157. POST: No POST data
  158.  
  159. FILES: No FILES data
  160.  
  161. COOKIES:
  162. cookieconsent_status = 'dismiss'
  163. __insp_wid = '2057801902'
  164. __insp_slim = '1530790598375'
  165. __insp_targlpu = 'aHR0cDovL2xvY2FsaG9zdDo4MDAwLw%3D%3D'
  166. tracking-preferences = '{%22version%22:1%2C%22destinations%22:{%22Google%20Tag%20Manager%22:true}%2C%22custom%22:{%22marketingAndAnalytics%22:true%2C%22advertising%22:true%2C%22functional%22:true}}'
  167. sessionid = '0uw38vmfywnliv4q3tfzkkqq2yww5e7h'
  168. __insp_nv = 'false'
  169. ajs_anonymous_id = '%225ea382de-040c-4f1b-af6f-2fa38562d6dc%22'
  170. __insp_uid = '2003053692'
  171. intercom-session-mnbkcnw5 = 'OHRtc3ZJYmpFTStwc2FGRWtUUjE3R2lCRXJ5Z2NVSUpkTEtwVmhFWFljYno4U0ZEa2lncDlYTm40LzRhcmtZRC0tblZIUE9rMEdhMGZpaVZWN2xTRk4wZz09--5aa9d470e39723c793b74bb201aad1bfe2d692df'
  172. intercom-id-mnbkcnw5 = '3e50cc44-8496-4458-88a4-dccfcb77b80c'
  173. csrftoken = 'XIwsEjXdm813FtWzZZESN3KKrRr1Qnvn1XfxX28jg6ay8awhiLmxBdLay8xLk0iX'
  174. intercom-lou-mnbkcnw5 = '1'
  175. ajs_user_id = '%2299935%22'
  176. __insp_targlpt = 'U29uIG9mIGEgVGFpbG9yIC0gQ3VzdG9tIEZpdHRlZCBULVNoaXJ0cw%3D%3D'
  177. ajs_group_id = 'null'
  178. io = 'MjlzBzoeh2b0GvbWAAAJ'
  179. __insp_sid = '2260314822'
  180. __ar_v4 = 'CFQU6J5APBD6BK53PU3LWA%3A20180709%3A15%7CPDVGGC56VRBM5L54LE4GJE%3A20180708%3A47%7CYV4WQQ5NV5DPBJV5DDIIKH%3A20180708%3A90%7C6YJ3DUJLDVE3XGE6RZYN5X%3A20180708%3A90%7CAY3L7KPLPZFSNPTFISFRWJ%3A20180708%3A27%7CU7LTI2MOGJCBTE3PA4TSZB%3A20180709%3A1'
  181. _ga = 'GA1.1.1806670092.1531126583'
  182.  
  183. META:
  184. APACHE_VERSION = '2.4.27'
  185. APR_UTIL_VERSION = '1.6.0'
  186. APR_VERSION = '1.6.2'
  187. CONTENT_LENGTH = '81'
  188. CONTENT_TYPE = 'application/json;charset=UTF-8'
  189. CSRF_COOKIE = 'InP3LxRQENdX6a48UHWIJVlDzrN33Q7bdVvMATPQPzb0k3t7cvrowpl8Kq97C1zs'
  190. CSRF_COOKIE_USED = True
  191. DEBUG = 'true'
  192. DJANGO_SETTINGS_MODULE = 'config.settings.local'
  193. GATEWAY_INTERFACE = 'CGI/1.1'
  194. GOOGLE_APPLICATION_CREDENTIALS = '/app/sonofatailorapp/sonofatailor-ab5a00776db7.json'
  195. HOME = '/root'
  196. HOSTNAME = 'fd97d84ec134'
  197. HTTP_ACCEPT = 'application/json, text/plain, */*'
  198. HTTP_ACCEPT_ENCODING = 'gzip, deflate, br'
  199. HTTP_ACCEPT_LANGUAGE = 'pl-PL,pl;q=0.9,en-US;q=0.8,en;q=0.7'
  200. HTTP_CONNECTION = 'keep-alive'
  201. HTTP_COOKIE = 'cookieconsent_status=dismiss; ajs_group_id=null; __insp_uid=2003053692; __insp_wid=2057801902; __insp_nv=false; __insp_targlpu=aHR0cDovL2xvY2FsaG9zdDo4MDAwLw%3D%3D; __insp_targlpt=U29uIG9mIGEgVGFpbG9yIC0gQ3VzdG9tIEZpdHRlZCBULVNoaXJ0cw%3D%3D; __insp_sid=2260314822; __insp_slim=1530790598375; io=MjlzBzoeh2b0GvbWAAAJ; _ga=GA1.1.1806670092.1531126583; __ar_v4=CFQU6J5APBD6BK53PU3LWA%3A20180709%3A15%7CPDVGGC56VRBM5L54LE4GJE%3A20180708%3A47%7CYV4WQQ5NV5DPBJV5DDIIKH%3A20180708%3A90%7C6YJ3DUJLDVE3XGE6RZYN5X%3A20180708%3A90%7CAY3L7KPLPZFSNPTFISFRWJ%3A20180708%3A27%7CU7LTI2MOGJCBTE3PA4TSZB%3A20180709%3A1; intercom-id-mnbkcnw5=3e50cc44-8496-4458-88a4-dccfcb77b80c; intercom-lou-mnbkcnw5=1; tracking-preferences={%22version%22:1%2C%22destinations%22:{%22Google%20Tag%20Manager%22:true}%2C%22custom%22:{%22marketingAndAnalytics%22:true%2C%22advertising%22:true%2C%22functional%22:true}}; csrftoken=XIwsEjXdm813FtWzZZESN3KKrRr1Qnvn1XfxX28jg6ay8awhiLmxBdLay8xLk0iX; ajs_user_id=%2299935%22; ajs_anonymous_id=%225ea382de-040c-4f1b-af6f-2fa38562d6dc%22; sessionid=0uw38vmfywnliv4q3tfzkkqq2yww5e7h; intercom-session-mnbkcnw5=OHRtc3ZJYmpFTStwc2FGRWtUUjE3R2lCRXJ5Z2NVSUpkTEtwVmhFWFljYno4U0ZEa2lncDlYTm40LzRhcmtZRC0tblZIUE9rMEdhMGZpaVZWN2xTRk4wZz09--5aa9d470e39723c793b74bb201aad1bfe2d692df'
  202. HTTP_HOST = 'localhost:8000'
  203. HTTP_ORIGIN = 'http://localhost:8000'
  204. HTTP_REFERER = 'http://localhost:8000/designer'
  205. HTTP_USER_AGENT = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36'
  206. HTTP_X_CSRFTOKEN = 'XIwsEjXdm813FtWzZZESN3KKrRr1Qnvn1XfxX28jg6ay8awhiLmxBdLay8xLk0iX'
  207. LANG = 'en_US.UTF-8'
  208. MEMCACHED_LOCATION = 'memcached:11211'
  209. MOD_WSGI_GROUP = 'root'
  210. MOD_WSGI_USER = 'whiskey'
  211. MOD_WSGI_VERSION = '4.5.18'
  212. NGHTTP2_VERSION = '1.25.0'
  213. NSS_WRAPPER_VERSION = '1.1.3'
  214. PATH = '/usr/local/python/bin:/usr/local/apache/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
  215. PATH_INFO = '/oscarapi/createuser-measurement/'
  216. POSTGRES_DB_HOST = 'postgres'
  217. POSTGRES_DB_PASSWORD = 'postgres'
  218. POSTGRES_DB_USER = 'postgres'
  219. PWD = '/app/sonofatailorapp'
  220. PYTHONHASHSEED = 'random'
  221. PYTHONUNBUFFERED = '1'
  222. PYTHON_VERSION = '3.5.4'
  223. QUERY_STRING = ''
  224. REMOTE_ADDR = '172.18.0.1'
  225. REMOTE_HOST = ''
  226. REQUEST_METHOD = 'POST'
  227. RUN_MAIN = 'true'
  228. SCRIPT_NAME = ''
  229. SERVER_NAME = 'fd97d84ec134'
  230. SERVER_PORT = '80'
  231. SERVER_PROTOCOL = 'HTTP/1.1'
  232. SERVER_SOFTWARE = 'WSGIServer/0.2'
  233. STI_SCRIPTS_PATH = '/usr/local/s2i/bin'
  234. TINI_VERSION = '0.16.1'
  235. TZ = 'Europe/Copenhagen'
  236. wsgi.errors = <_io.TextIOWrapper name='<stderr>' mode='w' encoding='UTF-8'>
  237. wsgi.file_wrapper = ''
  238. wsgi.input = <_io.BufferedReader name=13>
  239. wsgi.multiprocess = False
  240. wsgi.multithread = True
  241. wsgi.run_once = False
  242. wsgi.url_scheme = 'http'
  243. wsgi.version =
  244.  
  245. Settings:
  246. Using settings module config.settings.local
  247. ABSOLUTE_URL_OVERRIDES = {}
  248. ADMINS = []
  249. ADYEN_ACTION_URL = ''
  250. ADYEN_CHECKOUT_API_KEY = '********************'
  251. ADYEN_HMAC = '3F25C509BA1CF879B3BDED7CDC364C7ECB4C34BF0B4AD3306DA25ADEC4AF6DB8'
  252. ADYEN_IDENTIFIER = 'SonOfATailorCOM'
  253. ADYEN_MODE = 'test'
  254. ADYEN_SECRET_KEY = '********************'
  255. ADYEN_SERVER = 'https://checkout-test.adyen.com/'
  256. ADYEN_SETUP_URL = '/adyen_api/checkout/setup/'
  257. ADYEN_SKIN_CODE = ''
  258. ADYEN_VERIFY_URL = '/adyen_api/checkout/verify/'
  259. ALLOWED_HOSTS = ['*']
  260. APPEND_SLASH = True
  261. AUTHENTICATION_BACKENDS =
  262. AUTH_PASSWORD_VALIDATORS = '********************'
  263. AUTH_USER_MODEL = 'sonofatailor.User'
  264. BASE_DIR = '/app/sonofatailorapp'
  265. CACHES = {'cache_machine': {'KEY_PREFIX': '********************', 'LOCATION': ['memcached:11211'], 'BACKEND': 'caching.backends.memcached.PyLibMCCache'}, 'default': {'LOCATION': 'memcached:11211', 'BACKEND': 'django.core.cache.backends.memcached.PyLibMCCache'}}
  266. CACHE_MIDDLEWARE_ALIAS = 'default'
  267. CACHE_MIDDLEWARE_KEY_PREFIX = '********************'
  268. CACHE_MIDDLEWARE_SECONDS = 600
  269. CELERY_ACCEPT_CONTENT = ['json']
  270. CELERY_BEAT_SCHEDULE = {'cleanup_baskets_every_hour': {'task': 'cleanup_baskets', 'schedule': datetime.timedelta(0, 3600), 'args': ()}}
  271. CELERY_BROKER_URL = 'amqp://soat:yvxQUiE8@tj)rq5~6YkPrycyq@rabbitmq:5672//'
  272. CELERY_EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
  273. CELERY_IMPORTS = 'sonofatailor.tasks'
  274. CELERY_RESULT_BACKEND = 'django-db'
  275. CELERY_RESULT_SERIALIZER = 'json'
  276. CELERY_TASK_SERIALIZER = 'json'
  277. COMPRESS_CACHEABLE_PRECOMPILERS =
  278. COMPRESS_CACHE_BACKEND = 'default'
  279. COMPRESS_CACHE_KEY_FUNCTION = '********************'
  280. COMPRESS_CLEAN_CSS_ARGUMENTS = ''
  281. COMPRESS_CLEAN_CSS_BINARY = 'cleancss'
  282. COMPRESS_CLOSURE_COMPILER_ARGUMENTS = ''
  283. COMPRESS_CLOSURE_COMPILER_BINARY = 'java -jar compiler.jar'
  284. COMPRESS_CSS_COMPRESSOR = 'compressor.css.CssCompressor'
  285. COMPRESS_CSS_FILTERS = ['compressor.filters.css_default.CssAbsoluteFilter']
  286. COMPRESS_CSS_HASHING_METHOD = 'mtime'
  287. COMPRESS_DATA_URI_MAX_SIZE = 1024
  288. COMPRESS_DEBUG_TOGGLE = None
  289. COMPRESS_ENABLED = False
  290. COMPRESS_JINJA2_GET_ENVIRONMENT = <function CompressorConf.JINJA2_GET_ENVIRONMENT at 0x7f00af1bf2f0>
  291. COMPRESS_JS_COMPRESSOR = 'compressor.js.JsCompressor'
  292. COMPRESS_JS_FILTERS = ['compressor.filters.jsmin.JSMinFilter']
  293. COMPRESS_MINT_DELAY = 30
  294. COMPRESS_MTIME_DELAY = 10
  295. COMPRESS_OFFLINE = False
  296. COMPRESS_OFFLINE_CONTEXT = {'STATIC_URL': '/static/'}
  297. COMPRESS_OFFLINE_MANIFEST = 'manifest.json'
  298. COMPRESS_OFFLINE_TIMEOUT = 31536000
  299. COMPRESS_OUTPUT_DIR = 'oscar'
  300. COMPRESS_PARSER = 'compressor.parser.AutoSelectParser'
  301. COMPRESS_PRECOMPILERS = ('text/x-scss', 'django_libsass.SassCompiler')
  302. COMPRESS_REBUILD_TIMEOUT = 2592000
  303. COMPRESS_ROOT = '/app/sonofatailorapp/staticfiles_dev'
  304. COMPRESS_STORAGE = 'compressor.storage.CompressorFileStorage'
  305. COMPRESS_TEMPLATE_FILTER_CONTEXT = {'STATIC_URL': '/static/'}
  306. COMPRESS_URL = '/static/'
  307. COMPRESS_URL_PLACEHOLDER = '/__compressor_url_placeholder__/'
  308. COMPRESS_VERBOSE = False
  309. COMPRESS_YUGLIFY_BINARY = 'yuglify'
  310. COMPRESS_YUGLIFY_CSS_ARGUMENTS = '--terminal'
  311. COMPRESS_YUGLIFY_JS_ARGUMENTS = '--terminal'
  312. COMPRESS_YUI_BINARY = 'java -jar yuicompressor.jar'
  313. COMPRESS_YUI_CSS_ARGUMENTS = ''
  314. COMPRESS_YUI_JS_ARGUMENTS = ''
  315. COUNTDOWN = 'Countdown'
  316. CSRF_COOKIE_AGE = 31449600
  317. CSRF_COOKIE_DOMAIN = None
  318. CSRF_COOKIE_HTTPONLY = False
  319. CSRF_COOKIE_NAME = 'csrftoken'
  320. CSRF_COOKIE_PATH = '/'
  321. CSRF_COOKIE_SECURE = False
  322. CSRF_FAILURE_VIEW = 'django.views.csrf.csrf_failure'
  323. CSRF_HEADER_NAME = 'HTTP_X_CSRFTOKEN'
  324. CSRF_TRUSTED_ORIGINS = []
  325. CSRF_USE_SESSIONS = False
  326. DATABASES = {'default': {'ENGINE': 'django.db.backends.postgresql_psycopg2', 'PORT': 5432, 'USER': 'postgres', 'TEST': {'CHARSET': None, 'MIRROR': None, 'COLLATION': None, 'NAME': None}, 'TIME_ZONE': None, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'OPTIONS': {}, 'ATOMIC_REQUESTS': False, 'HOST': 'postgres', 'PASSWORD': '********************', 'NAME': 'postgres'}}
  327. DATABASE_ROUTERS = []
  328. DATA_UPLOAD_MAX_MEMORY_SIZE = 2621440
  329. DATA_UPLOAD_MAX_NUMBER_FIELDS = 1000
  330. DATETIME_FORMAT = 'N j, Y, P'
  331. 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']
  332. DATE_FORMAT = 'N j, Y'
  333. 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']
  334. DEBUG = True
  335. DEBUG_PROPAGATE_EXCEPTIONS = False
  336. DEBUG_TOOLBAR_PATCH_SETTINGS = False
  337. DECIMAL_SEPARATOR = '.'
  338. DEFAULT_CHARSET = 'utf-8'
  339. DEFAULT_CONTENT_TYPE = 'text/html'
  340. DEFAULT_EXCEPTION_REPORTER_FILTER = 'django.views.debug.SafeExceptionReporterFilter'
  341. DEFAULT_FILE_STORAGE = 'storages2.backends.gcloud.GoogleCloudStorage'
  342. DEFAULT_FROM_EMAIL = 'support@sonofatailor.com'
  343. DEFAULT_INDEX_TABLESPACE = ''
  344. DEFAULT_TABLESPACE = ''
  345. DISALLOWED_USER_AGENTS = []
  346. EMAIL_BACKEND = 'djcelery_email.backends.CeleryEmailBackend'
  347. EMAIL_HOST = 'localhost'
  348. EMAIL_HOST_PASSWORD = '********************'
  349. EMAIL_HOST_USER = ''
  350. EMAIL_PORT = 25
  351. EMAIL_SSL_CERTFILE = None
  352. EMAIL_SSL_KEYFILE = '********************'
  353. EMAIL_SUBJECT_PREFIX = '[Django] '
  354. EMAIL_TIMEOUT = None
  355. EMAIL_USE_LOCALTIME = False
  356. EMAIL_USE_SSL = False
  357. EMAIL_USE_TLS = False
  358. EXPLORER_CONNECTIONS = {'Default': 'readonly'}
  359. EXPLORER_DEFAULT_CONNECTION = 'readonly'
  360. FILE_CHARSET = 'utf-8'
  361. FILE_UPLOAD_DIRECTORY_PERMISSIONS = None
  362. FILE_UPLOAD_HANDLERS = ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
  363. FILE_UPLOAD_MAX_MEMORY_SIZE = 2621440
  364. FILE_UPLOAD_PERMISSIONS = None
  365. FILE_UPLOAD_TEMP_DIR = None
  366. FIRST_DAY_OF_WEEK = 0
  367. FIXTURE_DIRS = []
  368. FORCE_SCRIPT_NAME = None
  369. FORMAT_MODULE_PATH = None
  370. FORM_RENDERER = 'django.forms.renderers.DjangoTemplates'
  371. GEOIP_PATH = '/opt/maxmind/'
  372. GOOGLE_PREDICTION_PRIVATE_KEY = '********************'
  373. GOOGLE_PREDICTION_PROJECT_EMAIL = 'calcufitmaster@soat-toas-90108.iam.gserviceaccount.com'
  374. GS_AUTO_CREATE_ACL = 'publicRead'
  375. GS_AUTO_CREATE_BUCKET = True
  376. GS_BUCKET_NAME = 'sonofatailor_eu_dev'
  377. GS_FILE_CHARSET = 'utf-8'
  378. HAYSTACK_CONNECTIONS = {'default': {'ENGINE': 'haystack.backends.simple_backend.SimpleEngine'}}
  379. HUUB_API_URL = '********************'
  380. HUUB_AUTH_URL = 'http://gtw.uat.thehuub.co/api/ext/v2.0/login'
  381. HUUB_LOGIN_PASSWORD = '********************'
  382. HUUB_LOGIN_USER = 'soat'
  383. IGNORABLE_404_URLS = []
  384. IMAGEKIT_DEFAULT_CACHEFILE_STRATEGY = 'imagekit.cachefiles.strategies.Optimistic'
  385. IMPERSONATE_DISABLE_LOGGING = True
  386. INSTALLED_APPS = ['dal', 'dal_select2', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.sites', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.flatpages', 'huub_api', 'nopassword', 'customizer', 'oscar_accounts', 'barcode_manager', 'drf_yasg', 'maintenancemode', 'explorer', 'djcelery_email', 'fancy_cache', 'rest_framework_tracking', 'impersonate', 'djrill', 'countries_plus', 'paypal', 'adyen', 'adyen_soat', 'pipeline', 'compressor', 'storages2', 'rest_framework', 'rest_framework.authtoken', 'django_celery_beat', 'django_celery_results', 'widget_tweaks', 'oscar_stripe', 'sonofatailor', 'metrics_api', 'calcufit', 'tinymce', 'redactor', 'mod_wsgi.server', 'mathfilters', 'oscar', 'forks.analytics', 'forks.checkout', 'forks.address', 'forks.shipping', 'forks.catalogue', 'oscar.apps.catalogue.reviews', 'forks.partner', 'forks.basket', 'oscar.apps.payment', 'forks.offer', 'forks.order', 'forks.customer', 'forks.promotions', 'oscar.apps.search', 'oscar.apps.voucher', 'oscar.apps.wishlists', 'forks.dashboard', 'forks.dashboard.reports', 'oscar.apps.dashboard.users', 'forks.dashboard.orders', 'oscar.apps.dashboard.promotions', 'forks.dashboard.catalogue', 'oscar.apps.dashboard.offers', 'oscar.apps.dashboard.partners', 'oscar.apps.dashboard.pages', 'oscar.apps.dashboard.ranges', 'oscar.apps.dashboard.reviews', 'forks.dashboard.vouchers', 'oscar.apps.dashboard.communications', 'oscar.apps.dashboard.shipping', 'haystack', 'treebeard', 'sorl.thumbnail', 'django_tables2', 'debug_toolbar']
  387. INTERNAL_IPS = ['127.0.0.1', '172.17.42.1', 'localhost:8000', '::1', '0.0.0.0', '172.17.0.1']
  388. 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')]
  389. LANGUAGES_BIDI = ['he', 'ar', 'fa', 'ur']
  390. LANGUAGE_CODE = 'en-us'
  391. LANGUAGE_COOKIE_AGE = None
  392. LANGUAGE_COOKIE_DOMAIN = None
  393. LANGUAGE_COOKIE_NAME = 'django_language'
  394. LANGUAGE_COOKIE_PATH = '/'
  395. LIST = 'List'
  396. LOCALE_PATHS = '/app/sonofatailorapp/locale'
  397. LOGGING = {'formatters': {'simple': {'format': '%(message)s'}, 'verbose': {'format': '%(levelname)s %(asctime)s %(module)s %(process)d %(thread)d %(message)s'}}, 'disable_existing_loggers': False, 'handlers': {'null': {'class': 'logging.NullHandler', 'level': 'INFO'}, 'console': {'formatter': 'verbose', 'class': 'logging.StreamHandler', 'stream': <_io.TextIOWrapper name='<stdout>' mode='w' encoding='UTF-8'>}}, 'version': 1, 'loggers': {'': {'handlers': ['console'], 'level': 'INFO', 'propagate': True}, 'django.request': {'handlers': ['console'], 'level': 'DEBUG', 'propagate': False}, 'oscar_stripe': {'handlers': ['null'], 'level': 'DEBUG', 'propagate': True}, 'django.core.cache.backends': {'handlers': ['null'], 'level': 'INFO', 'propagate': False}}}
  398. LOGGING_CONFIG = 'logging.config.dictConfig'
  399. LOGIN_REDIRECT_URL = '/accounts/profile/'
  400. LOGIN_URL = '/accounts/login/'
  401. LOGOUT_REDIRECT_URL = None
  402. LOG_PATH = '/tmp/sonofatailor'
  403. MAILCHIMP_API_KEY = '********************'
  404. MAILCHIMP_ECOMMERCE_API_URL = '********************'
  405. MAILCHIMP_ECOMMERCE_CURRENCY = 'EUR'
  406. MAILCHIMP_ECOMMERCE_STORE_ID = 'soat-dev'
  407. MAILCHIMP_NEWSLETTER_ID = 'e5638461c4'
  408. MAILCHIMP_USER = 'jakob@sonofatailor.com'
  409. MAINTENANCE_IGNORE_URLS =
  410. MANAGERS = []
  411. MANDRILL_API_KEY = '********************'
  412. MEDIA_ROOT = '/app/sonofatailorapp/mediafiles'
  413. MEDIA_URL = '/media/'
  414. MESSAGE_STORAGE = 'django.contrib.messages.storage.fallback.FallbackStorage'
  415. MIDDLEWARE = None
  416. MIDDLEWARE_CLASSES =
  417. MIGRATION_MODULES = {}
  418. MONTH_DAY_FORMAT = 'F j'
  419. NOPASSWORD_HIDE_USERNAME = '********************'
  420. NOPASSWORD_LOGIN_CODE_TIMEOUT = '********************'
  421. NOPASSWORD_LOGIN_EMAIL_SUBJECT = '********************'
  422. NOPASSWORD_POST_REDIRECT = '********************'
  423. NUMBER_GROUPING = 0
  424. OSCARAPI_BASKETLINE_FIELDS = '********************'
  425. OSCARAPI_BLOCK_ADMIN_API_ACCESS = '********************'
  426. OSCARAPI_INITIAL_ORDER_STATUS = '********************'
  427. OSCAR_ACCOUNTS_REDIRECT_URL = 'customer:profile-view'
  428. OSCAR_ADDRESSES_PER_PAGE = 20
  429. OSCAR_ALLOW_ANON_CHECKOUT = True
  430. OSCAR_ALLOW_ANON_REVIEWS = True
  431. OSCAR_BASKET_COOKIE_LIFETIME = 604800
  432. OSCAR_BASKET_COOKIE_OPEN = 'oscar_open_basket'
  433. OSCAR_BASKET_COOKIE_SECURE = False
  434. OSCAR_COOKIES_DELETE_ON_LOGOUT = ['oscar_recently_viewed_products']
  435. OSCAR_DASHBOARD_DEFAULT_ACCESS_FUNCTION = 'oscar.apps.dashboard.nav.default_access_fn'
  436. OSCAR_DASHBOARD_ITEMS_PER_PAGE = 100
  437. OSCAR_DASHBOARD_NAVIGATION = [{'icon': 'icon-th-list', 'url_name': 'dashboard:index', 'label': 'Panel administracji'}, {'icon': 'icon-sitemap', 'children': [{'url_name': 'dashboard:catalogue-product-list', 'label': 'Produkty'}, {'url_name': 'dashboard:catalogue-class-list', 'label': 'Typy Produktu'}, {'url_name': 'dashboard:catalogue-category-list', 'label': 'Kategorie'}, {'url_name': 'dashboard:range-list', 'label': 'Zakresy'}, {'url_name': 'dashboard:stock-alert-list', 'label': 'Alerty stanów magazynowych'}], 'label': 'Katalog'}, {'icon': 'icon-shopping-cart', 'children': [{'url_name': 'dashboard:order-list', 'label': 'Zamówienia'}, {'url_name': 'dashboard:order-stats', 'label': 'Statystyka'}, {'url_name': 'dashboard:partner-list', 'label': 'Partnerzy'}], 'label': 'Zamówienia'}, {'icon': 'icon-group', 'children': [{'url_name': 'dashboard:users-index', 'label': 'Klienci'}, {'url_name': 'dashboard:user-alert-list', 'label': 'Alerty stanów magazynowych'}], 'label': 'Klienci'}, {'icon': 'icon-bullhorn', 'children': [{'url_name': 'dashboard:offer-list', 'label': 'Oferty'}, {'url_name': 'dashboard:voucher-list', 'label': 'Vouchery'}], 'label': 'Oferty'}, {'icon': 'icon-folder-close', 'children': [{'url_name': 'dashboard:promotion-list', 'label': 'Bloki treści'}, {'url_name': 'dashboard:promotion-list-by-page', 'label': 'Bloki treści per strona'}, {'url_name': 'dashboard:page-list', 'label': 'Strony'}, {'url_name': 'dashboard:comms-list', 'label': 'Szablony wiadomości e-mail'}, {'url_name': 'dashboard:reviews-list', 'label': 'Recenzje'}], 'label': 'Zarządzanie treścią'}, {'icon': 'icon-bar-chart', 'url_name': 'dashboard:reports-index', 'label': 'Raporty'}, {'icon': 'icon-globe', 'children': [{'url_name': 'paypal-express-list', 'label': 'Express transactions'}], 'label': 'PayPal'}, {'icon': 'icon-globe', 'children': [{'url_name': 'accounts-list', 'label': 'Accounts'}, {'url_name': 'transfers-list', 'label': 'Transfers'}, {'url_name': 'report-deferred-income', 'label': 'Deferred income report'}, {'url_name': 'report-profit-loss', 'label': 'Profit/loss report'}], 'label': 'Accounts'}]
  438. OSCAR_DEFAULT_CURRENCY = 'USD'
  439. OSCAR_DELETE_IMAGE_FILES = True
  440. OSCAR_EAGER_ALERTS = True
  441. OSCAR_EMAILS_PER_PAGE = 20
  442. OSCAR_FROM_EMAIL = 'Son of a Tailor <support@sonofatailor.com>'
  443. OSCAR_HIDDEN_FEATURES = []
  444. OSCAR_HOMEPAGE = '/'
  445. OSCAR_IMAGE_FOLDER = 'images/products/%Y/%m/'
  446. OSCAR_INITIAL_LINE_STATUS = 'Pending'
  447. OSCAR_INITIAL_ORDER_STATUS = 'Pending'
  448. OSCAR_LINE_STATUS_PIPELINE = {'Partly On Hold': ('Being processed', 'In Production', 'Cancelled', 'Pattern Locked', 'Shipped From Production', 'Shipped To Customer'), 'Cancelled': ('Being processed', 'On Hold', 'Partly On Hold'), 'Pattern Locked': ('In Production', 'On Hold', 'Partly On Hold', 'Cancelled'), 'Refunded': (), 'Shipped To Customer': (), 'Pending': ('Being processed', 'Cancelled', 'Pattern Locked'), 'Shipped From Production': ('Shipped To Customer', 'On Hold', 'Partly On Hold', 'Cancelled', 'Received For Shipping'), 'On Hold': ('Being processed', 'In Production', 'Cancelled', 'Pattern Locked', 'Shipped From Production', 'Shipped To Customer'), 'Being processed': ('Shipped', 'Cancelled', 'On Hold', 'Partly On Hold', 'Pattern Locked'), 'In Production': ('Shipped From Production', 'On Hold', 'Partly On Hold', 'Cancelled', 'Shipped To Customer'), 'Received For Shipping': ('Shipped To Customer', 'On Hold', 'Partly On Hold'), 'Shipped': ('Refunded',)}
  449. OSCAR_LINE_TSHIRT_STATUS_PIPELINE = {'Shipped From Production': ('Received For Shipping', 'Shipped To Customer', 'Shipped To Customer', 'On Hold', 'Cancelled'), 'On Hold': ('In Production', 'Pattern Locked', 'Shipped From Production', 'Received For Shipping', 'Shipped To Customer', 'Cancelled'), 'Cancelled': ('On Hold',), 'Pattern Locked': ('In Production', 'On Hold', 'Cancelled'), 'In Production': ('Shipped From Production', 'On Hold', 'Cancelled', 'Shipped To Customer', 'Received For Shipping', 'Shipped From Production'), 'Shipped To Customer': (), 'Received For Shipping': ('Shipped To Customer', 'On Hold', 'Cancelled')}
  450. OSCAR_MAIN_TEMPLATE_DIR = '/usr/local/python/lib/python3.5/site-packages/oscar/templates/oscar'
  451. OSCAR_MAX_BASKET_QUANTITY_THRESHOLD = 100
  452. OSCAR_MISSING_IMAGE_URL = '/media/image_not_found.jpg'
  453. OSCAR_MODERATE_REVIEWS = False
  454. OSCAR_NOTIFICATIONS_PER_PAGE = 20
  455. OSCAR_OFFERS_PER_PAGE = 20
  456. OSCAR_ORDERS_PER_PAGE = 20
  457. OSCAR_ORDER_LINE_STATUS_CASCADE = {'Cancelled': 'Cancelled'}
  458. OSCAR_ORDER_STATUS_CASCADE = {'On Hold': 'On Hold', 'Auto': 'Pending', 'Cancelled': 'Cancelled'}
  459. OSCAR_ORDER_STATUS_PIPELINE = {'Complete': ('Refunded', 'On Hold'), 'Auto In Production': ('Auto Production Finished', 'On Hold', 'Cancelled', 'Shipped To Customer', 'Auto Production Finished', 'Auto Shipped From Production'), 'Waiting For Charge': ('Being processed', 'Auto', 'Cancelled', 'Payment Failed'), 'Pickup Office': ('Complete',), 'Refunded': ('On Hold',), 'Shipped To Customer': ('Refunded',), 'Auto Shipped From Production': ('Auto Received For Shipping', 'Shipped To Customer'), 'On Hold': ('Being processed', 'Send to Poland', 'Send to Lithuania', 'Send to Portugal', 'Pattern Locked', 'Quality Checked', 'Cancelled', 'Auto'), 'Being processed': ('Auto', 'Auto In Production', 'Auto Pattern Locked', 'Send to Poland', 'Send to Lithuania', 'Send to Portugal', 'Send to Textrix', 'Send to Fashion Lab', 'Send to Poltex', 'Send to Eigui', 'Being Produced', 'Pattern Locked', 'Complete', 'Cancelled', 'On Hold', 'Broken', 'Pickup Office', 'Send to Production'), 'Auto Pattern Locked': ('Auto In Production', 'On Hold'), 'Waiting For Adyen Notification': ('Being processed', 'Auto', 'Cancelled', 'Payment Failed'), 'Auto Production Finished': ('Shipped To Customer', 'On Hold', 'Cancelled', 'Auto Shipped From Production'), 'Send to Eigui': ('Pattern Locked', 'On Hold', 'Cancelled'), 'Quality Checked': ('Complete', 'On Hold'), 'Custom Payment Success': ('Send to Lithuania', 'Send to Poland', 'Send to Portugal'), 'Cancelled': (), 'Pattern Locked': ('Quality Checked', 'On Hold', 'Being Produced'), 'Payment Failed': ('Being processed', 'Cancelled', 'Custom Payment Success'), 'Send to Portugal': ('Pattern Locked', 'On Hold', 'Cancelled'), 'Send to Fashion Lab': ('Pattern Locked', 'On Hold', 'Cancelled'), 'Pending': ('Auto', 'Being processed', 'Cancelled', 'Payment Failed', 'Auto'), 'Broken Complete': ('Refunded', 'Broken'), 'Send to Textrix': ('Pattern Locked', 'On Hold', 'Cancelled'), 'Send to Production': ('In Production', 'On Hold', 'Cancelled'), 'Send to Poltex': ('Pattern Locked', 'On Hold', 'Cancelled'), 'Auto Received For Shipping': ('Shipped To Customer',), 'Send to Poland': ('Pattern Locked', 'On Hold', 'Cancelled'), 'Send to Lithuania': ('Pattern Locked', 'On Hold', 'Cancelled'), 'Auto': ('Auto Pattern Locked', 'Auto In Production', 'On Hold'), 'Broken': ('Broken Complete', 'Cancelled')}
  460. OSCAR_PRODUCTS_PER_PAGE = 20
  461. OSCAR_PRODUCT_SEARCH_HANDLER = None
  462. OSCAR_PROMOTIONS_ENABLED = True
  463. OSCAR_PROMOTION_FOLDER = 'images/promotions/'
  464. OSCAR_PROMOTION_MERCHANDISING_BLOCK_TYPES =
  465. OSCAR_PROMOTION_POSITIONS =
  466. OSCAR_RECENTLY_VIEWED_COOKIE_LIFETIME = 604800
  467. OSCAR_RECENTLY_VIEWED_COOKIE_NAME = 'oscar_history'
  468. OSCAR_RECENTLY_VIEWED_COOKIE_SECURE = False
  469. OSCAR_RECENTLY_VIEWED_PRODUCTS = 20
  470. OSCAR_REQUIRED_ADDRESS_FIELDS =
  471. OSCAR_REVIEWS_PER_PAGE = 20
  472. OSCAR_SEARCH_FACETS = {'fields': {'rating': {'name': 'Ocena', 'field': 'rating'}, 'product_class': {'name': 'Typ', 'field': 'product_class'}}, 'queries': {'price_range': {'name': 'Zakres cen', 'field': 'price', 'queries': [('0 to 20', '[0 TO 20]'), ('20 do 40', '[20 TO 40]'), ('40 do 60', '[40 TO 60]'), ('60+', '[60 TO *]')]}}}
  473. OSCAR_SEND_REGISTRATION_EMAIL = True
  474. OSCAR_SETTINGS = {'OSCAR_STOCK_ALERTS_PER_PAGE': 20, 'OSCAR_SLUG_MAP': {}, 'OSCAR_DASHBOARD_DEFAULT_ACCESS_FUNCTION': 'oscar.apps.dashboard.nav.default_access_fn', 'OSCAR_UPLOAD_ROOT': '/tmp', 'OSCAR_IMAGE_FOLDER': 'images/products/%Y/%m/', 'OSCAR_RECENTLY_VIEWED_COOKIE_NAME': 'oscar_history', 'OSCAR_BASKET_COOKIE_SECURE': False, 'OSCAR_SLUG_BLACKLIST': [], 'OSCAR_COOKIES_DELETE_ON_LOGOUT': ['oscar_recently_viewed_products'], 'OSCAR_OFFERS_PER_PAGE': 20, 'OSCAR_HOMEPAGE': '/', 'OSCAR_DASHBOARD_ITEMS_PER_PAGE': 20, 'OSCAR_DASHBOARD_NAVIGATION': [{'icon': 'icon-th-list', 'url_name': 'dashboard:index', 'label': 'Panel administracji'}, {'icon': 'icon-sitemap', 'children': [{'url_name': 'dashboard:catalogue-product-list', 'label': 'Produkty'}, {'url_name': 'dashboard:catalogue-class-list', 'label': 'Typy Produktu'}, {'url_name': 'dashboard:catalogue-category-list', 'label': 'Kategorie'}, {'url_name': 'dashboard:range-list', 'label': 'Zakresy'}, {'url_name': 'dashboard:stock-alert-list', 'label': 'Alerty stanów magazynowych'}], 'label': 'Katalog'}, {'icon': 'icon-shopping-cart', 'children': [{'url_name': 'dashboard:order-list', 'label': 'Zamówienia'}, {'url_name': 'dashboard:order-stats', 'label': 'Statystyka'}, {'url_name': 'dashboard:partner-list', 'label': 'Partnerzy'}], 'label': 'Zamówienia'}, {'icon': 'icon-group', 'children': [{'url_name': 'dashboard:users-index', 'label': 'Klienci'}, {'url_name': 'dashboard:user-alert-list', 'label': 'Alerty stanów magazynowych'}], 'label': 'Klienci'}, {'icon': 'icon-bullhorn', 'children': [{'url_name': 'dashboard:offer-list', 'label': 'Oferty'}, {'url_name': 'dashboard:voucher-list', 'label': 'Vouchery'}], 'label': 'Oferty'}, {'icon': 'icon-folder-close', 'children': [{'url_name': 'dashboard:promotion-list', 'label': 'Bloki treści'}, {'url_name': 'dashboard:promotion-list-by-page', 'label': 'Bloki treści per strona'}, {'url_name': 'dashboard:page-list', 'label': 'Strony'}, {'url_name': 'dashboard:comms-list', 'label': 'Szablony wiadomości e-mail'}, {'url_name': 'dashboard:reviews-list', 'label': 'Recenzje'}], 'label': 'Zarządzanie treścią'}, {'icon': 'icon-bar-chart', 'url_name': 'dashboard:reports-index', 'label': 'Raporty'}, {'icon': 'icon-globe', 'children': [{'url_name': 'paypal-express-list', 'label': 'Express transactions'}], 'label': 'PayPal'}, {'icon': 'icon-globe', 'children': [{'url_name': 'accounts-list', 'label': 'Accounts'}, {'url_name': 'transfers-list', 'label': 'Transfers'}, {'url_name': 'report-deferred-income', 'label': 'Deferred income report'}, {'url_name': 'report-profit-loss', 'label': 'Profit/loss report'}], 'label': 'Accounts'}], 'OSCAR_MISSING_IMAGE_URL': 'image_not_found.jpg', 'OSCAR_NOTIFICATIONS_PER_PAGE': 20, 'OSCAR_RECENTLY_VIEWED_COOKIE_SECURE': False, 'OSCAR_REQUIRED_ADDRESS_FIELDS': ('first_name', 'last_name', 'line1', 'line4', 'postcode', 'country'), 'OSCAR_ALLOW_ANON_CHECKOUT': False, 'OSCAR_MAX_BASKET_QUANTITY_THRESHOLD': 10000, 'OSCAR_ADDRESSES_PER_PAGE': 20, 'OSCAR_RECENTLY_VIEWED_PRODUCTS': 20, 'OSCAR_SHOP_NAME': 'Oscar', 'OSCAR_PRODUCTS_PER_PAGE': 20, 'OSCAR_EMAILS_PER_PAGE': 20, 'OSCAR_SHOP_TAGLINE': '', 'OSCAR_SLUG_FUNCTION': 'oscar.core.utils.default_slugifier', 'OSCAR_DELETE_IMAGE_FILES': True, 'OSCAR_ACCOUNTS_REDIRECT_URL': 'customer:profile-view', 'OSCAR_PROMOTION_FOLDER': 'images/promotions/', 'OSCAR_RECENTLY_VIEWED_COOKIE_LIFETIME': 604800, 'OSCAR_EAGER_ALERTS': True, 'OSCAR_FROM_EMAIL': 'oscar@example.com', 'OSCAR_ALLOW_ANON_REVIEWS': True, 'OSCAR_REVIEWS_PER_PAGE': 20, 'OSCAR_DEFAULT_CURRENCY': 'GBP', 'OSCAR_SLUG_ALLOW_UNICODE': False, 'OSCAR_PROMOTION_POSITIONS': (('page', 'Page'), ('right', 'Right-hand sidebar'), ('left', 'Left-hand sidebar')), 'OSCAR_ORDERS_PER_PAGE': 20, 'OSCAR_HIDDEN_FEATURES': [], 'OSCAR_PROMOTIONS_ENABLED': True, 'OSCAR_BASKET_COOKIE_OPEN': 'oscar_open_basket', 'OSCAR_PROMOTION_MERCHANDISING_BLOCK_TYPES': (('Countdown', 'Vertical list'), ('List', 'Horizontal list'), ('TabbedBlock', 'Tabbed block'), ('SingleProduct', 'Single product')), 'OSCAR_PRODUCT_SEARCH_HANDLER': None, 'OSCAR_SEND_REGISTRATION_EMAIL': True, 'OSCAR_MODERATE_REVIEWS': False, 'OSCAR_SEARCH_FACETS': {'fields': {'rating': {'name': 'Ocena', 'field': 'rating'}, 'product_class': {'name': 'Typ', 'field': 'product_class'}}, 'queries': {'price_range': {'name': 'Zakres cen', 'field': 'price', 'queries': [('0 to 20', '[0 TO 20]'), ('20 do 40', '[20 TO 40]'), ('40 do 60', '[40 TO 60]'), ('60+', '[60 TO *]')]}}}, 'OSCAR_BASKET_COOKIE_LIFETIME': 604800}
  475. OSCAR_SHOP_NAME = 'Son of a Tailor'
  476. OSCAR_SHOP_TAGLINE = 'Custom Fitted T-Shirts'
  477. OSCAR_SLUG_ALLOW_UNICODE = False
  478. OSCAR_SLUG_BLACKLIST = []
  479. OSCAR_SLUG_FUNCTION = 'oscar.core.utils.default_slugifier'
  480. OSCAR_SLUG_MAP = {}
  481. OSCAR_STOCK_ALERTS_PER_PAGE = 20
  482. OSCAR_UPLOAD_ROOT = '/tmp'
  483. PASSWORD_HASHERS = '********************'
  484. PASSWORD_RESET_TIMEOUT_DAYS = '********************'
  485. PAYMENT_PROVIDER = 'adyen'
  486. PAYPAL_API_PASSWORD = '********************'
  487. PAYPAL_API_SIGNATURE = '********************'
  488. PAYPAL_API_USERNAME = '********************'
  489. PAYPAL_CALLBACK_HTTPS = False
  490. PAYPAL_ENVIRONMENT = 'sandbox'
  491. PAYPAL_MERCHANT_ID = 'YU2GM2Y7DVJS6'
  492. PAYPAL_PAYMENT_ACTION = 'Sale'
  493. PAYPAL_SANDBOX_MODE = True
  494. PIPELINE = {'JAVASCRIPT': {'customizer2': {'source_filenames': ('scripts_dist/tshirteditorv2/drawings.js', 'scripts_dist/tshirteditorv2/controllers.js', 'scripts_dist/tshirteditorv2/directives.js', 'scripts_dist/tshirteditorv2/services.js', 'scripts_dist/tshirteditorv2/module.js', 'scripts_dist/calcufitv2/services.js', 'scripts_dist/measurement4/services.js', 'scripts_dist/measurement4/directives.js', 'scripts_dist/measurement4/module.js', 'scripts_dist/customizer2/services.js', 'scripts_dist/customizer2/directives.js', 'scripts_dist/customizer2/module.js', 'scripts_dist/pages/customizer2/app.js'), 'output_filename': 'scripts_dist/customizer2.min.js'}, 'default': {'source_filenames': ('scripts_dist/tshirteditorv2/drawings.js', 'scripts_dist/tshirteditorv2/controllers.js', 'scripts_dist/tshirteditorv2/directives.js', 'scripts_dist/tshirteditorv2/services.js', 'scripts_dist/tshirteditorv2/module.js', 'scripts_dist/pages/default/app.js'), 'output_filename': 'scripts_dist/default.min.js'}, 'wall': {'source_filenames': ('scripts_dist/tshirteditorv2/drawings.js', 'scripts_dist/tshirteditorv2/controllers.js', 'scripts_dist/tshirteditorv2/directives.js', 'scripts_dist/tshirteditorv2/services.js', 'scripts_dist/tshirteditorv2/module.js', 'scripts_dist/pages/wall/app.js'), 'output_filename': 'scripts_dist/wall.min.js'}, 'checkout': {'source_filenames': ('libs/angular-messages/angular-messages.js', 'scripts_dist/tshirteditorv2/drawings.js', 'scripts_dist/tshirteditorv2/controllers.js', 'scripts_dist/tshirteditorv2/directives.js', 'scripts_dist/tshirteditorv2/services.js', 'scripts_dist/tshirteditorv2/module.js', 'scripts_dist/vue/pages/TheCheckout/*.js', 'scripts_dist/vue/pages/TheCheckout/components/*.js', 'scripts_dist/pages/checkout/app.js'), 'output_filename': 'scripts_dist/checkout.min.js'}, 'layout': {'source_filenames': ('scripts_dist/basket/controllers.js', 'scripts_dist/basket/services.js', 'scripts_dist/basket/module.js', 'scripts_dist/vue/*.js', 'scripts_dist/vue/modules/*.js', 'scripts_dist/vue/models/*.js', 'scripts_dist/vue/models/**/*.js', 'scripts_dist/vue/models/**/**/*.js', 'scripts_dist/vue/models/**/**/**/*.js', 'scripts_dist/vue/api/*.js', 'scripts_dist/vue/store/*.js', 'scripts_dist/vue/components/NumericStepper/*.js', 'scripts_dist/vue/components/ButtonSelect/*.js', 'scripts_dist/vue/components/SoatDropdown/*.js', 'scripts_dist/vue/components/BaseBasketComponents/*.js', 'scripts_dist/vue/components/TheBasketSidebar/*.js', 'scripts_dist/vue/components/TheBasketSidebar/components/*.js', 'scripts_dist/vue/components/TShirtSketch/*.js', 'scripts_dist/vue/components/TShirtSketch/**/*.js', 'scripts_dist/vue/components/SizeCreator/*.js', 'scripts_dist/vue/components/SizeCreator/**/*.js', 'scripts_dist/vue/components/SizeCreator/**/**/*.js', 'scripts_dist/vue/components/SizeCreator/**/**/**/*.js', 'scripts_dist/vue/components/SizeCreator/**/**/**/**/*.js', 'scripts_dist/vue/components/SizeCreator/**/**/**/**/**/*.js', 'scripts_dist/vue/components/SizeCreator/**/**/**/**/**/**/*.js', 'scripts_dist/authentication/controllers.js', 'scripts_dist/authentication/directives.js', 'scripts_dist/customizer2/services.js', 'scripts_dist/customerv2/services.js', 'scripts_dist/authentication/module.js', 'scripts_dist/checkout/controllers.js', 'scripts_dist/checkout/directives.js', 'scripts_dist/checkout/services.js', 'scripts_dist/checkout/module.js', 'scripts_dist/calcufitv2/services.js', 'scripts_dist/measurement4/services.js'), 'output_filename': 'scripts_dist/layout.min.js'}, 'leadcapture': {'source_filenames': ('libs/slick-carousel/slick/slick.min.js', 'libs/angular-slick-carousel/dist/angular-slick.min.js', 'scripts_dist/tshirteditorv2/drawings.js', 'scripts_dist/tshirteditorv2/controllers.js', 'scripts_dist/tshirteditorv2/directives.js', 'scripts_dist/tshirteditorv2/services.js', 'scripts_dist/tshirteditorv2/module.js', 'scripts_dist/calcufitv2/services.js', 'scripts_dist/measurement4/services.js', 'scripts_dist/measurement4/directives.js', 'scripts_dist/measurement4/module.js', 'scripts_dist/leadcapture/services.js', 'scripts_dist/leadcapture/controllers.js', 'scripts_dist/leadcapture/directives.js', 'scripts_dist/leadcapture/module.js', 'scripts_dist/pages/leadcapture/app.js'), 'output_filename': 'scripts_dist/leadcapture.min.js'}, 'common': {'source_filenames': ('libs/angular/angular.js', 'libs/angular/angular-ui-states.js', 'libs/angular-animate/angular-animate.min.js', 'libs/angular-cookies/angular-cookies.min.js', 'libs/ngstorage/ngStorage.min.js', 'libs/angular-route/angular-route.min.js', 'libs/angular-ui-router/release/angular-ui-router.min.js', 'libs/iso-currency/dist/isoCurrency.min.js', 'libs_custom/angular-currency-format/dist/currency-format.js', 'libs/vue/vue.min.js', 'libs/ngVue/ngVue.min.js', 'libs/ngVue/plugins.min.js', 'libs/vuex/vuex.min.js', 'libs/vuelidate/vuelidate.min.js', 'libs/vuelidate/validators.min.js', 'libs/vue-js-modal/vue-js-modal.min.js', 'libs/angular-bootstrap/ui-bootstrap-tpls.min.js', 'libs/angular-touch/angular-touch.min.js', 'libs/angular-post-fix/postfix.js', 'libs/angular-popover-toggle/popover-toggle.js', 'libs/angular-loading-bar/build/loading-bar.js', 'libs/scroll-depth/jquery.scrolldepth.js', 'libs/angular-scroll/angular-scroll.js', 'libs/angular-order-object-by/src/ng-order-object-by.js', 'libs/angular-swipe/dist/angular-swipe.js', 'libs/api-check/dist/api-check.js', 'libs/angular-formly/dist/formly.js', 'libs/angular-formly-templates-bootstrap/dist/angular-formly-templates-bootstrap.min.js', 'libs_custom/angular-stepper/src/angular-stepper.js', 'libs/angular-autodisable/angular-autodisable.js', 'libs/angular-inview/angular-inview.js', 'libs/angular-cache/dist/angular-cache.js', 'libs/ng-debounce/angular-debounce.js', 'libs/angular-carousel/dist/angular-carousel.js', 'libs_custom/paper/paper-core.js'), 'output_filename': 'scripts_dist/common.min.js'}, 'home': {'source_filenames': ('scripts_dist/tshirteditorv2/drawings.js', 'scripts_dist/tshirteditorv2/controllers.js', 'scripts_dist/tshirteditorv2/directives.js', 'scripts_dist/tshirteditorv2/services.js', 'scripts_dist/tshirteditorv2/module.js', 'scripts_dist/pages/index/app.js'), 'output_filename': 'scripts_dist/home.min.js'}, 'giftcard': {'source_filenames': ('scripts_dist/tshirteditorv2/drawings.js', 'scripts_dist/tshirteditorv2/controllers.js', 'scripts_dist/tshirteditorv2/directives.js', 'scripts_dist/tshirteditorv2/services.js', 'scripts_dist/tshirteditorv2/module.js', 'scripts_dist/vue/pages/Shop/TheGiftcardProductPage/*.js', 'scripts_dist/giftcard/services.js', 'scripts_dist/giftcard/controllers.js', 'scripts_dist/giftcard/module.js', 'scripts_dist/pages/giftcard/app.js'), 'output_filename': 'scripts_dist/giftcard.min.js'}, 'admin': {'source_filenames': ('libs/paper/dist/paper-core.js', 'scripts_dist/tshirteditorv2/drawings.js', 'scripts_dist/tshirteditorv2/controllers.js', 'scripts_dist/tshirteditorv2/directives.js', 'scripts_dist/tshirteditorv2/services.js', 'scripts_dist/tshirteditorv2/module.js', 'libs/angular-ui-grid/ui-grid.min.js', 'libs_custom/ui-grid-auto-fit-columns/dist/autoFitColumns.min.js', 'scripts_dist/vue/components/BasketBaseComponents/*.js', 'scripts_dist/vue/components/NumericStepper/*.js', 'scripts_dist/vue/components/TheBasketSidebar/*.js', 'scripts_dist/vue/components/TheBasketSidebar/components/*.js', 'scripts_dist/calcufitv2/services.js', 'scripts_dist/measurement4/services.js', 'scripts_dist/measurement4/directives.js', 'scripts_dist/measurement4/module.js', 'scripts_dist/customizer2/services.js', 'scripts_dist/customerv2/services.js', 'scripts_dist/basket/controllers.js', 'scripts_dist/basket/services.js', 'scripts_dist/basket/module.js', 'scripts_dist/admin/controllers.js', 'scripts_dist/admin/directives.js', 'scripts_dist/admin/services.js', 'scripts_dist/admin/module.js', 'scripts_dist/pages/admin/app.js'), 'output_filename': 'scripts_dist/admin.min.js'}, 'customerv2': {'source_filenames': ('scripts_dist/tshirteditorv2/drawings.js', 'scripts_dist/tshirteditorv2/controllers.js', 'scripts_dist/tshirteditorv2/directives.js', 'scripts_dist/tshirteditorv2/services.js', 'scripts_dist/tshirteditorv2/module.js', 'scripts_dist/calcufitv2/services.js', 'scripts_dist/measurement4/services.js', 'scripts_dist/measurement4/directives.js', 'scripts_dist/measurement4/module.js', 'scripts_dist/customerv2/controllers.js', 'scripts_dist/customerv2/directives.js', 'scripts_dist/customerv2/module.js', 'scripts_dist/pages/customerv2/app.js'), 'output_filename': 'scripts_dist/customer99.min.js'}}, 'CSS_COMPRESSOR': 'pipeline.compressors.NoopCompressor', 'JS_COMPRESSOR': 'pipeline.compressors.NoopCompressor', 'PIPELINE_ENABLED': False, 'STYLESHEETS': {'order_admin': {'variant': 'datauri', 'source_filenames': ('styles_dist/order_admin.css',), 'output_filename': 'styles_dist/order_admin.concat.css'}, 'main': {'variant': 'datauri', 'source_filenames': ('styles_dist/main.css',), 'output_filename': 'styles_dist/main.concat.css'}}}
  495. PIPELINE_CSS = {'order_admin': {'variant': 'datauri', 'source_filenames': ('styles_dist/order_admin.css',), 'output_filename': 'styles_dist/order_admin.concat.css'}, 'main': {'variant': 'datauri', 'source_filenames': ('styles_dist/main.css',), 'output_filename': 'styles_dist/main.concat.css'}}
  496. PIPELINE_CSS_COMPRESSOR = 'pipeline.compressors.NoopCompressor'
  497. PIPELINE_ENABLED = False
  498. PIPELINE_JS = {'customizer2': {'source_filenames': ('scripts_dist/tshirteditorv2/drawings.js', 'scripts_dist/tshirteditorv2/controllers.js', 'scripts_dist/tshirteditorv2/directives.js', 'scripts_dist/tshirteditorv2/services.js', 'scripts_dist/tshirteditorv2/module.js', 'scripts_dist/calcufitv2/services.js', 'scripts_dist/measurement4/services.js', 'scripts_dist/measurement4/directives.js', 'scripts_dist/measurement4/module.js', 'scripts_dist/customizer2/services.js', 'scripts_dist/customizer2/directives.js', 'scripts_dist/customizer2/module.js', 'scripts_dist/pages/customizer2/app.js'), 'output_filename': 'scripts_dist/customizer2.min.js'}, 'default': {'source_filenames': ('scripts_dist/tshirteditorv2/drawings.js', 'scripts_dist/tshirteditorv2/controllers.js', 'scripts_dist/tshirteditorv2/directives.js', 'scripts_dist/tshirteditorv2/services.js', 'scripts_dist/tshirteditorv2/module.js', 'scripts_dist/pages/default/app.js'), 'output_filename': 'scripts_dist/default.min.js'}, 'wall': {'source_filenames': ('scripts_dist/tshirteditorv2/drawings.js', 'scripts_dist/tshirteditorv2/controllers.js', 'scripts_dist/tshirteditorv2/directives.js', 'scripts_dist/tshirteditorv2/services.js', 'scripts_dist/tshirteditorv2/module.js', 'scripts_dist/pages/wall/app.js'), 'output_filename': 'scripts_dist/wall.min.js'}, 'checkout': {'source_filenames': ('libs/angular-messages/angular-messages.js', 'scripts_dist/tshirteditorv2/drawings.js', 'scripts_dist/tshirteditorv2/controllers.js', 'scripts_dist/tshirteditorv2/directives.js', 'scripts_dist/tshirteditorv2/services.js', 'scripts_dist/tshirteditorv2/module.js', 'scripts_dist/vue/pages/TheCheckout/*.js', 'scripts_dist/vue/pages/TheCheckout/components/*.js', 'scripts_dist/pages/checkout/app.js'), 'output_filename': 'scripts_dist/checkout.min.js'}, 'layout': {'source_filenames': ('scripts_dist/basket/controllers.js', 'scripts_dist/basket/services.js', 'scripts_dist/basket/module.js', 'scripts_dist/vue/*.js', 'scripts_dist/vue/modules/*.js', 'scripts_dist/vue/models/*.js', 'scripts_dist/vue/models/**/*.js', 'scripts_dist/vue/models/**/**/*.js', 'scripts_dist/vue/models/**/**/**/*.js', 'scripts_dist/vue/api/*.js', 'scripts_dist/vue/store/*.js', 'scripts_dist/vue/components/NumericStepper/*.js', 'scripts_dist/vue/components/ButtonSelect/*.js', 'scripts_dist/vue/components/SoatDropdown/*.js', 'scripts_dist/vue/components/BaseBasketComponents/*.js', 'scripts_dist/vue/components/TheBasketSidebar/*.js', 'scripts_dist/vue/components/TheBasketSidebar/components/*.js', 'scripts_dist/vue/components/TShirtSketch/*.js', 'scripts_dist/vue/components/TShirtSketch/**/*.js', 'scripts_dist/vue/components/SizeCreator/*.js', 'scripts_dist/vue/components/SizeCreator/**/*.js', 'scripts_dist/vue/components/SizeCreator/**/**/*.js', 'scripts_dist/vue/components/SizeCreator/**/**/**/*.js', 'scripts_dist/vue/components/SizeCreator/**/**/**/**/*.js', 'scripts_dist/vue/components/SizeCreator/**/**/**/**/**/*.js', 'scripts_dist/vue/components/SizeCreator/**/**/**/**/**/**/*.js', 'scripts_dist/authentication/controllers.js', 'scripts_dist/authentication/directives.js', 'scripts_dist/customizer2/services.js', 'scripts_dist/customerv2/services.js', 'scripts_dist/authentication/module.js', 'scripts_dist/checkout/controllers.js', 'scripts_dist/checkout/directives.js', 'scripts_dist/checkout/services.js', 'scripts_dist/checkout/module.js', 'scripts_dist/calcufitv2/services.js', 'scripts_dist/measurement4/services.js'), 'output_filename': 'scripts_dist/layout.min.js'}, 'leadcapture': {'source_filenames': ('libs/slick-carousel/slick/slick.min.js', 'libs/angular-slick-carousel/dist/angular-slick.min.js', 'scripts_dist/tshirteditorv2/drawings.js', 'scripts_dist/tshirteditorv2/controllers.js', 'scripts_dist/tshirteditorv2/directives.js', 'scripts_dist/tshirteditorv2/services.js', 'scripts_dist/tshirteditorv2/module.js', 'scripts_dist/calcufitv2/services.js', 'scripts_dist/measurement4/services.js', 'scripts_dist/measurement4/directives.js', 'scripts_dist/measurement4/module.js', 'scripts_dist/leadcapture/services.js', 'scripts_dist/leadcapture/controllers.js', 'scripts_dist/leadcapture/directives.js', 'scripts_dist/leadcapture/module.js', 'scripts_dist/pages/leadcapture/app.js'), 'output_filename': 'scripts_dist/leadcapture.min.js'}, 'common': {'source_filenames': ('libs/angular/angular.js', 'libs/angular/angular-ui-states.js', 'libs/angular-animate/angular-animate.min.js', 'libs/angular-cookies/angular-cookies.min.js', 'libs/ngstorage/ngStorage.min.js', 'libs/angular-route/angular-route.min.js', 'libs/angular-ui-router/release/angular-ui-router.min.js', 'libs/iso-currency/dist/isoCurrency.min.js', 'libs_custom/angular-currency-format/dist/currency-format.js', 'libs/vue/vue.min.js', 'libs/ngVue/ngVue.min.js', 'libs/ngVue/plugins.min.js', 'libs/vuex/vuex.min.js', 'libs/vuelidate/vuelidate.min.js', 'libs/vuelidate/validators.min.js', 'libs/vue-js-modal/vue-js-modal.min.js', 'libs/angular-bootstrap/ui-bootstrap-tpls.min.js', 'libs/angular-touch/angular-touch.min.js', 'libs/angular-post-fix/postfix.js', 'libs/angular-popover-toggle/popover-toggle.js', 'libs/angular-loading-bar/build/loading-bar.js', 'libs/scroll-depth/jquery.scrolldepth.js', 'libs/angular-scroll/angular-scroll.js', 'libs/angular-order-object-by/src/ng-order-object-by.js', 'libs/angular-swipe/dist/angular-swipe.js', 'libs/api-check/dist/api-check.js', 'libs/angular-formly/dist/formly.js', 'libs/angular-formly-templates-bootstrap/dist/angular-formly-templates-bootstrap.min.js', 'libs_custom/angular-stepper/src/angular-stepper.js', 'libs/angular-autodisable/angular-autodisable.js', 'libs/angular-inview/angular-inview.js', 'libs/angular-cache/dist/angular-cache.js', 'libs/ng-debounce/angular-debounce.js', 'libs/angular-carousel/dist/angular-carousel.js', 'libs_custom/paper/paper-core.js'), 'output_filename': 'scripts_dist/common.min.js'}, 'home': {'source_filenames': ('scripts_dist/tshirteditorv2/drawings.js', 'scripts_dist/tshirteditorv2/controllers.js', 'scripts_dist/tshirteditorv2/directives.js', 'scripts_dist/tshirteditorv2/services.js', 'scripts_dist/tshirteditorv2/module.js', 'scripts_dist/pages/index/app.js'), 'output_filename': 'scripts_dist/home.min.js'}, 'giftcard': {'source_filenames': ('scripts_dist/tshirteditorv2/drawings.js', 'scripts_dist/tshirteditorv2/controllers.js', 'scripts_dist/tshirteditorv2/directives.js', 'scripts_dist/tshirteditorv2/services.js', 'scripts_dist/tshirteditorv2/module.js', 'scripts_dist/vue/pages/Shop/TheGiftcardProductPage/*.js', 'scripts_dist/giftcard/services.js', 'scripts_dist/giftcard/controllers.js', 'scripts_dist/giftcard/module.js', 'scripts_dist/pages/giftcard/app.js'), 'output_filename': 'scripts_dist/giftcard.min.js'}, 'admin': {'source_filenames': ('libs/paper/dist/paper-core.js', 'scripts_dist/tshirteditorv2/drawings.js', 'scripts_dist/tshirteditorv2/controllers.js', 'scripts_dist/tshirteditorv2/directives.js', 'scripts_dist/tshirteditorv2/services.js', 'scripts_dist/tshirteditorv2/module.js', 'libs/angular-ui-grid/ui-grid.min.js', 'libs_custom/ui-grid-auto-fit-columns/dist/autoFitColumns.min.js', 'scripts_dist/vue/components/BasketBaseComponents/*.js', 'scripts_dist/vue/components/NumericStepper/*.js', 'scripts_dist/vue/components/TheBasketSidebar/*.js', 'scripts_dist/vue/components/TheBasketSidebar/components/*.js', 'scripts_dist/calcufitv2/services.js', 'scripts_dist/measurement4/services.js', 'scripts_dist/measurement4/directives.js', 'scripts_dist/measurement4/module.js', 'scripts_dist/customizer2/services.js', 'scripts_dist/customerv2/services.js', 'scripts_dist/basket/controllers.js', 'scripts_dist/basket/services.js', 'scripts_dist/basket/module.js', 'scripts_dist/admin/controllers.js', 'scripts_dist/admin/directives.js', 'scripts_dist/admin/services.js', 'scripts_dist/admin/module.js', 'scripts_dist/pages/admin/app.js'), 'output_filename': 'scripts_dist/admin.min.js'}, 'customerv2': {'source_filenames': ('scripts_dist/tshirteditorv2/drawings.js', 'scripts_dist/tshirteditorv2/controllers.js', 'scripts_dist/tshirteditorv2/directives.js', 'scripts_dist/tshirteditorv2/services.js', 'scripts_dist/tshirteditorv2/module.js', 'scripts_dist/calcufitv2/services.js', 'scripts_dist/measurement4/services.js', 'scripts_dist/measurement4/directives.js', 'scripts_dist/measurement4/module.js', 'scripts_dist/customerv2/controllers.js', 'scripts_dist/customerv2/directives.js', 'scripts_dist/customerv2/module.js', 'scripts_dist/pages/customerv2/app.js'), 'output_filename': 'scripts_dist/customer99.min.js'}}
  499. PIPELINE_JS_COMPRESSOR = 'pipeline.compressors.NoopCompressor'
  500. PIPELINE_JS_PREFIX = 'scripts_dist'
  501. PREPEND_WWW = False
  502. PROJECT_SLUG = 'sonofatailor'
  503. REST_FRAMEWORK = {'CHARSET': 'utf-8'}
  504. ROOT_URLCONF = 'config.urls'
  505. SECRET_KEY = '********************'
  506. SECURE_BROWSER_XSS_FILTER = False
  507. SECURE_CONTENT_TYPE_NOSNIFF = False
  508. SECURE_HSTS_INCLUDE_SUBDOMAINS = False
  509. SECURE_HSTS_PRELOAD = False
  510. SECURE_HSTS_SECONDS = 0
  511. SECURE_PROXY_SSL_HEADER = None
  512. SECURE_REDIRECT_EXEMPT = []
  513. SECURE_SSL_HOST = None
  514. SECURE_SSL_REDIRECT = False
  515. SEND_TO_HUUB = False
  516. SERVER_EMAIL = 'root@localhost'
  517. SESSION_CACHE_ALIAS = 'default'
  518. SESSION_COOKIE_AGE = 1209600
  519. SESSION_COOKIE_DOMAIN = None
  520. SESSION_COOKIE_HTTPONLY = True
  521. SESSION_COOKIE_NAME = 'sessionid'
  522. SESSION_COOKIE_PATH = '/'
  523. SESSION_COOKIE_SECURE = False
  524. SESSION_ENGINE = 'django.contrib.sessions.backends.cache'
  525. SESSION_EXPIRE_AT_BROWSER_CLOSE = False
  526. SESSION_FILE_PATH = None
  527. SESSION_SAVE_EVERY_REQUEST = False
  528. SESSION_SERIALIZER = 'django.contrib.sessions.serializers.JSONSerializer'
  529. SETTINGS_MODULE = 'config.settings.local'
  530. SHOP_COUNTRY = 'NL'
  531. SHOP_CURRENCY = 'EUR'
  532. SHORT_DATETIME_FORMAT = 'm/d/Y P'
  533. SHORT_DATE_FORMAT = 'm/d/Y'
  534. SIGNING_BACKEND = 'django.core.signing.TimestampSigner'
  535. SILENCED_SYSTEM_CHECKS = []
  536. SINGLE_PRODUCT = 'SingleProduct'
  537. SITE_ID = 2
  538. SOAT_TSHIRT_PRODUCTION_BUCKET = 'soat_tshirt_production_local'
  539. STATICFILES_DIRS = '/app/sonofatailorapp/static'
  540. STATICFILES_FINDERS =
  541. STATICFILES_STORAGE = 'sonofatailor.cached_storage.ManifestPipelineStorage'
  542. STATIC_ROOT = '/app/sonofatailorapp/staticfiles_dev'
  543. STATIC_URL = '/static/'
  544. STRIPE_CHARGE_AND_CAPTURE_IN_ONE_STEP = True
  545. STRIPE_CURRENCY = 'DKK'
  546. STRIPE_PUBLISHABLE_KEY = '********************'
  547. STRIPE_SECRET_KEY = '********************'
  548. STRIPE_TEST_MODE = True
  549. TABBED_BLOCK = 'TabbedBlock'
  550. TEMPLATES = [{'DIRS': ['/app/sonofatailorapp/config/templates', '/usr/local/python/lib/python3.5/site-packages/oscar/templates/oscar'], 'OPTIONS': {'context_processors': ['django.contrib.auth.context_processors.auth', 'django.template.context_processors.i18n', 'django.template.context_processors.media', 'django.template.context_processors.static', 'django.template.context_processors.tz', 'django.template.context_processors.debug', 'django.template.context_processors.request', 'django.contrib.messages.context_processors.messages', 'oscar.apps.search.context_processors.search_form', 'oscar.apps.checkout.context_processors.checkout', 'oscar.core.context_processors.metadata'], 'debug': True}, 'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates'}]
  551. TEST = True
  552. TEST_NON_SERIALIZED_APPS = []
  553. TEST_RUNNER = 'django.test.runner.DiscoverRunner'
  554. THOUSAND_SEPARATOR = ','
  555. THUMBNAIL_DEBUG = True
  556. TIME_FORMAT = 'P'
  557. TIME_INPUT_FORMATS = ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
  558. TIME_ZONE = 'Europe/Copenhagen'
  559. USE_ETAGS = False
  560. USE_I18N = True
  561. USE_L10N = True
  562. USE_LESS = False
  563. USE_THOUSAND_SEPARATOR = False
  564. USE_TZ = True
  565. USE_X_FORWARDED_HOST = False
  566. USE_X_FORWARDED_PORT = False
  567. WAGTAIL_SITE_NAME = 'sonofatailor'
  568. WSGI_APPLICATION = 'config.wsgi_local.application'
  569. X_FRAME_OPTIONS = 'SAMEORIGIN'
  570. YEAR_MONTH_FORMAT = 'F Y'
  571.  
  572.  
  573. You're seeing this error because you have DEBUG = True in your
  574. Django settings file. Change that to False, and Django will
  575. display a standard page generated by the handler for this status code.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement