· 9 years ago · Aug 08, 2016, 04:40 PM
1TypeError at /api/basket/add-product/
2'type' object is not iterable
3
4Request Method: POST
5Request URL: http://192.168.56.2:8001/api/basket/add-product/
6Django Version: 1.9.7
7Python Executable: /home/luisrox/pollux/bin/python
8Python Version: 3.4.3
9Python Path: ['/home/luisrox/pollux-share', '/home/luisrox/pollux/lib/python3.4', '/home/luisrox/pollux/lib/python3.4/plat-x86_64-linux-gnu', '/home/luisrox/pollux/lib/python3.4/lib-dynload', '/usr/lib/python3.4', '/usr/lib/python3.4/plat-x86_64-linux-gnu', '/home/luisrox/pollux/local/lib/python3.4/site-packages']
10Server time: Mon, 8 Aug 2016 16:30:09 +0000
11Installed Applications:
12['django.contrib.admin',
13 'django.contrib.auth',
14 'django.contrib.contenttypes',
15 'django.contrib.sessions',
16 'django.contrib.messages',
17 'django.contrib.staticfiles',
18 'django.contrib.humanize',
19 'django.contrib.sites',
20 'django.contrib.flatpages',
21 'braces',
22 'localflavor',
23 'bootstrap3',
24 'widget_tweaks',
25 'oscarapi',
26 'core',
27 'users',
28 'store',
29 'web',
30 'oscar',
31 'oscar.apps.analytics',
32 'apps.checkout',
33 'apps.address',
34 'apps.shipping',
35 'apps.catalogue',
36 'oscar.apps.catalogue.reviews',
37 'oscar.apps.partner',
38 'oscar.apps.basket',
39 'oscar.apps.payment',
40 'oscar.apps.offer',
41 'oscar.apps.order',
42 'oscar.apps.customer',
43 'apps.promotions',
44 'oscar.apps.search',
45 'oscar.apps.voucher',
46 'oscar.apps.wishlists',
47 'apps.dashboard',
48 'oscar.apps.dashboard.reports',
49 'oscar.apps.dashboard.users',
50 'oscar.apps.dashboard.orders',
51 'oscar.apps.dashboard.promotions',
52 'oscar.apps.dashboard.catalogue',
53 'oscar.apps.dashboard.offers',
54 'oscar.apps.dashboard.partners',
55 'oscar.apps.dashboard.pages',
56 'oscar.apps.dashboard.ranges',
57 'oscar.apps.dashboard.reviews',
58 'oscar.apps.dashboard.vouchers',
59 'oscar.apps.dashboard.communications',
60 'oscar.apps.dashboard.shipping',
61 'haystack',
62 'treebeard',
63 'sorl.thumbnail',
64 'django_tables2',
65 'django_extensions',
66 '_tmp']
67Installed Middleware:
68('django.contrib.sessions.middleware.SessionMiddleware',
69 'django.middleware.common.CommonMiddleware',
70 'django.middleware.csrf.CsrfViewMiddleware',
71 'django.contrib.auth.middleware.AuthenticationMiddleware',
72 'django.contrib.auth.middleware.SessionAuthenticationMiddleware',
73 'django.contrib.messages.middleware.MessageMiddleware',
74 'django.middleware.clickjacking.XFrameOptionsMiddleware',
75 'django.middleware.security.SecurityMiddleware',
76 'oscarapi.middleware.ApiBasketMiddleWare',
77 'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware')
78
79
80Traceback:
81
82File "/home/luisrox/pollux/local/lib/python3.4/site-packages/django/core/handlers/base.py" in get_response
83 149. response = self.process_exception_by_middleware(e, request)
84
85File "/home/luisrox/pollux/local/lib/python3.4/site-packages/django/core/handlers/base.py" in get_response
86 147. response = wrapped_callback(request, *callback_args, **callback_kwargs)
87
88File "/home/luisrox/pollux/local/lib/python3.4/site-packages/django/views/decorators/csrf.py" in wrapped_view
89 58. return view_func(*args, **kwargs)
90
91File "/home/luisrox/pollux/local/lib/python3.4/site-packages/django/views/generic/base.py" in view
92 68. return self.dispatch(request, *args, **kwargs)
93
94File "/home/luisrox/pollux/local/lib/python3.4/site-packages/rest_framework/views.py" in dispatch
95 449. request = self.initialize_request(request, *args, **kwargs)
96
97File "/home/luisrox/pollux/local/lib/python3.4/site-packages/rest_framework/views.py" in initialize_request
98 364. authenticators=self.get_authenticators(),
99
100File "/home/luisrox/pollux/local/lib/python3.4/site-packages/rest_framework/views.py" in get_authenticators
101 264. return [auth() for auth in self.authentication_classes]
102
103Exception Type: TypeError at /api/basket/add-product/
104Exception Value: 'type' object is not iterable
105Request information:
106GET: No GET data
107
108POST: No POST data
109
110FILES: No FILES data
111
112COOKIES:
113oscar_history = '[7, 6]'
114csrftoken = 'fs2hjGrKmkjrDA8QwPBaer4rAsa5i6PD'
115oscar_open_basket = '8:p5-SH9VDpl_k-eL95YDKoO6BkB4'
116_gat = '1'
117_ga = 'GA1.1.192877539.1465569558'
118
119META:
120wsgi.run_once = False
121HTTP_ACCEPT_LANGUAGE = 'en-US,en;q=0.8'
122SSH_CONNECTION = '192.168.56.1 58943 192.168.56.2 22'
123HTTP_ORIGIN = 'http://192.168.56.2:8001'
124wsgi.input = <_io.BufferedReader name=9>
125SERVER_NAME = 'ubuntu'
126POLLUX_DJANGO_DEBUG = 'True'
127PWD = '/home/luisrox/pollux-share'
128SSH_CLIENT = '192.168.56.1 58943 22'
129CONTENT_LENGTH = '39'
130POLLUX_FORT_PASSWORD = 'Pollux85'
131POLLUX_POSTGRES_PORT = '5432'
132DJANGO_SETTINGS_MODULE = 'pollux.settings.dev_local'
133POLLUX_SECRET_KEY = 'vhn2)2%v=o*tlv4615y%v27^pa3c#ng_zz^ixc0+*=0t0^hd4g'
134POLLUX_POSTGRES_SERVER = 'localhost'
135HTTP_USER_AGENT = 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36'
136SSH_TTY = '/dev/pts/0'
137HTTP_X_REQUESTED_WITH = 'XMLHttpRequest'
138SHLVL = '1'
139OLDPWD = '/home/luisrox'
140LS_COLORS = 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:'
141REMOTE_HOST = ''
142CSRF_COOKIE = 'fs2hjGrKmkjrDA8QwPBaer4rAsa5i6PD'
143XDG_RUNTIME_DIR = '/run/user/1000'
144LOGNAME = 'luisrox'
145wsgi.multiprocess = False
146HTTP_ACCEPT_ENCODING = 'gzip, deflate'
147PS1 = '(pollux) \\[\\e]0;\\u@\\h: \\w\\a\\]${debian_chroot:+($debian_chroot)}\\[\\033[01;32m\\]\\u@\\h\\[\\033[00m\\]:\\[\\033[01;34m\\]\\w\\[\\033[00m\\]\\$ '
148QUERY_STRING = ''
149POLLUX_POSTGRES_DB_NAME = 'db_pollux'
150SHELL = '/bin/bash'
151RUN_MAIN = 'true'
152wsgi.multithread = True
153POLLUX_POSTGRES_USER = 'luisrox'
154GATEWAY_INTERFACE = 'CGI/1.1'
155LESSCLOSE = '/usr/bin/lesspipe %s %s'
156HTTP_HOST = '192.168.56.2:8001'
157MAIL = '/var/mail/luisrox'
158HTTP_ACCEPT = 'application/json, text/javascript, */*; q=0.01'
159HTTP_COOKIE = '_gat=1; csrftoken=fs2hjGrKmkjrDA8QwPBaer4rAsa5i6PD; oscar_history="[7\\054 6]"; _ga=GA1.1.192877539.1465569558; oscar_open_basket=8:p5-SH9VDpl_k-eL95YDKoO6BkB4'
160wsgi.version =
161VIRTUAL_ENV = '/home/luisrox/pollux'
162SCRIPT_NAME = ''
163PATH_INFO = '/api/basket/add-product/'
164POLLUX_POSTGRES_PASSWORD = '19236118a'
165TZ = 'UTC'
166LANG = 'en_US.UTF-8'
167USER = 'luisrox'
168_ = '/home/luisrox/pollux/bin/python'
169PATH = '/home/luisrox/pollux/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games'
170HOME = '/home/luisrox'
171LESSOPEN = '| /usr/bin/lesspipe %s'
172SERVER_PROTOCOL = 'HTTP/1.1'
173wsgi.errors = <_io.TextIOWrapper name='<stderr>' mode='w' encoding='UTF-8'>
174CONTENT_TYPE = 'application/json; charset=UTF-8'
175SERVER_SOFTWARE = 'WSGIServer/0.2'
176HTTP_REFERER = 'http://192.168.56.2:8001/store/product/vino1/'
177wsgi.url_scheme = 'http'
178wsgi.file_wrapper = ''
179POLLUX_FORT_USERNAME = 'cullen'
180REMOTE_ADDR = '192.168.56.1'
181SERVER_PORT = '8001'
182TERM = 'xterm-256color'
183XDG_SESSION_ID = '10'
184HTTP_X_CSRFTOKEN = 'fs2hjGrKmkjrDA8QwPBaer4rAsa5i6PD'
185HTTP_CONNECTION = 'keep-alive'
186REQUEST_METHOD = 'POST'
187
188Settings:
189Using settings module pollux.settings.dev_local
190OSCAR_ORDERS_PER_PAGE = 20
191SETTINGS_MODULE = 'pollux.settings.dev_local'
192SILENCED_SYSTEM_CHECKS = ['RemovedInDjango110Warning']
193SINGLE_PRODUCT = 'SingleProduct'
194TIME_FORMAT = 'P'
195LANGUAGES = [('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'), ('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'), ('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 Bokmal'), ('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')]
196LANGUAGE_COOKIE_DOMAIN = None
197TEMPLATE_DIRS = []
198EMAIL_HOST_USER = 'support@polluxwine.com'
199DISALLOWED_USER_AGENTS = []
200DATE_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']
201OSCAR_PRODUCT_SEARCH_HANDLER = None
202DEFAULT_FROM_EMAIL = 'Pollux Wines <support@polluxwine.com>'
203APPEND_SLASH = True
204PASSWORD_HASHERS = '********************'
205FORT_PASSWORD = '********************'
206DATETIME_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']
207LANGUAGE_CODE = 'en-us'
208POSTGRES_SERVER = 'localhost'
209EMAIL_TIMEOUT = None
210AUTHENTICATION_BACKENDS = ['django.contrib.auth.backends.ModelBackend']
211ROOT_URLCONF = 'pollux.urls'
212FORT_USERNAME = 'cullen'
213EMAIL_HOST_PASSWORD = '********************'
214FILE_UPLOAD_TEMP_DIR = None
215PASSWORD_RESET_TIMEOUT_DAYS = '********************'
216X_FRAME_OPTIONS = 'SAMEORIGIN'
217DEBUG_PROPAGATE_EXCEPTIONS = False
218OSCAR_FROM_EMAIL = 'oscar@example.com'
219SESSION_COOKIE_AGE = 5400
220FIRST_DAY_OF_WEEK = 0
221FILE_UPLOAD_HANDLERS = ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
222OSCAR_PRODUCTS_PER_PAGE = 20
223TEST_RUNNER = 'django.test.runner.DiscoverRunner'
224OSCAR_DASHBOARD_NAVIGATION = [{'url_name': 'dashboard:index', 'icon': 'icon-th-list', 'label': <django.utils.functional.lazy.<locals>.__proxy__ object at 0x7efc9ea39e80>}, {'children': [{'url_name': 'dashboard:catalogue-product-list', 'label': <django.utils.functional.lazy.<locals>.__proxy__ object at 0x7efc9ea39f60>}, {'url_name': 'dashboard:catalogue-class-list', 'label': <django.utils.functional.lazy.<locals>.__proxy__ object at 0x7efc9ea42240>}, {'url_name': 'dashboard:catalogue-category-list', 'label': <django.utils.functional.lazy.<locals>.__proxy__ object at 0x7efc9ea42278>}, {'url_name': 'dashboard:range-list', 'label': <django.utils.functional.lazy.<locals>.__proxy__ object at 0x7efc9d532080>}, {'url_name': 'dashboard:stock-alert-list', 'label': <django.utils.functional.lazy.<locals>.__proxy__ object at 0x7efc9d5320f0>}], 'icon': 'icon-sitemap', 'label': <django.utils.functional.lazy.<locals>.__proxy__ object at 0x7efc9ea39eb8>}, {'children': [{'url_name': 'dashboard:order-list', 'label': <django.utils.functional.lazy.<locals>.__proxy__ object at 0x7efc9d532160>}, {'url_name': 'dashboard:order-stats', 'label': <django.utils.functional.lazy.<locals>.__proxy__ object at 0x7efc9d5321d0>}, {'url_name': 'dashboard:partner-list', 'label': <django.utils.functional.lazy.<locals>.__proxy__ object at 0x7efc9d532240>}], 'icon': 'icon-shopping-cart', 'label': <django.utils.functional.lazy.<locals>.__proxy__ object at 0x7efc9d532128>}, {'children': [{'url_name': 'dashboard:users-index', 'label': <django.utils.functional.lazy.<locals>.__proxy__ object at 0x7efc9d532320>}, {'url_name': 'dashboard:user-alert-list', 'label': <django.utils.functional.lazy.<locals>.__proxy__ object at 0x7efc9d532390>}], 'icon': 'icon-group', 'label': <django.utils.functional.lazy.<locals>.__proxy__ object at 0x7efc9d5322b0>}, {'children': [{'url_name': 'dashboard:offer-list', 'label': <django.utils.functional.lazy.<locals>.__proxy__ object at 0x7efc9d532470>}, {'url_name': 'dashboard:voucher-list', 'label': <django.utils.functional.lazy.<locals>.__proxy__ object at 0x7efc9d5324e0>}], 'icon': 'icon-bullhorn', 'label': <django.utils.functional.lazy.<locals>.__proxy__ object at 0x7efc9d532400>}, {'children': [{'url_name': 'dashboard:promotion-list', 'label': <django.utils.functional.lazy.<locals>.__proxy__ object at 0x7efc9d5325c0>}, {'url_name': 'dashboard:promotion-list-by-page', 'label': <django.utils.functional.lazy.<locals>.__proxy__ object at 0x7efc9d532630>}, {'url_name': 'dashboard:page-list', 'label': <django.utils.functional.lazy.<locals>.__proxy__ object at 0x7efc9d5326a0>}, {'url_name': 'dashboard:comms-list', 'label': <django.utils.functional.lazy.<locals>.__proxy__ object at 0x7efc9d532710>}, {'url_name': 'dashboard:reviews-list', 'label': <django.utils.functional.lazy.<locals>.__proxy__ object at 0x7efc9d532780>}], 'icon': 'icon-folder-close', 'label': <django.utils.functional.lazy.<locals>.__proxy__ object at 0x7efc9d532550>}, {'url_name': 'dashboard:reports-index', 'icon': 'icon-bar-chart', 'label': <django.utils.functional.lazy.<locals>.__proxy__ object at 0x7efc9d5327f0>}]
225OSCAR_RECENTLY_VIEWED_COOKIE_NAME = 'oscar_history'
226OSCAR_DEFAULT_CURRENCY = 'GBP'
227SECURE_SSL_REDIRECT = False
228OSCAR_BASKET_COOKIE_OPEN = 'oscar_open_basket'
229AUTH_PASSWORD_VALIDATORS = '********************'
230CSRF_FAILURE_VIEW = 'django.views.csrf.csrf_failure'
231SECURE_REDIRECT_EXEMPT = []
232OSCAR_SLUG_BLACKLIST = []
233FORMAT_MODULE_PATH = None
234AUTH_USER_MODEL = 'users.User'
235OSCAR_PROMOTION_POSITIONS =
236LOGOUT_URL = 'users:logout'
237DEFAULT_INDEX_TABLESPACE = ''
238LANGUAGE_COOKIE_AGE = None
239OSCAR_ALLOW_ANON_CHECKOUT = False
240USE_ETAGS = False
241OSCAR_INITIAL_LINE_STATUS = 'Pending'
242OSCAR_SHOP_NAME = 'Oscar'
243THOUSAND_SEPARATOR = ','
244STATICFILES_DIRS = []
245OSCAR_DASHBOARD_ITEMS_PER_PAGE = 20
246LIST = 'List'
247CSRF_COOKIE_NAME = 'csrftoken'
248SERVER_EMAIL = 'root@localhost'
249OSCAR_IMAGE_FOLDER = 'images/products/%Y/%m/'
250ADMIN_MEDIA_PREFIX = '/static/admin/'
251LOGIN_URL = 'users:login'
252SESSION_COOKIE_NAME = 'sessionid'
253FORT_CART_URL = 'http://pollux.fortsystems.com/cart.cfm'
254CSRF_COOKIE_AGE = 31449600
255FIXTURE_DIRS = []
256SECURE_BROWSER_XSS_FILTER = False
257SESSION_EXPIRE_AT_BROWSER_CLOSE = False
258OSCAR_BASKET_COOKIE_LIFETIME = 604800
259OSCAR_REQUIRED_ADDRESS_FIELDS =
260FORCE_SCRIPT_NAME = None
261OSCAR_STOCK_ALERTS_PER_PAGE = 20
262SECURE_CONTENT_TYPE_NOSNIFF = False
263OSCAR_ALLOW_ANON_REVIEWS = True
264SECRET_KEY = '********************'
265OSCAR_EAGER_ALERTS = True
266SESSION_FILE_PATH = None
267SESSION_COOKIE_HTTPONLY = True
268TEST_NON_SERIALIZED_APPS = []
269CACHE_MIDDLEWARE_KEY_PREFIX = '********************'
270EMAIL_PORT = 587
271DATABASE_ROUTERS = []
272CSRF_COOKIE_HTTPONLY = False
273CSRF_COOKIE_PATH = '/'
274SHORT_DATE_FORMAT = 'm/d/Y'
275LOGIN_REDIRECT_URL = 'home'
276TABBED_BLOCK = 'TabbedBlock'
277ALLOWED_INCLUDE_ROOTS = []
278EMAIL_SUBJECT_PREFIX = '[Django] '
279POSTGRES_USER = 'luisrox'
280SESSION_ENGINE = 'django.contrib.sessions.backends.db'
281SHORT_DATETIME_FORMAT = 'm/d/Y P'
282SESSION_CACHE_ALIAS = 'default'
283EMAIL_USE_SSL = False
284OSCAR_RECENTLY_VIEWED_PRODUCTS = 20
285TEMPLATE_STRING_IF_INVALID = ''
286OSCARAPI_BASKET_FIELDS = '********************'
287INTERNAL_IPS =
288OSCAR_PROMOTION_FOLDER = 'images/promotions/'
289OSCAR_SETTINGS = {'OSCAR_ORDERS_PER_PAGE': 20, 'OSCAR_IMAGE_FOLDER': 'images/products/%Y/%m/', 'OSCAR_PROMOTION_FOLDER': 'images/promotions/', 'OSCAR_DASHBOARD_DEFAULT_ACCESS_FUNCTION': 'oscar.apps.dashboard.nav.default_access_fn', 'OSCAR_SLUG_FUNCTION': 'oscar.core.utils.default_slugifier', 'OSCAR_HOMEPAGE': <django.utils.functional.lazy.<locals>.__proxy__ object at 0x7efc9ea39e10>, 'OSCAR_EMAILS_PER_PAGE': 20, 'OSCAR_HIDDEN_FEATURES': [], 'OSCAR_COOKIES_DELETE_ON_LOGOUT': ['oscar_recently_viewed_products'], 'OSCAR_BASKET_COOKIE_LIFETIME': 604800, 'OSCAR_REQUIRED_ADDRESS_FIELDS': ('first_name', 'last_name', 'line1', 'line4', 'postcode', 'country'), 'OSCAR_PRODUCT_SEARCH_HANDLER': None, 'OSCAR_STOCK_ALERTS_PER_PAGE': 20, 'OSCAR_RECENTLY_VIEWED_COOKIE_LIFETIME': 604800, 'OSCAR_DELETE_IMAGE_FILES': True, 'OSCAR_UPLOAD_ROOT': '/tmp', 'OSCAR_MAX_BASKET_QUANTITY_THRESHOLD': 10000, 'OSCAR_ALLOW_ANON_REVIEWS': True, 'OSCAR_DEFAULT_CURRENCY': 'GBP', 'OSCAR_SEND_REGISTRATION_EMAIL': True, 'OSCAR_ALLOW_ANON_CHECKOUT': False, 'OSCAR_ADDRESSES_PER_PAGE': 20, 'OSCAR_REVIEWS_PER_PAGE': 20, 'OSCAR_FROM_EMAIL': 'oscar@example.com', 'OSCAR_PRODUCTS_PER_PAGE': 20, 'OSCAR_DASHBOARD_NAVIGATION': [{'url_name': 'dashboard:index', 'icon': 'icon-th-list', 'label': <django.utils.functional.lazy.<locals>.__proxy__ object at 0x7efc9ea39e80>}, {'children': [{'url_name': 'dashboard:catalogue-product-list', 'label': <django.utils.functional.lazy.<locals>.__proxy__ object at 0x7efc9ea39f60>}, {'url_name': 'dashboard:catalogue-class-list', 'label': <django.utils.functional.lazy.<locals>.__proxy__ object at 0x7efc9ea42240>}, {'url_name': 'dashboard:catalogue-category-list', 'label': <django.utils.functional.lazy.<locals>.__proxy__ object at 0x7efc9ea42278>}, {'url_name': 'dashboard:range-list', 'label': <django.utils.functional.lazy.<locals>.__proxy__ object at 0x7efc9d532080>}, {'url_name': 'dashboard:stock-alert-list', 'label': <django.utils.functional.lazy.<locals>.__proxy__ object at 0x7efc9d5320f0>}], 'icon': 'icon-sitemap', 'label': <django.utils.functional.lazy.<locals>.__proxy__ object at 0x7efc9ea39eb8>}, {'children': [{'url_name': 'dashboard:order-list', 'label': <django.utils.functional.lazy.<locals>.__proxy__ object at 0x7efc9d532160>}, {'url_name': 'dashboard:order-stats', 'label': <django.utils.functional.lazy.<locals>.__proxy__ object at 0x7efc9d5321d0>}, {'url_name': 'dashboard:partner-list', 'label': <django.utils.functional.lazy.<locals>.__proxy__ object at 0x7efc9d532240>}], 'icon': 'icon-shopping-cart', 'label': <django.utils.functional.lazy.<locals>.__proxy__ object at 0x7efc9d532128>}, {'children': [{'url_name': 'dashboard:users-index', 'label': <django.utils.functional.lazy.<locals>.__proxy__ object at 0x7efc9d532320>}, {'url_name': 'dashboard:user-alert-list', 'label': <django.utils.functional.lazy.<locals>.__proxy__ object at 0x7efc9d532390>}], 'icon': 'icon-group', 'label': <django.utils.functional.lazy.<locals>.__proxy__ object at 0x7efc9d5322b0>}, {'children': [{'url_name': 'dashboard:offer-list', 'label': <django.utils.functional.lazy.<locals>.__proxy__ object at 0x7efc9d532470>}, {'url_name': 'dashboard:voucher-list', 'label': <django.utils.functional.lazy.<locals>.__proxy__ object at 0x7efc9d5324e0>}], 'icon': 'icon-bullhorn', 'label': <django.utils.functional.lazy.<locals>.__proxy__ object at 0x7efc9d532400>}, {'children': [{'url_name': 'dashboard:promotion-list', 'label': <django.utils.functional.lazy.<locals>.__proxy__ object at 0x7efc9d5325c0>}, {'url_name': 'dashboard:promotion-list-by-page', 'label': <django.utils.functional.lazy.<locals>.__proxy__ object at 0x7efc9d532630>}, {'url_name': 'dashboard:page-list', 'label': <django.utils.functional.lazy.<locals>.__proxy__ object at 0x7efc9d5326a0>}, {'url_name': 'dashboard:comms-list', 'label': <django.utils.functional.lazy.<locals>.__proxy__ object at 0x7efc9d532710>}, {'url_name': 'dashboard:reviews-list', 'label': <django.utils.functional.lazy.<locals>.__proxy__ object at 0x7efc9d532780>}], 'icon': 'icon-folder-close', 'label': <django.utils.functional.lazy.<locals>.__proxy__ object at 0x7efc9d532550>}, {'url_name': 'dashboard:reports-index', 'icon': 'icon-bar-chart', 'label': <django.utils.functional.lazy.<locals>.__proxy__ object at 0x7efc9d5327f0>}], 'OSCAR_RECENTLY_VIEWED_COOKIE_SECURE': False, 'OSCAR_PROMOTION_MERCHANDISING_BLOCK_TYPES': (('Countdown', 'Vertical list'), ('List', 'Horizontal list'), ('TabbedBlock', 'Tabbed block'), ('SingleProduct', 'Single product')), 'OSCAR_SEARCH_FACETS': {'queries': {'price_range': {'queries': [(<django.utils.functional.lazy.<locals>.__proxy__ object at 0x7efc9d532a58>, '[0 TO 20]'), (<django.utils.functional.lazy.<locals>.__proxy__ object at 0x7efc9d532a90>, '[20 TO 40]'), (<django.utils.functional.lazy.<locals>.__proxy__ object at 0x7efc9d532ac8>, '[40 TO 60]'), (<django.utils.functional.lazy.<locals>.__proxy__ object at 0x7efc9d532b00>, '[60 TO *]')], 'name': <django.utils.functional.lazy.<locals>.__proxy__ object at 0x7efc9d532a20>, 'field': 'price'}}, 'fields': {'rating': {'name': <django.utils.functional.lazy.<locals>.__proxy__ object at 0x7efc9d5328d0>, 'field': 'rating'}, 'product_class': {'name': <django.utils.functional.lazy.<locals>.__proxy__ object at 0x7efc9d532860>, 'field': 'product_class'}}}, 'OSCAR_RECENTLY_VIEWED_COOKIE_NAME': 'oscar_history', 'OSCAR_BASKET_COOKIE_SECURE': False, 'OSCAR_BASKET_COOKIE_OPEN': 'oscar_open_basket', 'OSCAR_OFFERS_PER_PAGE': 20, 'OSCAR_SLUG_BLACKLIST': [], 'OSCAR_MISSING_IMAGE_URL': 'image_not_found.jpg', 'OSCAR_PROMOTION_POSITIONS': (('page', 'Page'), ('right', 'Right-hand sidebar'), ('left', 'Left-hand sidebar')), 'OSCAR_RECENTLY_VIEWED_PRODUCTS': 20, 'OSCAR_SHOP_TAGLINE': '', 'OSCAR_ACCOUNTS_REDIRECT_URL': 'customer:profile-view', 'OSCAR_NOTIFICATIONS_PER_PAGE': 20, 'OSCAR_EAGER_ALERTS': True, 'OSCAR_SLUG_MAP': {}, 'OSCAR_SHOP_NAME': 'Oscar', 'OSCAR_MODERATE_REVIEWS': False, 'OSCAR_DASHBOARD_ITEMS_PER_PAGE': 20}
290OSCAR_SLUG_FUNCTION = 'oscar.core.utils.default_slugifier'
291DEBUG = True
292TEMPLATES = [{'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', 'core.context_processors.site', 'oscar.apps.search.context_processors.search_form', 'oscar.apps.promotions.context_processors.promotions', 'oscar.apps.checkout.context_processors.checkout', 'oscar.apps.customer.notifications.context_processors.notifications', 'oscar.core.context_processors.metadata'], 'string_if_invalid': False}, 'DIRS': ['/home/luisrox/pollux-share/pollux/../templates', '/home/luisrox/pollux/local/lib/python3.4/site-packages/oscar/templates/oscar'], 'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates'}]
293OSCAR_HOMEPAGE = <django.utils.functional.lazy.<locals>.__proxy__ object at 0x7efc9ea39e10>
294ABSOLUTE_URL_OVERRIDES = {}
295MESSAGE_STORAGE = 'django.contrib.messages.storage.fallback.FallbackStorage'
296OSCAR_EMAILS_PER_PAGE = 20
297CACHE_MIDDLEWARE_ALIAS = 'default'
298DJANGO_DEBUG = 'True'
299DEFAULT_CONTENT_TYPE = 'text/html'
300EMAIL_USE_TLS = True
301EMAIL_SSL_CERTFILE = None
302SESSION_SAVE_EVERY_REQUEST = False
303CACHES = {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}}
304OSCAR_DASHBOARD_DEFAULT_ACCESS_FUNCTION = 'oscar.apps.dashboard.nav.default_access_fn'
305INSTALLED_APPS = ['django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.humanize', 'django.contrib.sites', 'django.contrib.flatpages', 'braces', 'localflavor', 'bootstrap3', 'widget_tweaks', 'oscarapi', 'core', 'users', 'store', 'web', 'oscar', 'oscar.apps.analytics', 'apps.checkout', 'apps.address', 'apps.shipping', 'apps.catalogue', 'oscar.apps.catalogue.reviews', 'oscar.apps.partner', 'oscar.apps.basket', 'oscar.apps.payment', 'oscar.apps.offer', 'oscar.apps.order', 'oscar.apps.customer', 'apps.promotions', 'oscar.apps.search', 'oscar.apps.voucher', 'oscar.apps.wishlists', 'apps.dashboard', 'oscar.apps.dashboard.reports', 'oscar.apps.dashboard.users', 'oscar.apps.dashboard.orders', 'oscar.apps.dashboard.promotions', 'oscar.apps.dashboard.catalogue', 'oscar.apps.dashboard.offers', 'oscar.apps.dashboard.partners', 'oscar.apps.dashboard.pages', 'oscar.apps.dashboard.ranges', 'oscar.apps.dashboard.reviews', 'oscar.apps.dashboard.vouchers', 'oscar.apps.dashboard.communications', 'oscar.apps.dashboard.shipping', 'haystack', 'treebeard', 'sorl.thumbnail', 'django_tables2', 'django_extensions', '_tmp']
306STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.StaticFilesStorage'
307TEMPLATE_DEBUG = False
308SITE_ID = 1
309OSCAR_DELETE_IMAGE_FILES = True
310OSCAR_UPLOAD_ROOT = '/tmp'
311OSCAR_MAX_BASKET_QUANTITY_THRESHOLD = 10000
312FILE_UPLOAD_PERMISSIONS = None
313COUNTDOWN = 'Countdown'
314USE_X_FORWARDED_HOST = False
315ALLOWED_HOSTS = ['pollux.local']
316USE_I18N = True
317SECURE_SSL_HOST = None
318NUMBER_GROUPING = 0
319SESSION_COOKIE_SECURE = False
320OSCAR_SEND_REGISTRATION_EMAIL = True
321TIME_INPUT_FORMATS = ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
322MEDIA_ROOT = '/home/luisrox/pollux-share/pollux/../_tmp/static/media/'
323STATICFILES_FINDERS = ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
324SECURE_PROXY_SSL_HEADER = None
325OSCAR_REVIEWS_PER_PAGE = 20
326LOGGING_CONFIG = 'logging.config.dictConfig'
327DEFAULT_CHARSET = 'utf-8'
328BASE_DIR = '/home/luisrox/pollux-share/pollux'
329FILE_CHARSET = 'utf-8'
330OSCAR_RECENTLY_VIEWED_COOKIE_SECURE = False
331CSRF_HEADER_NAME = 'HTTP_X_CSRFTOKEN'
332LOGGING = {'loggers': {'django.request': {'level': 'DEBUG', 'handlers': ['info_file_handler']}, 'web': {'level': 'DEBUG', 'handlers': ['console', 'info_file_handler']}, 'users': {'level': 'DEBUG', 'handlers': ['console', 'info_file_handler']}, 'store': {'level': 'DEBUG', 'handlers': ['console', 'info_file_handler']}, 'core': {'level': 'DEBUG', 'handlers': ['console', 'info_file_handler']}, 'catalog': {'level': 'DEBUG', 'handlers': ['console', 'info_file_handler']}, 'django': {'level': 'ERROR', 'handlers': ['error_file_handler']}}, 'formatters': {'verbose': {'format': '[%(asctime)s] %(levelname)s [%(name)s:%(lineno)s] %(message)s', 'datefmt': '%d/%b/%Y %H:%M:%S'}, 'simple': {'format': '%(levelname)s %(message)s'}}, 'version': 1, 'disable_existing_loggers': False, 'handlers': {'console': {'formatter': 'simple', 'level': 'DEBUG', 'stream': 'ext://sys.stdout', 'class': 'logging.StreamHandler'}, 'info_file_handler': {'backupCount': 20, 'level': 'DEBUG', 'filename': 'pollux_info.log', 'formatter': 'verbose', 'class': 'logging.handlers.RotatingFileHandler', 'encoding': 'utf8', 'maxBytes': 10485760}, 'mail_admins': {'level': 'ERROR', 'class': 'django.utils.log.AdminEmailHandler'}, 'null': {'level': 'DEBUG', 'class': 'logging.NullHandler'}, 'error_file_handler': {'backupCount': 20, 'level': 'ERROR', 'filename': 'pollux_errors.log', 'formatter': 'verbose', 'class': 'logging.handlers.RotatingFileHandler', 'encoding': 'utf8', 'maxBytes': 10485760}}}
333SESSION_SERIALIZER = 'django.contrib.sessions.serializers.JSONSerializer'
334YEAR_MONTH_FORMAT = 'F Y'
335FORT_GET_PRODUCT_URL = 'https://pollux.fortsystems.com/websvc/target/getProductData.cfm'
336EMAIL_HOST = 'smtp.gmail.com'
337DEFAULT_FILE_STORAGE = 'django.core.files.storage.FileSystemStorage'
338DATETIME_FORMAT = 'N j, Y, P'
339OSCAR_MAIN_TEMPLATE_DIR = '/home/luisrox/pollux/local/lib/python3.4/site-packages/oscar/templates/oscar'
340STORE_CART_SESSION_VARIABLE = 'store_cart'
341OSCAR_MISSING_IMAGE_URL = 'image_not_found.jpg'
342MIDDLEWARE_CLASSES =
343MANAGERS = []
344CSRF_COOKIE_SECURE = False
345USE_L10N = True
346CSRF_TRUSTED_ORIGINS = []
347OSCAR_SHOP_TAGLINE = ''
348OSCAR_ACCOUNTS_REDIRECT_URL = 'customer:profile-view'
349ADMINS = [('Edgar Contreras', 'edgar.contreras@dreamstaffing.com')]
350DATE_FORMAT = 'N j, Y'
351TIME_ZONE = 'UTC'
352THUMBNAIL_DEBUG = True
353OSCAR_MODERATE_REVIEWS = False
354FILE_UPLOAD_MAX_MEMORY_SIZE = 2621440
355POSTGRES_PORT = '5432'
356WSGI_APPLICATION = 'pollux.wsgi.application'
357LANGUAGE_COOKIE_NAME = 'django_language'
358EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
359SECURE_HSTS_SECONDS = 0
360FILE_UPLOAD_DIRECTORY_PERMISSIONS = None
361HAYSTACK_CONNECTIONS = {'default': {'ENGINE': 'haystack.backends.simple_backend.SimpleEngine'}}
362STATIC_URL = '/static/'
363USE_THOUSAND_SEPARATOR = False
364OSCAR_HIDDEN_FEATURES = []
365SIGNING_BACKEND = 'django.core.signing.TimestampSigner'
366TEMPLATE_LOADERS = ['django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader']
367OSCAR_SEARCH_FACETS = {'queries': {'price_range': {'queries': [(<django.utils.functional.lazy.<locals>.__proxy__ object at 0x7efc9d532a58>, '[0 TO 20]'), (<django.utils.functional.lazy.<locals>.__proxy__ object at 0x7efc9d532a90>, '[20 TO 40]'), (<django.utils.functional.lazy.<locals>.__proxy__ object at 0x7efc9d532ac8>, '[40 TO 60]'), (<django.utils.functional.lazy.<locals>.__proxy__ object at 0x7efc9d532b00>, '[60 TO *]')], 'name': <django.utils.functional.lazy.<locals>.__proxy__ object at 0x7efc9d532a20>, 'field': 'price'}}, 'fields': {'rating': {'name': <django.utils.functional.lazy.<locals>.__proxy__ object at 0x7efc9d5328d0>, 'field': 'rating'}, 'product_class': {'name': <django.utils.functional.lazy.<locals>.__proxy__ object at 0x7efc9d532860>, 'field': 'product_class'}}}
368LANGUAGE_COOKIE_PATH = '/'
369LANGUAGES_BIDI = ['he', 'ar', 'fa', 'ur']
370EMAIL_SSL_KEYFILE = '********************'
371SESSION_COOKIE_PATH = '/'
372CACHE_MIDDLEWARE_SECONDS = 600
373DEFAULT_EXCEPTION_REPORTER_FILTER = 'django.views.debug.SafeExceptionReporterFilter'
374POSTGRES_DB_NAME = 'db_pollux'
375OSCAR_COOKIES_DELETE_ON_LOGOUT = ['oscar_recently_viewed_products']
376OSCAR_SLUG_MAP = {}
377MEDIA_URL = '/static/media/'
378OSCAR_ADDRESSES_PER_PAGE = 20
379CSRF_COOKIE_DOMAIN = None
380DATABASES = {'default': {'NAME': 'db_pollux', 'HOST': 'localhost', 'PORT': '5432', 'CONN_MAX_AGE': 0, 'OPTIONS': {}, 'AUTOCOMMIT': True, 'ATOMIC_REQUESTS': False, 'TIME_ZONE': None, 'USER': 'luisrox', 'PASSWORD': '********************', 'TEST': {'NAME': None, 'COLLATION': None, 'MIRROR': None, 'CHARSET': None}, 'ENGINE': 'django.db.backends.postgresql_psycopg2'}}
381DECIMAL_SEPARATOR = '.'
382TEMPLATE_CONTEXT_PROCESSORS = ['django.contrib.auth.context_processors.auth', 'django.template.context_processors.debug', 'django.template.context_processors.i18n', 'django.template.context_processors.media', 'django.template.context_processors.static', 'django.template.context_processors.tz', 'django.contrib.messages.context_processors.messages']
383FORT_SITE = 'https://pollux.fortsystems.com'
384POSTGRES_PASSWORD = '********************'
385USE_TZ = True
386OSCAR_OFFERS_PER_PAGE = 20
387STATIC_ROOT = '/home/luisrox/pollux-share/pollux/../_tmp/static/'
388OSCAR_ORDER_STATUS_PIPELINE = {'Cancelled': (), 'Being processed': ('Processed', 'Cancelled'), 'Pending': ('Being processed', 'Cancelled')}
389SECURE_HSTS_INCLUDE_SUBDOMAINS = False
390MIGRATION_MODULES = {}
391LOCALE_PATHS = []
392MONTH_DAY_FORMAT = 'F j'
393OSCAR_PROMOTION_MERCHANDISING_BLOCK_TYPES =
394IGNORABLE_404_URLS = []
395OSCAR_RECENTLY_VIEWED_COOKIE_LIFETIME = 604800
396REST_FRAMEWORK = {'DEFAULT_AUTHENTICATION_CLASSES': 'rest_framework.authentication.SessionAuthentication'}
397OSCAR_NOTIFICATIONS_PER_PAGE = 20
398DEFAULT_TABLESPACE = ''
399OSCAR_INITIAL_ORDER_STATUS = 'Pending'
400OSCAR_BASKET_COOKIE_SECURE = False
401SESSION_COOKIE_DOMAIN = None
402USE_X_FORWARDED_PORT = False
403PREPEND_WWW = False
404
405
406You're seeing this error because you have DEBUG = True in your
407Django settings file. Change that to False, and Django will
408display a standard page generated by the handler for this status code.