'PublicEventSearchForm' object has no attribute 'cleaned_data'
Request Method: | GET |
---|---|
Request URL: | http://portal.globalpranichealing.com/events-map/?start_date=11%252F22%252F2020 |
Django Version: | 1.4.23 |
Exception Type: | AttributeError |
Exception Value: | 'PublicEventSearchForm' object has no attribute 'cleaned_data' |
Exception Location: | ./main_portal/map/forms.py in search, line 21 |
Python Executable: | /home/ubuntu/.pyenv/versions/2.6.9/envs/iisi/bin/uwsgi |
Python Version: | 2.6.9 |
Python Path: | ['.', '', '/home/ubuntu/.pyenv/versions/iisi/lib/python26.zip', '/home/ubuntu/.pyenv/versions/iisi/lib/python2.6', '/home/ubuntu/.pyenv/versions/iisi/lib/python2.6/plat-linux4', '/home/ubuntu/.pyenv/versions/iisi/lib/python2.6/lib-tk', '/home/ubuntu/.pyenv/versions/iisi/lib/python2.6/lib-old', '/home/ubuntu/.pyenv/versions/iisi/lib/python2.6/lib-dynload', '/home/ubuntu/.pyenv/versions/2.6.9/lib/python2.6', '/home/ubuntu/.pyenv/versions/2.6.9/lib/python2.6/plat-linux4', '/home/ubuntu/.pyenv/versions/2.6.9/lib/python2.6/lib-tk', '/home/ubuntu/.pyenv/versions/iisi/lib/python2.6/site-packages', '/home/ubuntu/.pyenv/versions/2.6.9/envs/iisi/src/pyqrnative'] |
Server time: | Thu, 28 Mar 2024 17:26:13 +0800 |
/home/ubuntu/.pyenv/versions/iisi/lib/python2.6/site-packages/django/core/handlers/base.py
in get_response
for middleware_method in self._view_middleware:
response = middleware_method(request, callback, callback_args, callback_kwargs)
if response:
break
if response is None:
try:
response = callback(request, *callback_args, **callback_kwargs)...
except Exception, e:
# If the view raised an exception, run it through exception
# middleware, and if the exception middleware returns a
# response, use that. Otherwise, reraise the exception.
for middleware_method in self._exception_middleware:
response = middleware_method(request, e)
Variable | Value |
---|---|
exceptions | <module 'django.core.exceptions' from '/home/ubuntu/.pyenv/versions/iisi/lib/python2.6/site-packages/django/core/exceptions.pyc'> |
e | AttributeError("'PublicEventSearchForm' object has no attribute 'cleaned_data'",) |
callback_args | () |
settings | <django.conf.LazySettings object at 0x1f5bed0> |
middleware_method | <bound method CustomSocialAuthExceptionMiddleware.process_exception of <iisi.middleware.CustomSocialAuthExceptionMiddleware object at 0x31cda50>> |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x29b7f10> |
request | "<WSGIRequest\npath:/events-map/,\nGET:<QueryDict: {u'start_date': [u'11%2F22%2F2020']}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{'CONTENT_LENGTH': '',\n 'CONTENT_TYPE': '',\n 'CSRF_COOKIE': 'TDAj5MDnTzv890WLjUDPNp3MU6kYkiCM',\n 'DOCUMENT_ROOT': '/usr/share/nginx/html',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_HOST': 'portal.globalpranichealing.com',\n 'HTTP_USER_AGENT': 'claudebot',\n 'PATH_INFO': u'/en/events-map/',\n 'QUERY_STRING': 'start_date=11%252F22%252F2020',\n 'REMOTE_ADDR': '44.204.204.14',\n 'REMOTE_PORT': '40028',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_SCHEME': 'http',\n 'REQUEST_URI': '/en/events-map/?start_date=11%252F22%252F2020',\n 'SCRIPT_NAME': u'',\n 'SERVER_NAME': 'portal.globalpranichealing.com',\n 'SERVER_PORT': '80',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'uwsgi.node': 'ip-10-0-1-126',\n 'uwsgi.version': '2.0.14',\n 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x28ec4b0>,\n 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>,\n 'wsgi.input': <uwsgi._Input object at 0x16e7b768>,\n 'wsgi.multiprocess': False,\n 'wsgi.multithread': False,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 0)}>" |
callback | <function ShowAllEventsWithSearch at 0x63c2a28> |
resolver | <RegexURLResolver iisi.urls (None:None) ^/> |
urlresolvers | <module 'django.core.urlresolvers' from '/home/ubuntu/.pyenv/versions/iisi/lib/python2.6/site-packages/django/core/urlresolvers.pyc'> |
callback_kwargs | {} |
response | None |
urlconf | 'iisi.urls' |
/home/ubuntu/.pyenv/versions/iisi/lib/python2.6/site-packages/django/views/generic/base.py
in view
raise TypeError(u"%s() received an invalid keyword %r" % (
cls.__name__, key))
def view(request, *args, **kwargs):
self = cls(**initkwargs)
if hasattr(self, 'get') and not hasattr(self, 'head'):
self.head = self.get
return self.dispatch(request, *args, **kwargs)...
# take name and docstring from class
update_wrapper(view, cls, updated=())
# and possible attributes set by decorators
# like csrf_exempt from dispatch
Variable | Value |
---|---|
initkwargs | {} |
self | <main_portal.map.views.ShowAllEventsWithSearch object at 0x14cff0d0> |
args | () |
request | "<WSGIRequest\npath:/events-map/,\nGET:<QueryDict: {u'start_date': [u'11%2F22%2F2020']}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{'CONTENT_LENGTH': '',\n 'CONTENT_TYPE': '',\n 'CSRF_COOKIE': 'TDAj5MDnTzv890WLjUDPNp3MU6kYkiCM',\n 'DOCUMENT_ROOT': '/usr/share/nginx/html',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_HOST': 'portal.globalpranichealing.com',\n 'HTTP_USER_AGENT': 'claudebot',\n 'PATH_INFO': u'/en/events-map/',\n 'QUERY_STRING': 'start_date=11%252F22%252F2020',\n 'REMOTE_ADDR': '44.204.204.14',\n 'REMOTE_PORT': '40028',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_SCHEME': 'http',\n 'REQUEST_URI': '/en/events-map/?start_date=11%252F22%252F2020',\n 'SCRIPT_NAME': u'',\n 'SERVER_NAME': 'portal.globalpranichealing.com',\n 'SERVER_PORT': '80',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'uwsgi.node': 'ip-10-0-1-126',\n 'uwsgi.version': '2.0.14',\n 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x28ec4b0>,\n 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>,\n 'wsgi.input': <uwsgi._Input object at 0x16e7b768>,\n 'wsgi.multiprocess': False,\n 'wsgi.multithread': False,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 0)}>" |
kwargs | {} |
cls | <class 'main_portal.map.views.ShowAllEventsWithSearch'> |
/home/ubuntu/.pyenv/versions/iisi/lib/python2.6/site-packages/django/views/generic/base.py
in dispatch
if request.method.lower() in self.http_method_names:
handler = getattr(self, request.method.lower(), self.http_method_not_allowed)
else:
handler = self.http_method_not_allowed
self.request = request
self.args = args
self.kwargs = kwargs
return handler(request, *args, **kwargs)...
def http_method_not_allowed(self, request, *args, **kwargs):
allowed_methods = [m for m in self.http_method_names if hasattr(self, m)]
logger.warning('Method Not Allowed (%s): %s', request.method, request.path,
extra={
'status_code': 405,
Variable | Value |
---|---|
self | <main_portal.map.views.ShowAllEventsWithSearch object at 0x14cff0d0> |
handler | <bound method ShowAllEventsWithSearch.get of <main_portal.map.views.ShowAllEventsWithSearch object at 0x14cff0d0>> |
request | "<WSGIRequest\npath:/events-map/,\nGET:<QueryDict: {u'start_date': [u'11%2F22%2F2020']}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{'CONTENT_LENGTH': '',\n 'CONTENT_TYPE': '',\n 'CSRF_COOKIE': 'TDAj5MDnTzv890WLjUDPNp3MU6kYkiCM',\n 'DOCUMENT_ROOT': '/usr/share/nginx/html',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_HOST': 'portal.globalpranichealing.com',\n 'HTTP_USER_AGENT': 'claudebot',\n 'PATH_INFO': u'/en/events-map/',\n 'QUERY_STRING': 'start_date=11%252F22%252F2020',\n 'REMOTE_ADDR': '44.204.204.14',\n 'REMOTE_PORT': '40028',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_SCHEME': 'http',\n 'REQUEST_URI': '/en/events-map/?start_date=11%252F22%252F2020',\n 'SCRIPT_NAME': u'',\n 'SERVER_NAME': 'portal.globalpranichealing.com',\n 'SERVER_PORT': '80',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'uwsgi.node': 'ip-10-0-1-126',\n 'uwsgi.version': '2.0.14',\n 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x28ec4b0>,\n 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>,\n 'wsgi.input': <uwsgi._Input object at 0x16e7b768>,\n 'wsgi.multiprocess': False,\n 'wsgi.multithread': False,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 0)}>" |
args | () |
kwargs | {} |
./main_portal/map/views.py
in get
return ctx
def get(self, request, *args, **kwargs):
self.form = PublicEventSearchForm(request.GET, initial={'meditation': True, 'courses': True, 'events': True,})
#self.form = PublicEventSearchForm()
self.is_get = True
return super(ShowAllEventsWithSearch, self).get(request, *args, **kwargs)...
def post(self, request, *args, **kwargs):
self.form = PublicEventSearchForm(request.POST)
self.is_get = False
return render(request, self.template_name, self.get_context_data(*args,**kwargs))
Variable | Value |
---|---|
self | <main_portal.map.views.ShowAllEventsWithSearch object at 0x14cff0d0> |
args | () |
request | "<WSGIRequest\npath:/events-map/,\nGET:<QueryDict: {u'start_date': [u'11%2F22%2F2020']}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{'CONTENT_LENGTH': '',\n 'CONTENT_TYPE': '',\n 'CSRF_COOKIE': 'TDAj5MDnTzv890WLjUDPNp3MU6kYkiCM',\n 'DOCUMENT_ROOT': '/usr/share/nginx/html',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_HOST': 'portal.globalpranichealing.com',\n 'HTTP_USER_AGENT': 'claudebot',\n 'PATH_INFO': u'/en/events-map/',\n 'QUERY_STRING': 'start_date=11%252F22%252F2020',\n 'REMOTE_ADDR': '44.204.204.14',\n 'REMOTE_PORT': '40028',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_SCHEME': 'http',\n 'REQUEST_URI': '/en/events-map/?start_date=11%252F22%252F2020',\n 'SCRIPT_NAME': u'',\n 'SERVER_NAME': 'portal.globalpranichealing.com',\n 'SERVER_PORT': '80',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'uwsgi.node': 'ip-10-0-1-126',\n 'uwsgi.version': '2.0.14',\n 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x28ec4b0>,\n 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>,\n 'wsgi.input': <uwsgi._Input object at 0x16e7b768>,\n 'wsgi.multiprocess': False,\n 'wsgi.multithread': False,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 0)}>" |
kwargs | {} |
/home/ubuntu/.pyenv/versions/iisi/lib/python2.6/site-packages/django/views/generic/base.py
in get
"""
def get_context_data(self, **kwargs):
return {
'params': kwargs
}
def get(self, request, *args, **kwargs):
context = self.get_context_data(**kwargs)...
return self.render_to_response(context)
class RedirectView(View):
"""
A view that provides a redirect on any GET request.
Variable | Value |
---|---|
self | <main_portal.map.views.ShowAllEventsWithSearch object at 0x14cff0d0> |
args | () |
request | "<WSGIRequest\npath:/events-map/,\nGET:<QueryDict: {u'start_date': [u'11%2F22%2F2020']}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{'CONTENT_LENGTH': '',\n 'CONTENT_TYPE': '',\n 'CSRF_COOKIE': 'TDAj5MDnTzv890WLjUDPNp3MU6kYkiCM',\n 'DOCUMENT_ROOT': '/usr/share/nginx/html',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_HOST': 'portal.globalpranichealing.com',\n 'HTTP_USER_AGENT': 'claudebot',\n 'PATH_INFO': u'/en/events-map/',\n 'QUERY_STRING': 'start_date=11%252F22%252F2020',\n 'REMOTE_ADDR': '44.204.204.14',\n 'REMOTE_PORT': '40028',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_SCHEME': 'http',\n 'REQUEST_URI': '/en/events-map/?start_date=11%252F22%252F2020',\n 'SCRIPT_NAME': u'',\n 'SERVER_NAME': 'portal.globalpranichealing.com',\n 'SERVER_PORT': '80',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'uwsgi.node': 'ip-10-0-1-126',\n 'uwsgi.version': '2.0.14',\n 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x28ec4b0>,\n 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>,\n 'wsgi.input': <uwsgi._Input object at 0x16e7b768>,\n 'wsgi.multiprocess': False,\n 'wsgi.multithread': False,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 0)}>" |
kwargs | {} |
./main_portal/map/views.py
in get_context_data
return for_display, page_obj
def get_context_data(self, *args, **kwargs):
ctx = super(ShowAllEventsWithSearch, self).get_context_data(*args, **kwargs)
ctx['form'] = self.form
ctx['center'] = None
ctx['view_title'] = self.view_title
ctx['events'] = self.get_events()...
import inspect
location = inspect.getfile(self.form.__class__)
text = self.form.__class__.__name__
ctx['text'] = text
Variable | Value |
---|---|
self | <main_portal.map.views.ShowAllEventsWithSearch object at 0x14cff0d0> |
args | () |
ctx | {'center': None, 'form': <main_portal.map.forms.PublicEventSearchForm object at 0x14002990>, 'params': {}, 'view_title': <django.utils.functional.__proxy__ object at 0x66aae90>} |
kwargs | {} |
./main_portal/map/views.py
in get_events
def post(self, request, *args, **kwargs):
self.form = PublicEventSearchForm(request.POST)
self.is_get = False
return render(request, self.template_name, self.get_context_data(*args,**kwargs))
def get_events(self):
is_valid = self.form.is_valid()
data = self.form.search().exclude(**settings.SEARCHFROM_EXCLUDE_PARAMS)...
# asdfasdf
if not is_valid:
simple_events = SimpleEvent.objects.filter(status=SIMPLE_EVENT_REQUEST_STATE_DONE)
teacher_rel_events = TeacherRelatedEvent.objects.filter(status__in=SEMINAR_APPLICATION_STATE_DISPLAYABLE_LIST)
data = list(simple_events) + list(teacher_rel_events)
return data
Variable | Value |
---|---|
self | <main_portal.map.views.ShowAllEventsWithSearch object at 0x14cff0d0> |
is_valid | False |
./main_portal/map/forms.py
in search
meditation = forms.BooleanField(label=_('meditation'), required=False)
courses = forms.BooleanField(label=_('courses'), required=False)
events = forms.BooleanField(label=_('events'), required=False)
def search(self):
sqs = super(PublicEventSearchForm, self).search().models(Event, TeacherRelatedEvent)
start_date = self.cleaned_data['start_date']...
end_date = self.cleaned_data['end_date']
# asdf
if self.is_valid():
if self.cleaned_data['q'] == '':
sqs = SearchQuerySet().all().models(Event, TeacherRelatedEvent)
Variable | Value |
---|---|
sqs | [] |
self | <main_portal.map.forms.PublicEventSearchForm object at 0x14002990> |
Variable | Value |
---|---|
start_date | u'11%2F22%2F2020' |
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
wsgi.multiprocess | False |
SCRIPT_NAME | u'' |
REQUEST_METHOD | 'GET' |
PATH_INFO | u'/en/events-map/' |
SERVER_PROTOCOL | 'HTTP/1.1' |
QUERY_STRING | 'start_date=11%252F22%252F2020' |
CONTENT_LENGTH | '' |
HTTP_USER_AGENT | 'claudebot' |
SERVER_NAME | 'portal.globalpranichealing.com' |
REMOTE_ADDR | '44.204.204.14' |
wsgi.url_scheme | 'http' |
SERVER_PORT | '80' |
uwsgi.node | 'ip-10-0-1-126' |
DOCUMENT_ROOT | '/usr/share/nginx/html' |
wsgi.input | <uwsgi._Input object at 0x16e7b768> |
HTTP_HOST | 'portal.globalpranichealing.com' |
wsgi.multithread | False |
REQUEST_URI | '/en/events-map/?start_date=11%252F22%252F2020' |
HTTP_ACCEPT | '*/*' |
wsgi.version | (1, 0) |
wsgi.run_once | False |
wsgi.errors | <open file 'wsgi_errors', mode 'w' at 0x28ec4b0> |
REMOTE_PORT | '40028' |
REQUEST_SCHEME | 'http' |
uwsgi.version | '2.0.14' |
CONTENT_TYPE | '' |
wsgi.file_wrapper | '' |
CSRF_COOKIE | 'TDAj5MDnTzv890WLjUDPNp3MU6kYkiCM' |
iisi.settings
Setting | Value |
---|---|
USE_GOOGLE_TRANSLATOR | True |
USE_L10N | True |
HAYSTACK_SEARCH_ENGINE | 'solr' |
USE_THOUSAND_SEPARATOR | False |
IMPERSONATE_REDIRECT_URL | '/' |
CSRF_COOKIE_SECURE | False |
LANGUAGE_CODE | 'en-us' |
LOCAL_DEV | True |
CRON_POLLING_FREQUENCY | 60 |
BROKER_URL | 'amqp://guest:guest@localhost:5672//' |
SHOW_GENERAL_LOGS | True |
ACCOUNT_ACTIVATION_DAYS | 7 |
CMS_MEDIA_ROOT | '/home/ubuntu/site/iisi/iisi/media/cms/' |
STATIC_ROOT | '/home/ubuntu/site/iisi/iisi/static' |
CMS_SHOW_START_DATE | False |
CMS_SITE_CHOICES_CACHE_KEY | u'********************' |
JANSSEN_PROTOCOL_ENABLED | True |
CMS_MODERATOR | False |
SATCHMO_SETTINGS | {'MULTISHOP': False, 'SHOP_BASE': '', 'SSL': False} |
SEARCHFROM_EXCLUDE_PARAMS | {'location__icontains': 'Iran'} |
ALLOWED_HOSTS | ['*'] |
VALID_ADMIN_GROUP_NAMES | ('admin1', 'admin2', 'certificate_associate', 'paralegal', 'accounting', 'it') |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
EMAIL_SUBJECT_PREFIX | '[Django] ' |
SALES_INVOICE_TEXT | '<h1> Institute for Inner Studies, Inc.</h1>\n <p> 11th Floor Dah Sing Life Building, 99 Des Veoux Road, Central Hong Kong </p>\n <p> Tel: +63-2 810-2808 / 819-1874 | Fax: +63-2 819-1874</p>\n' |
CMS_TEMPLATE_INHERITANCE_MAGIC | 'INHERIT' |
IISI_PDF_USER_PWD | 'iisi_user_password' |
STATICFILES_FINDERS | ('django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder') |
CMS_MEDIA_URL | '/media/cms/' |
SERVER_MAIL | '' |
CELERY_IMPORTS | ('utils.tasks',) |
FILE_UPLOAD_HANDLERS | ('django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler') |
SESSION_COOKIE_NAME | 'sessionid' |
MEDIA_ROOT | '/home/ubuntu/site/iisi/iisi/media' |
TEMPORARY_POWERS_RESET_TIMER | 1440 |
ADMIN_FOR | () |
TIME_INPUT_FORMATS | ('%H:%M:%S', '%H:%M') |
DATABASES | {'default': {'ENGINE': 'django.contrib.gis.db.backends.postgis', 'HOST': 'iisidb.cm5ssuhfdc7d.us-east-1.rds.amazonaws.com', 'NAME': 'iisidb', 'OPTIONS': {}, 'PASSWORD': u'********************', 'PORT': '', 'TEST_CHARSET': None, 'TEST_COLLATION': None, 'TEST_MIRROR': None, 'TEST_NAME': None, 'TIME_ZONE': 'UTC', 'USER': 'iisi'}} |
PLACEHOLDER_FRONTEND_EDITING | True |
FILE_UPLOAD_PERMISSIONS | None |
DONT_SAVE_TRANSACTION_LOGS | False |
LOGFILE | 'satchmo.log' |
DEFAULT_CONTENT_TYPE | 'text/html' |
TEST_RUNNER | 'django.test.simple.DjangoTestSuiteRunner' |
BING_APP_ID | 'MfYBGXFtaOMszzd9UBP+qs+M6anx+COMgYarqyWRbxI=' |
JQUERY_UI_CSS | 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.0/themes/smoothness/jquery-ui.css' |
APPEND_SLASH | True |
FIRST_DAY_OF_WEEK | 0 |
DATABASE_ROUTERS | [] |
IMAGEKIT_DEFAULT_IMAGE_CACHE_BACKEND | 'imagekit.imagecache.PessimisticImageCacheBackend' |
CMS_PLUGIN_PROCESSORS | () |
GEOIP_PATH | '/home/ubuntu/site/iisi/iisi/geoip' |
CMS_MENU_TITLE_OVERWRITE | False |
DIRNAME | '/home/ubuntu/site/iisi/iisi' |
FOOTER_CONTACT_INFO_DEFAULT_ID | 105 |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache', 'LOCATION': ''}} |
CMS_FRONTEND_LANGUAGES | ['ar', 'en', 'fr', 'de', 'hi', 'id', 'ja', 'ko', 'es', 'pt', 'ru', 'it', 'nl', 'tr', 'zh-cn', 'zh-tw'] |
SERVER_EMAIL | 'root@localhost' |
SESSION_COOKIE_PATH | '/' |
YEAR_MONTH_FORMAT | 'F Y' |
USE_X_FORWARDED_HOST | False |
SIGNING_BACKEND | 'django.core.signing.TimestampSigner' |
CMS_TEMPLATE_INHERITANCE | True |
CMS_SHOW_END_DATE | False |
SITE_DOMAIN | 'localhost' |
AUTHNET_CURRENCIES | ['USD'] |
CMS_TEMPLATES | (('home.html', 'Home Template'), ('main_portal/cms/main_article_template.html', 'Main Article Template'), ('main_portal/cms/get_started_template.html', 'Get Started Template'), ('main_portal/cms/information_template.html', 'Information Template'), ('main_portal/cms/default_template.html', 'Default Template'), ('INHERIT', <django.utils.functional.__proxy__ object at 0x3263b10>)) |
CMS_CACHE_PREFIX | 'cms-' |
USE_I18N | True |
THOUSAND_SEPARATOR | ',' |
CMS_LANGUAGES | [('ar', 'Arabic'), ('en', 'English'), ('fr', 'French'), ('de', 'German'), ('hi', 'Hindi'), ('id', 'Indonesian'), ('ja', 'Japanese'), ('ko', 'Korean'), ('es', 'Spanish'), ('pt', 'Portuguese'), ('ru', 'Russian'), ('it', 'Italian'), ('nl', 'Dutch'), ('tr', 'Turkish'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')] |
LANGUAGE_COOKIE_NAME | 'django_language' |
FACEBOOK_EXTENDED_PERMISSIONS | ['email'] |
DEFAULT_INDEX_TABLESPACE | '' |
DJANGO_PROJECT | 'simple' |
TRANSACTIONS_MANAGED | False |
LOGGING_CONFIG | 'django.utils.log.dictConfig' |
JQUERY_JS | 'http://code.jquery.com/jquery-latest.min.js' |
SOCIAL_AUTH_ENABLED_BACKENDS | ('facebook',) |
SEND_BROKEN_LINK_EMAILS | False |
SOCIAL_AUTH_PIPELINE | ('social_auth.backends.pipeline.social.social_auth_user', 'social_auth.backends.pipeline.associate.associate_by_email', 'social_auth.backends.pipeline.user.get_username', 'social_auth.backends.pipeline.user.create_user', 'profiles.pipeline.create_profile', 'social_auth.backends.pipeline.social.associate_user', 'social_auth.backends.pipeline.social.load_extra_data', 'social_auth.backends.pipeline.user.update_user_details') |
TEMPLATE_LOADERS | ('django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader') |
PAYPAL_CURRENCIES | ['PHP', 'AUD', 'GBP', 'CAD', 'CZK', 'DKK', 'EUR', 'HKD', 'HUF', 'ILS', 'JPY', 'MXN', 'TWD', 'NZD', 'NOK', 'PLN', 'SGD', 'SEK', 'CHF', 'THB', 'USD'] |
ENDORSEMENT_URL_DENIED | 'images/endorsement/badgeinactive.png' |
CMS_REDIRECTS | True |
WSGI_APPLICATION | 'iisi.wsgi.application' |
ROSETTA_ENABLE_TRANSLATION_SUGGESTIONS | True |
TEMPLATE_DEBUG | True |
X_FRAME_OPTIONS | 'SAMEORIGIN' |
CSRF_COOKIE_NAME | 'csrftoken' |
FORCE_SCRIPT_NAME | None |
CACHE_BACKEND | 'locmem:///' |
IISI_PDF_OWNER_PWD | 'iisi_owner_password' |
CERTIFICATE_ORDER_DIGITS | 10 |
DEFAULT_CHARSET | 'utf-8' |
SESSION_COOKIE_SECURE | False |
CMS_SOFTROOT | True |
CMS_LANGUAGE_FALLBACK | True |
MICROSOFT_TRANSLATOR_API_CREDENTIALS | u'********************' |
CSRF_COOKIE_DOMAIN | None |
FILE_CHARSET | 'utf-8' |
DEBUG | True |
CACHE_TIMEOUT | 300 |
SESSION_FILE_PATH | None |
CMS_APPHOOKS | () |
DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
INSTALLED_APPS | ('django.contrib.sites', 'django.contrib.messages', 'satchmo_store.shop', 'django.contrib.gis', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.admindocs', 'django.contrib.contenttypes', 'django.contrib.comments', 'django.contrib.sessions', 'django.contrib.sitemaps', 'django.contrib.staticfiles', 'django.contrib.humanize', 'registration', 'keyedcache', 'livesettings', 'l10n', 'satchmo_store.contact', 'tax', 'tax.modules.no', 'tax.modules.area', 'tax.modules.percent', 'shipping', 'product', 'product.modules.configurable', 'product.modules.custom', 'product.modules.downloadable', 'product.modules.subscription', 'payment', 'payment.modules.dummy', 'payment.modules.authorizenet', 'satchmo_utils', 'app_plugins', 'crispy_forms', 'impersonate', 'south', 'longerusernameandemail', 'haystack', 'payment.modules.paypal', 'djcelery', 'singleton_models', 'rosetta', 'piston', 'django_cron', 'social_auth', 'cms', 'mptt', 'menus', 'sekizai', 'cms.plugins.flash', 'cms.plugins.googlemap', 'cms.plugins.link', 'cms.plugins.snippet', 'cms.plugins.text', 'cms.plugins.twitter', 'filer', 'cmsplugin_filer_file', 'cmsplugin_filer_folder', 'cmsplugin_filer_image', 'cmsplugin_filer_teaser', 'cmsplugin_filer_video', 'reversion', 'cmsplugin_blog', 'djangocms_utils', 'simple_translation', 'tagging', 'easy_thumbnails', 'sorl.thumbnail', 'imagekit', 'django_extensions', 'utils', 'profiles', 'courses', 'events', 'certification_programs', 'certificates', 'licenses', 'endorsements', 'general_logs', 'workflows', 'store', 'notifications', 'pdf_generator', 'excel_handling', 'messaging', 'transactions', 'shipping_details', 'custom_products', 'categories', 'votes', 'testimonials', 'answers', 'directory', 'admin_portal', 'teacher_portal', 'main_portal', 'main_portal.home', 'main_portal.map', 'faqs') |
LANGUAGES | [('ar', 'Arabic'), ('en', 'English'), ('fr', 'French'), ('de', 'German'), ('hi', 'Hindi'), ('id', 'Indonesian'), ('ja', 'Japanese'), ('ko', 'Korean'), ('es', 'Spanish'), ('pt', 'Portuguese'), ('ru', 'Russian'), ('it', 'Italian'), ('nl', 'Dutch'), ('tr', 'Turkish'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')] |
CRON_IS_ACTIVE | True |
COMMENTS_ALLOW_PROFANITIES | False |
ROOT_URLCONF | 'iisi.urls' |
SOCIAL_AUTH_DEFAULT_USERNAME | 'iisi_fb_user' |
STATICFILES_DIRS | ('/home/ubuntu/site/iisi/iisi/static-raw-mobile',) |
REQUIRE_UNIQUE_EMAIL | False |
IMPERSONATE_REQUIRE_SUPERUSER | True |
SECURE_PROXY_SSL_HEADER | None |
CELERYBEAT_SCHEDULER | 'djcelery.schedulers.DatabaseScheduler' |
DJANGO_SETTINGS_MODULE | 'simple.settings' |
SESSION_COOKIE_HTTPONLY | True |
CMS_PAGE_MEDIA_PATH | 'cms_page_media/' |
DEBUG_PROPAGATE_EXCEPTIONS | False |
TEMPLATE_CONTEXT_PROCESSORS | ('django.contrib.auth.context_processors.auth', 'django.core.context_processors.debug', 'django.core.context_processors.i18n', 'django.core.context_processors.media', 'django.core.context_processors.static', 'django.core.context_processors.tz', 'django.contrib.messages.context_processors.messages', 'satchmo_store.shop.context_processors.settings', 'django.contrib.auth.context_processors.auth', 'social_auth.context_processors.social_auth_by_type_backends', 'django.contrib.messages.context_processors.messages', 'iisi.context_processors.admin_portal_nav_bar_processor', 'iisi.context_processors.chat_root_processor', 'iisi.context_processors.context_processor_site_name', 'django.core.context_processors.i18n', 'django.core.context_processors.request', 'django.core.context_processors.media', 'django.core.context_processors.static', 'cms.context_processors.media', 'sekizai.context_processors.sekizai') |
MONTH_DAY_FORMAT | 'F j' |
LOGIN_URL | '/accounts/login/' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | False |
SESSION_SAVE_EVERY_REQUEST | False |
PASSWORD_RESET_TIMEOUT_DAYS | u'********************' |
TIME_FORMAT | 'P' |
VALID_ADMIN_GROUP_NAMES_CHOICES | (('admin1', 'Admin1'), ('admin2', 'Admin2'), ('certificate_associate', 'Certificate Associate'), ('paralegal', 'Paralegal'), ('accounting', 'Accounting'), ('it', 'IT')) |
HAYSTACK_SITECONF | 'iisi.search_sites' |
DELIVERY_RECEIPT_TEXT | '<h1> Institute for Inner Studies, Inc.</h1>\n <p> 11th Floor Dah Sing Life Building, 99 Des Veoux Road, Central Hong Kong </p>\n <p> Tel: +63-2 810-2808 / 819-1874 | Fax: +63-2 819-1874</p>\n' |
NUMBER_GROUPING | 0 |
HIDDEN_TEACHER_NAV_BAR_KEYS | u'********************' |
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') |
LOGIN_ERROR_URL | '/accounts/login/' |
AUTHENTICATION_BACKENDS | ('satchmo_store.accounts.email-auth.EmailBackend', 'django.contrib.auth.backends.ModelBackend', 'social_auth.backends.facebook.FacebookBackend', 'django.contrib.auth.backends.ModelBackend') |
EMAIL_HOST_PASSWORD | u'********************' |
JQUERY_UI_JS | 'https://ajax.googleapis.com/ajax/libs/jqueryui/1.10.0/jquery-ui.min.js' |
AUTH_PROFILE_MODULE | 'profiles.UserProfile' |
CACHE_MIDDLEWARE_ALIAS | 'default' |
CMS_PLUGIN_CONTEXT_PROCESSORS | () |
ADMIN_MEDIA_PREFIX | '/static/admin/' |
CMS_URL_OVERWRITE | True |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
GLOBAL_SETTINGS | <module 'django.conf.global_settings' from '/home/ubuntu/.pyenv/versions/iisi/lib/python2.6/site-packages/django/conf/global_settings.pyc'> |
ENDORSEMENT_URL_UNKNOWN | 'images/endorsement/badgeunknown.png' |
SESSION_ENGINE | 'django.contrib.sessions.backends.db' |
STATEMENT_OF_ACCOUNTS_TEXT | '<h1> Institute for Inner Studies, Inc.</h1>\n <p> 11th Floor Dah Sing Life Building, 99 Des Veoux Road, Central Hong Kong </p>\n <p> Tel: +63-2 810-2808 / 819-1874 | Fax: +63-2 819-1874</p>\n' |
CSRF_FAILURE_VIEW | 'django.views.csrf.csrf_failure' |
CSRF_COOKIE_PATH | '/' |
ROSETTA_MESSAGES_PER_PAGE | 1500 |
LOGIN_REDIRECT_URL | '/accounts/profile/' |
LIMIT_CERT_ORDERS | True |
CMS_CACHE_DURATIONS | {'content': 60, 'menus': 3600, 'permissions': 3600} |
SOCIAL_AUTH_LOGIN_REDIRECT_URL | '/check-user/' |
DECIMAL_SEPARATOR | '.' |
CMS_SEO_FIELDS | False |
CACHE_MIDDLEWARE_KEY_PREFIX | u'********************' |
LOCALE_PATHS | ('/home/ubuntu/site/iisi/locale',) |
PASSWORD_HASHERS | u'********************' |
TEMPLATE_STRING_IF_INVALID | '' |
DISALLOWED_USER_AGENTS | () |
CMS_HIDE_UNTRANSLATED | True |
LOGOUT_URL | '/accounts/logout/' |
XSENDFILE_MODE | True |
EMAIL_USE_TLS | False |
CMS_PUBLIC_FOR | 'all' |
FIXTURE_DIRS | () |
EMAIL_HOST | '' |
DATE_FORMAT | 'N j, Y' |
FACEBOOK_API_SECRET | u'********************' |
IS_ADMIN_CREATE_WORKFLOW | True |
APPS_DIRNAME | '/home/ubuntu/site/iisi' |
THUMBNAIL_PROCESSORS | ('easy_thumbnails.processors.colorspace', 'easy_thumbnails.processors.autocrop', 'filer.thumbnail_processors.scale_and_crop_with_subject_location', 'easy_thumbnails.processors.filters') |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
ADMINS | (('IISI', 'iisi.test.sender@gmail.com'),) |
FORMAT_MODULE_PATH | None |
DEFAULT_FROM_EMAIL | '' |
CRON_CLASSES | ['admin_portal.cron.PermissionResetter'] |
MEDIA_URL | '/media/' |
DATETIME_FORMAT | 'N j, Y, P' |
TEMPLATE_DIRS | ('/home/ubuntu/site/iisi/iisi/templates-mobile',) |
CMS_PAGE_CHOICES_CACHE_KEY | u'********************' |
CMS_TITLE_CHARACTER | '+' |
SITE_ID | 2 |
CMS_PERMISSION | False |
ALLOWED_INCLUDE_ROOTS | () |
USE_ETAGS | False |
URL_VALIDATOR_USER_AGENT | 'Django/1.4.23 (https://www.djangoproject.com)' |
LANGUAGES_BIDI | ('he', 'ar', 'fa') |
HAYSTACK_SOLR_URL | 'http://localhost:8983/solr' |
LOGGING | {'disable_existing_loggers': False, 'filters': {'require_debug_false': {'()': 'django.utils.log.RequireDebugFalse'}}, 'handlers': {'mail_admins': {'class': 'django.utils.log.AdminEmailHandler', 'filters': ['require_debug_false'], 'level': 'ERROR'}}, 'loggers': {'django.request': {'handlers': ['mail_admins'], 'level': 'ERROR', 'propagate': True}}, 'version': 1} |
PREPEND_WWW | False |
SHORT_DATE_FORMAT | 'm/d/Y' |
SECRET_KEY | u'********************' |
MIDDLEWARE_CLASSES | ('django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.middleware.doc.XViewMiddleware', 'threaded_multihost.middleware.ThreadLocalMiddleware', 'satchmo_store.shop.SSLMiddleware.SSLRedirect', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'iisi.middleware.SubdomainMiddleware', 'iisi.middleware.CustomImpersonateMiddleware', 'iisi.middleware.CustomSocialAuthExceptionMiddleware', 'cms.middleware.multilingual.MultilingualURLMiddleware', 'cmsplugin_blog.middleware.MultilingualBlogEntriesMiddleware', 'cms.middleware.page.CurrentPageMiddleware', 'cms.middleware.user.CurrentUserMiddleware', 'cms.middleware.toolbar.ToolbarMiddleware', 'profiles.middleware.TimezoneMiddleware') |
FRESH_DB | False |
ENABLE_SALES_INVOICE_GENERATION | True |
IGNORABLE_404_URLS | () |
TIME_ZONE | 'Asia/Hong_Kong' |
ENABLE_LICENSE_PRODUCT_GENERATION | True |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
MANAGERS | '' |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
CMS_MEDIA_PATH | 'cms/' |
CMS_FLAT_URLS | False |
DEFAULT_TABLESPACE | '' |
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') |
L10N_SETTINGS | {'currency_formats': {'CHANGABLE': {'decimal': '.', 'negative': u'(%(val)0.2f)', 'positive': u'%(val)0.2f', 'symbol': u''}}, 'default_currency': 'CHANGABLE'} |
CELERYBEAT_TIMEZONE | 'UTC' |
SITE_NAME | 'Simple Satchmo' |
SESSION_COOKIE_AGE | 1209600 |
SETTINGS_MODULE | 'iisi.settings' |
FACEBOOK_APP_ID | '121410281333833' |
SITE_ROOT | '/home/ubuntu/site/iisi/iisi' |
SESSION_COOKIE_DOMAIN | None |
ENDORSEMENT_URL_APPROVED | 'images/endorsement/badgeactive.png' |
FILE_UPLOAD_TEMP_DIR | None |
INTERNAL_IPS | ('127.0.0.1',) |
STATIC_URL | '/static/' |
EMAIL_PORT | 0 |
USE_TZ | True |
CACHE_PREFIX | 'Z' |
CELERY_RESULT_BACKEND | 'amqp' |
CMS_PLACEHOLDER_CONF | {'article-content': {'name': 'Content', 'plugins': 'TextPlugin'}, 'article-links': {'name': 'Get Started Links', 'plugins': 'ArticleLinkIconPlugin'}, 'articles': {'name': 'Article Infographics', 'plugins': 'InfographicPlugin'}, 'color-scheme': {'name': 'Color Scheme', 'plugins': 'ColorSchemePlugin'}, 'course-description': {'name': 'Course Description', 'plugins': 'TextPlugin'}, 'featured-testi': {'name': 'Featured Testimonial', 'plugins': 'FeaturedTestimonialPlugin'}, 'footer-contact-info': {'name': 'Footer Contact Info', 'plugins': 'FooterContactInfoPlugin'}, 'footer-healing-centers-info': {'name': 'Footer Healing Center Info', 'plugins': 'FooterHealingCenterInfoPlugin'}, 'latest-news': {'name': 'Latest News', 'plugins': 'CMSLatestEntriesPlugin'}, 'latest-news-2': {'name': 'Latest News 2', 'plugins': 'CMSLatestEntriesPlugin'}, 'meditate-intro': {'name': 'Learn to Meditate Introduction', 'plugins': 'MeditateIntroPlugin'}, 'question-slider': {'name': 'Question Slider', 'plugins': 'FeaturedQuestionsPlugin'}, 'slider': {'name': 'Home Page Top Slider', 'plugins': 'SliderPlugin'}} |
ABSOLUTE_URL_OVERRIDES | {} |
CELERYBEAT_SCHEDULE | {'beat_2': {'args': (), 'schedule': datetime.timedelta(1), 'task': 'utils.tasks.notification_expiring_license_reminder'}, 'test_beat': {'args': (), 'schedule': datetime.timedelta(1), 'task': 'utils.tasks.reminder_notification_seminar_report'}} |
CACHE_MIDDLEWARE_SECONDS | 600 |
CHAT_LOCATIONS | {'DEVELOPMENT': ['http://localhost:9000/', 'http://localhost:9000/socket.io/socket.io.js'], 'PRODUCTION': ['http://iisiprod.icannhas.com/', 'http://iisiprod.icannhas.com/nodejs/socket.io/socket.io.js']} |
CRISPY_TEMPLATE_PACK | 'bootstrap' |
CMS_LANGUAGE_CONF | {} |
CURRENT_ENVIRONMENT | 'PRODUCTION' |
CMS_SITE_LANGUAGES | {} |
EMAIL_HOST_USER | '' |
PROFANITIES_LIST | u'********************' |
You're seeing this error because you have DEBUG = True
in your
Django settings file. Change that to False
, and Django will
display a standard 500 page.