我正在尝试提交开放图表操作。
以下是我提交给FB的文字:
点击此链接: http://www.myatricleurllink/ 在文章页面的顶部,有开关“开/关”。 此开关控制应用程序中的所有读取操作。 当用户进入文章页面时,最初关闭开关。 当用户将开关切换为“on”时,将发布文章。
使用FB凭据生成操作:
dummy@gmail.com/dummy
文章发布后,会在两个地方显示“从您的阅读中删除”链接:
当用户点击“从您的阅读中删除”链接时,已发布的文章将从用户最近的活动部分中删除。
但每次我都面临提交行动的问题。
以下是来自facebook的回复:
我们无法根据您提供的使用说明测试此操作。请提供完整的复制说明和链接到我们可以触发操作的特定URL。您还应该测试您的操作,以确保您可以成功将操作发布回Auth Dialog预览用户的时间轴。完成这些更改后,请重新提交操作。 请在下方进行更改,然后重新提交以供审核。
有人可以告诉我,我错在哪里以及我需要做些什么才能批准借书行动。
答案 0 :(得分:2)
您应该在Facebook App Settings页面的“角色”部分使用“测试用户”功能,而不是向Facebook提供假Facebook帐户。 “测试用户”功能将允许某人通过链接登录测试帐户,而不是输入电子邮件/密码。假冒Facebook帐户也违反了Facebook平台政策。
另外,您是否测试过OpenGraph Actions与您提供的测试用户一起使用?只有在您的应用设置的“角色”页面上列出的管理员/开发人员/测试人员才能在批准之前触发该操作。
个人资料链接指向某人可以轻松测试的文章。这将使Facebook更容易测试行动。
我能够在<包含上述信息的2天。
答案 1 :(得分:0)
这是我在尝试按照您的指示时看到的内容:
全文:
TemplateSyntaxError at /article/view/ten-reasons-why-crash-dieting-is-bad-for-you/
Caught Error while rendering: Error validating access token: The session is invalid because the user logged out.
Request Method: GET
Request URL: http://ec2-107-20-239-4.compute-1.amazonaws.com:8000/article/view/ten-reasons-why-crash-dieting-is-bad-for-you/
Django Version: 1.3.1
Exception Type: TemplateSyntaxError
Exception Value:
Caught Error while rendering: Error validating access token: The session is invalid because the user logged out.
Exception Location: /opt/socialreader/trunk/apps/external_apps/facepy/graph_api.py in _parse, line 223
Python Executable: /usr/bin/python
Python Version: 2.7.0
Python Path:
['/opt/socialreader/trunk/apps/external_apps',
'/opt/socialreader/trunk/apps/core_apps',
'/opt/socialreader/trunk/libs',
'/opt/socialreader/trunk/projects',
'/usr/local/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg',
'/usr/local/lib/python2.7/site-packages/MySQL_python-1.2.3-py2.7-linux-i686.egg',
'/usr/local/lib/python27.zip',
'/usr/local/lib/python2.7',
'/usr/local/lib/python2.7/plat-linux2',
'/usr/local/lib/python2.7/lib-tk',
'/usr/local/lib/python2.7/lib-old',
'/usr/local/lib/python2.7/lib-dynload',
'/usr/local/lib/python2.7/site-packages']
Server time: Wed, 23 May 2012 03:39:39 -0500
Template error
In template /opt/socialreader/trunk/projects/templates/base.html, error at line 65
Caught Error while rendering: Error validating access token: The session is invalid because the user logged out.
55 </ul>
56 {% endwith %}
57 {% endif %}
58 </nav>
59 </div>
60 </div>
61 <div class="main" role="main">
62
63 <div class="col col-1 sidebar">
64 {% if request.facebook %}
65 {% with request|get_friends_id_using_app as friends_using_app %}
66 <div class="xoxo-island">
67 <h2 class="h5">Friends active on <span class="offset">Health Connect</span></h2>
68 <ul class="friend-list no-bullet nav">
69 {% for friend in friends_using_app %}
70 {% if forloop.counter < 4 %}
71 <li><img src="http://graph.facebook.com/{{friend}}/picture" alt="" title="{{friend|get_name}}"/></li>
72 {% endif %}
73 {% endfor %}
74 {% if friends_using_app|length > 3 %}
75 <li><span class="more-friends">+{{ friends_using_app|length|add:"-3" }}</span></li>
Traceback Switch to copy-and-paste view
/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py in get_response
response = callback(request, *callback_args, **callback_kwargs) ...
▶ Local vars
/opt/socialreader/trunk/apps/external_apps/fandjango/decorators.py in wrapper
return function(request, *args, **kwargs) ...
▶ Local vars
/opt/socialreader/trunk/apps/core_apps/feeds/views.py in article_view
return render_to_response(template,context,context_instance = RequestContext(request)) ...
▶ Local vars
/usr/local/lib/python2.7/site-packages/django/shortcuts/__init__.py in render_to_response
return HttpResponse(loader.render_to_string(*args, **kwargs), **httpresponse_kwargs) ...
▶ Local vars
/usr/local/lib/python2.7/site-packages/django/template/loader.py in render_to_string
return t.render(context_instance) ...
▶ Local vars
/usr/local/lib/python2.7/site-packages/django/template/base.py in render
return self._render(context) ...
▶ Local vars
/usr/local/lib/python2.7/site-packages/django/template/base.py in _render
return self.nodelist.render(context) ...
▶ Local vars
/usr/local/lib/python2.7/site-packages/django/template/base.py in render
bits.append(self.render_node(node, context)) ...
▶ Local vars
/usr/local/lib/python2.7/site-packages/django/template/debug.py in render_node
result = node.render(context) ...
▶ Local vars
/usr/local/lib/python2.7/site-packages/django/template/loader_tags.py in render
return compiled_parent._render(context) ...
▶ Local vars
/usr/local/lib/python2.7/site-packages/django/template/base.py in _render
return self.nodelist.render(context) ...
▶ Local vars
/usr/local/lib/python2.7/site-packages/django/template/base.py in render
bits.append(self.render_node(node, context)) ...
▶ Local vars
/usr/local/lib/python2.7/site-packages/django/template/debug.py in render_node
result = node.render(context) ...
▶ Local vars
/usr/local/lib/python2.7/site-packages/django/template/defaulttags.py in render
return self.nodelist_true.render(context) ...
▶ Local vars
/usr/local/lib/python2.7/site-packages/django/template/base.py in render
bits.append(self.render_node(node, context)) ...
▶ Local vars
/usr/local/lib/python2.7/site-packages/django/template/debug.py in render_node
result = node.render(context) ...
▶ Local vars
/usr/local/lib/python2.7/site-packages/django/template/defaulttags.py in render
self.extra_context.iteritems()]) ...
▶ Local vars
/usr/local/lib/python2.7/site-packages/django/template/base.py in resolve
new_obj = func(obj, *arg_vals) ...
▶ Local vars
/opt/socialreader/trunk/apps/core_apps/feeds/templatetags/friend_read_tags.py in get_friends_id_using_app
friends = graph.get('me/friends?fields=installed') ...
▶ Local vars
/opt/socialreader/trunk/apps/external_apps/facepy/graph_api.py in get
response = self._query('GET', path, options, page) ...
▶ Local vars
/opt/socialreader/trunk/apps/external_apps/facepy/graph_api.py in _query
return load(method, url, data)[0] ...
▶ Local vars
/opt/socialreader/trunk/apps/external_apps/facepy/graph_api.py in load
result = self._parse(response.content) ...
▶ Local vars
/opt/socialreader/trunk/apps/external_apps/facepy/graph_api.py in _parse
raise self.Error(data['error']['message']) ...
▶ Local vars
Request information
GET
No GET data
POST
No POST data
FILES
No FILES data
COOKIES
Variable Value
signed_request
'Dcil21MR7panXV_M0SKsgqGeUFG-ZXbO6seFmNnZhcY.eyJhbGdvcml0aG0iOiJITUFDLVNIQTI1NiIsImV4cGlyZXMiOjEzMzc3NjcyMDAsImlzc3VlZF9hdCI6MTMzNzc2MjAxOCwib2F1dGhfdG9rZW4iOiJBQUFGekdySDlQdllCQUxaQmRKSWhmN1BreGxtUko0MEd0aE5DSlpCVklKOVBaQ3Y2VFlZb3BCUjBaQ01UVGRWN1loMlRaQWhaQ3ZYR1BJY0ZUenZaQkNTNld1dWFjVUlBZEdOc2xRTXRPVVJoUVpEWkQiLCJ1c2VyIjp7ImNvdW50cnkiOiJzZSIsImxvY2FsZSI6InN2X1NFIiwiYWdlIjp7Im1pbiI6MjF9fSwidXNlcl9pZCI6IjU0OTM0ODQxNCJ9'
__gads
'ID=d1d0b37bc281c47a:T=1334048444:S=ALNI_MZ6T2gOsGQYO-y0Lh0cafW6GYBjzQ'
META
Variable Value
wsgi.multiprocess
False
RUN_MAIN
'true'
HTTP_COOKIE
'__gads=ID=d1d0b37bc281c47a:T=1334048444:S=ALNI_MZ6T2gOsGQYO-y0Lh0cafW6GYBjzQ; signed_request=Dcil21MR7panXV_M0SKsgqGeUFG-ZXbO6seFmNnZhcY.eyJhbGdvcml0aG0iOiJITUFDLVNIQTI1NiIsImV4cGlyZXMiOjEzMzc3NjcyMDAsImlzc3VlZF9hdCI6MTMzNzc2MjAxOCwib2F1dGhfdG9rZW4iOiJBQUFGekdySDlQdllCQUxaQmRKSWhmN1BreGxtUko0MEd0aE5DSlpCVklKOVBaQ3Y2VFlZb3BCUjBaQ01UVGRWN1loMlRaQWhaQ3ZYR1BJY0ZUenZaQkNTNld1dWFjVUlBZEdOc2xRTXRPVVJoUVpEWkQiLCJ1c2VyIjp7ImNvdW50cnkiOiJzZSIsImxvY2FsZSI6InN2X1NFIiwiYWdlIjp7Im1pbiI6MjF9fSwidXNlcl9pZCI6IjU0OTM0ODQxNCJ9'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SOFTWARE
'WSGIServer/0.1 Python/2.7'
SCRIPT_NAME
u''
LESSOPEN
'|/usr/bin/lesspipe.sh %s'
CVS_RSH
'ssh'
LOGNAME
'root'
USER
'root'
INPUTRC
'/etc/inputrc'
PATH
'/usr/kerberos/sbin:/usr/kerberos/bin:/usr/bin:/bin:/home/ec2/bin:/home/ec2/bin:/home/ec2/bin:/home/ec2/bin'
QUERY_STRING
''
HOME
'/root'
wsgi.errors
<open file '<stderr>', mode 'w' at 0xb7f3f0d0>
LANG
'en_IN'
HTTP_ACCEPT_CHARSET
'ISO-8859-1,utf-8;q=0.7,*;q=0.3'
TERM
'xterm'
SHELL
'/bin/bash'
TZ
'America/Chicago'
SERVER_NAME
'kulizalearning'
REMOTE_ADDR
'217.115.48.141'
SHLVL
'1'
G_BROKEN_FILENAMES
'1'
HISTSIZE
'1000'
wsgi.url_scheme
'http'
SERVER_PORT
'8000'
SUDO_USER
'kulizadev'
JAVA_HOME
'/usr/java/default'
EC2_HOME
'/home/ec2'
USERNAME
'root'
CONTENT_LENGTH
''
SUDO_UID
'502'
wsgi.input
<socket._fileobject object at 0x8f5e2ac>
HTTP_USER_AGENT
'Mozilla/5.0 (Windows NT 6.2) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.46 Safari/536.5'
HTTP_HOST
'ec2-107-20-239-4.compute-1.amazonaws.com:8000'
wsgi.multithread
True
PKG_CONFIG_PATH
'/usr/lib/pkgconfig:/usr/local/lib/pkgconfig'
HTTP_CONNECTION
'keep-alive'
_
'/usr/bin/nohup'
HTTP_ACCEPT
'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'
SUDO_COMMAND
'/bin/su'
SUDO_GID
'502'
wsgi.file_wrapper
''
wsgi.version
(1, 0)
GATEWAY_INTERFACE
'CGI/1.1'
wsgi.run_once
False
CSRF_COOKIE
'946b0228bcbfd0beec8a7068e7a39de2'
OLDPWD
'/opt/socialreader/trunk'
HOSTNAME
'kulizalearning'
HTTP_ACCEPT_LANGUAGE
'sv,en-US;q=0.8,en;q=0.6'
PWD
'/opt/socialreader/trunk/projects'
REQUEST_METHOD
'GET'
DJANGO_SETTINGS_MODULE
'projects.settings'
CONTENT_TYPE
'text/plain'
MAIL
'/var/spool/mail/kulizadev'
LS_COLORS
'no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:'
REMOTE_HOST
''
HTTP_ACCEPT_ENCODING
'gzip,deflate,sdch'
PATH_INFO
u'/article/view/ten-reasons-why-crash-dieting-is-bad-for-you/'
Settings
Using settings module projects.settings
Setting Value
USE_L10N
True
USE_THOUSAND_SEPARATOR
False
LANGUAGE_CODE
'en-us'
ROOT_URLCONF
'urls'
MANAGERS
()
DEFAULT_CHARSET
'utf-8'
STATIC_ROOT
''
TEST_DATABASE_CHARSET
None
MESSAGE_STORAGE
'django.contrib.messages.storage.user_messages.LegacyFallbackStorage'
DATABASE_HOST
''
IGNORABLE_404_STARTS
('/cgi-bin/', '/_vti_bin', '/_vti_inf')
SEND_BROKEN_LINK_EMAILS
False
URL_VALIDATOR_USER_AGENT
'Django/1.3.1 (http://www.djangoproject.com)'
STATICFILES_FINDERS
('django.contrib.staticfiles.finders.FileSystemFinder',
'django.contrib.staticfiles.finders.AppDirectoriesFinder')
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_NAME
'sessionid'
COMMENTS_MODERATORS_GROUP
None
TIME_INPUT_FORMATS
('%H:%M:%S', '%H:%M')
DATABASES
{'default': {'ENGINE': 'django.db.backends.mysql',
'HOST': '',
'NAME': 'socialreader',
'OPTIONS': {},
'PASSWORD': '********************',
'PORT': '',
'TEST_CHARSET': None,
'TEST_COLLATION': None,
'TEST_MIRROR': None,
'TEST_NAME': None,
'TIME_ZONE': 'America/Chicago',
'USER': 'root'}}
TEST_DATABASE_NAME
None
FILE_UPLOAD_PERMISSIONS
None
FILE_UPLOAD_HANDLERS
('django.core.files.uploadhandler.MemoryFileUploadHandler',
'django.core.files.uploadhandler.TemporaryFileUploadHandler')
DEFAULT_CONTENT_TYPE
'text/html'
APPEND_SLASH
True
FIRST_DAY_OF_WEEK
0
DATABASE_ROUTERS
[]
YEAR_MONTH_FORMAT
'F Y'
STATICFILES_STORAGE
'django.contrib.staticfiles.storage.StaticFilesStorage'
CACHES
{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
'LOCATION': ''}}
FACEBOOK_APPLICATION_ID
'408033469218550'
SERVER_EMAIL
'root@localhost'
SESSION_COOKIE_PATH
'/'
USE_X_FORWARDED_HOST
False
IGNORABLE_404_ENDS
('mail.pl', 'mailform.pl', 'mail.cgi', 'mailform.cgi', 'favicon.ico', '.php')
MIDDLEWARE_CLASSES
('django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'fandjango.middleware.FacebookMiddleware')
USE_I18N
True
THOUSAND_SEPARATOR
','
SECRET_KEY
'********************'
LANGUAGE_COOKIE_NAME
'django_language'
FILE_UPLOAD_TEMP_DIR
None
TRANSACTIONS_MANAGED
False
LOGGING_CONFIG
'django.utils.log.dictConfig'
TEMPLATE_LOADERS
('django.template.loaders.filesystem.load_template_source',
'django.template.loaders.app_directories.load_template_source')
TEMPLATE_DEBUG
True
AUTHENTICATION_BACKENDS
('django.contrib.auth.backends.ModelBackend',)
TEST_DATABASE_COLLATION
None
FORCE_SCRIPT_NAME
None
CACHE_BACKEND
'locmem://'
SESSION_COOKIE_SECURE
False
FACEBOOK_APPLICATION_INITIAL_PERMISSIONS
['publish_actions', 'publish_stream']
CSRF_COOKIE_DOMAIN
None
FILE_CHARSET
'utf-8'
DEBUG
True
SESSION_FILE_PATH
None
DEFAULT_FILE_STORAGE
'django.core.files.storage.FileSystemStorage'
INSTALLED_APPS
['django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.messages',
'django.contrib.admin',
'django.contrib.admindocs',
'facepy',
'south',
'fandjango',
'feeds',
'categories']
LANGUAGES
(('ar', 'Arabic'),
('az', 'Azerbaijani'),
('bg', 'Bulgarian'),
('bn', 'Bengali'),
('bs', 'Bosnian'),
('ca', 'Catalan'),
('cs', 'Czech'),
('cy', 'Welsh'),
('da', 'Danish'),
('de', 'German'),
('el', 'Greek'),
('en', 'English'),
('en-gb', 'British English'),
('es', 'Spanish'),
('es-ar', 'Argentinian Spanish'),
('es-mx', 'Mexican Spanish'),
('es-ni', 'Nicaraguan Spanish'),
('et', 'Estonian'),
('eu', 'Basque'),
('fa', 'Persian'),
('fi', 'Finnish'),
('fr', 'French'),
('fy-nl', 'Frisian'),
('ga', 'Irish'),
('gl', 'Galician'),
('he', 'Hebrew'),
('hi', 'Hindi'),
('hr', 'Croatian'),
('hu', 'Hungarian'),
('id', 'Indonesian'),
('is', 'Icelandic'),
('it', 'Italian'),
('ja', 'Japanese'),
('ka', 'Georgian'),
('km', 'Khmer'),
('kn', 'Kannada'),
('ko', 'Korean'),
('lt', 'Lithuanian'),
('lv', 'Latvian'),
('mk', 'Macedonian'),
('ml', 'Malayalam'),
('mn', 'Mongolian'),
('nl', 'Dutch'),
('no', 'Norwegian'),
('nb', 'Norwegian Bokmal'),
('nn', 'Norwegian Nynorsk'),
('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'),
('ta', 'Tamil'),
('te', 'Telugu'),
('th', 'Thai'),
('tr', 'Turkish'),
('uk', 'Ukrainian'),
('ur', 'Urdu'),
('vi', 'Vietnamese'),
('zh-cn', 'Simplified Chinese'),
('zh-tw', 'Traditional Chinese'))
DATABASE_ENGINE
''
DATABASE_NAME
''
COMMENTS_FIRST_FEW
0
PREPEND_WWW
False
SESSION_COOKIE_HTTPONLY
False
DATABASE_PORT
''
DEBUG_PROPAGATE_EXCEPTIONS
False
CONTENT_BASE
'/opt/socialreader/trunk/projects/site_media'
MONTH_DAY_FORMAT
'F j'
LOGIN_URL
'/accounts/login/'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
TIME_FORMAT
'P'
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')
CSRF_COOKIE_NAME
'csrftoken'
EMAIL_HOST_PASSWORD
'********************'
PASSWORD_RESET_TIMEOUT_DAYS
'********************'
CACHE_MIDDLEWARE_ALIAS
'default'
SESSION_SAVE_EVERY_REQUEST
False
ADMIN_MEDIA_PREFIX
'/site_media/static/admin/'
NUMBER_GROUPING
0
SESSION_ENGINE
'django.contrib.sessions.backends.db'
CSRF_FAILURE_VIEW
'django.views.csrf.csrf_failure'
COMMENTS_SKETCHY_USERS_GROUP
None
LOGIN_REDIRECT_URL
'/accounts/profile/'
PROJECT_ROOT
'/opt/socialreader/trunk/projects'
LOGGING
{'disable_existing_loggers': False,
'handlers': {'mail_admins': {'class': 'django.utils.log.AdminEmailHandler',
'level': 'ERROR'}},
'loggers': {'django.request': {'handlers': ['mail_admins'],
'level': 'ERROR',
'propagate': True}},
'version': 1}
CACHE_MIDDLEWARE_KEY_PREFIX
''
LOCALE_PATHS
()
TEMPLATE_STRING_IF_INVALID
''
COMMENTS_ALLOW_PROFANITIES
False
LOGOUT_URL
'/accounts/logout/'
EMAIL_USE_TLS
False
TEMPLATE_DIRS
('/opt/socialreader/trunk/projects/./templates',)
FIXTURE_DIRS
()
EMAIL_HOST
'localhost'
DATE_FORMAT
'N j, Y'
FACEBOOK_APPLICATION_SECRET_KEY
'********************'
MEDIA_ROOT
'/opt/socialreader/trunk/projects/site_media/media'
ADMINS
()
FORMAT_MODULE_PATH
None
DEFAULT_FROM_EMAIL
'webmaster@localhost'
STATICFILES_DIRS
('/opt/socialreader/trunk/projects/site_media/static',)
MEDIA_URL
'site_media/media/'
DATETIME_FORMAT
'N j, Y, P'
EMAIL_SUBJECT_PREFIX
'[Django] '
SITE_ID
1
DISALLOWED_USER_AGENTS
()
ALLOWED_INCLUDE_ROOTS
()
DECIMAL_SEPARATOR
'.'
SHORT_DATE_FORMAT
'm/d/Y'
DATABASE_USER
''
TEST_RUNNER
'django.test.simple.DjangoTestSuiteRunner'
TIME_ZONE
'America/Chicago'
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
EMAIL_BACKEND
'django.core.mail.backends.smtp.EmailBackend'
DEFAULT_TABLESPACE
''
TEMPLATE_CONTEXT_PROCESSORS
('django.core.context_processors.request',
'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.contrib.messages.context_processors.messages')
SESSION_COOKIE_AGE
1209600
SETTINGS_MODULE
'projects.settings'
USE_ETAGS
False
LANGUAGES_BIDI
('he', 'ar', 'fa')
DEFAULT_INDEX_TABLESPACE
''
INTERNAL_IPS
()
STATIC_URL
'/site_media/static/'
EMAIL_PORT
25
SHORT_DATETIME_FORMAT
'm/d/Y P'
ABSOLUTE_URL_OVERRIDES
{}
DATABASE_OPTIONS
{}
CACHE_MIDDLEWARE_SECONDS
600
BANNED_IPS
()
DATETIME_INPUT_FORMATS
('%Y-%m-%d %H:%M:%S',
'%Y-%m-%d %H:%M',
'%Y-%m-%d',
'%m/%d/%Y %H:%M:%S',
'%m/%d/%Y %H:%M',
'%m/%d/%Y',
'%m/%d/%y %H:%M:%S',
'%m/%d/%y %H:%M',
'%m/%d/%y')
DATABASE_PASSWORD
'********************'
ADMIN_FOR
()
PROFANITIES_LIST
'********************'
FACEBOOK_APPLICATION_NAMESPACE
'mdhilreader'
EMAIL_HOST_USER
''
COMMENTS_BANNED_USERS_GROUP
None
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.