no such table: articles_article
Request Method: | GET |
---|---|
Request URL: | http://ccose.org/showAtcl/?id=2 |
Django Version: | 1.4.22 |
Exception Type: | DatabaseError |
Exception Value: | no such table: articles_article |
Exception Location: | /usr/lib/python2.7/site-packages/django/db/backends/sqlite3/base.py in execute, line 344 |
Python Executable: | /usr/bin/python |
Python Version: | 2.7.5 |
Python Path: | ['/home/mycode/ccose_deploy/ccose', '/usr/lib64/python27.zip', '/usr/lib64/python2.7', '/usr/lib64/python2.7/plat-linux2', '/usr/lib64/python2.7/lib-tk', '/usr/lib64/python2.7/lib-old', '/usr/lib64/python2.7/lib-dynload', '/usr/lib64/python2.7/site-packages', '/usr/lib/python2.7/site-packages'] |
Server time: | 星期五, 29 三月 2024 00:46:30 +0800 |
/usr/lib/python2.7/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 '/usr/lib/python2.7/site-packages/django/core/exceptions.pyc'> |
e | DatabaseError('no such table: articles_article',) |
callback_args | () |
settings | <django.conf.LazySettings object at 0x7f4ead284dd0> |
middleware_method | <bound method MessageMiddleware.process_request of <django.contrib.messages.middleware.MessageMiddleware object at 0x7f4eadbd6b10>> |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f4ead87fe90> |
request | "<WSGIRequest\npath:/showAtcl/,\nGET:<QueryDict: {u'id': [u'2']}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{'CONTEXT_DOCUMENT_ROOT': '/home/mycode/ccose_deploy/ccose/',\n 'CONTEXT_PREFIX': '',\n 'DOCUMENT_ROOT': '/home/mycode/ccose_deploy/ccose/',\n 'GATEWAY_INTERFACE': 'CGI/1.1',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_HOST': 'ccose.org',\n 'HTTP_USER_AGENT': 'claudebot',\n 'PATH_INFO': u'/showAtcl/',\n 'PATH_TRANSLATED': '/home/mycode/ccose_deploy/ccose/ccose/wsgi.py/showAtcl/',\n 'QUERY_STRING': 'id=2',\n 'REMOTE_ADDR': '54.210.126.232',\n 'REMOTE_PORT': '52416',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_SCHEME': 'http',\n 'REQUEST_URI': '/showAtcl/?id=2',\n 'SCRIPT_FILENAME': '/home/mycode/ccose_deploy/ccose/ccose/wsgi.py',\n 'SCRIPT_NAME': u'',\n 'SERVER_ADDR': '192.168.122.253',\n 'SERVER_ADMIN': 'wenyuejie@126.com',\n 'SERVER_NAME': 'ccose.org',\n 'SERVER_PORT': '80',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SIGNATURE': '',\n 'SERVER_SOFTWARE': 'Apache/2.4.6 (CentOS) PHP/7.0.32 mod_wsgi/3.4 Python/2.7.5',\n 'UNIQUE_ID': 'ZgWe5q-3O2zRpS3aLELEGgAAAAE',\n 'mod_wsgi.application_group': 'www.ccose.org|',\n 'mod_wsgi.callable_object': 'application',\n 'mod_wsgi.enable_sendfile': '0',\n 'mod_wsgi.handler_script': '',\n 'mod_wsgi.input_chunked': '0',\n 'mod_wsgi.listener_host': '',\n 'mod_wsgi.listener_port': '80',\n 'mod_wsgi.process_group': '',\n 'mod_wsgi.queue_start': '1711644390831392',\n 'mod_wsgi.request_handler': 'wsgi-script',\n 'mod_wsgi.script_reloading': '1',\n 'mod_wsgi.version': (3, 4),\n 'wsgi.errors': <mod_wsgi.Log object at 0x7f4eadf80cf0>,\n 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7f4eadec30a8>,\n 'wsgi.input': <mod_wsgi.Input object at 0x7f4eadf80ef0>,\n 'wsgi.multiprocess': True,\n 'wsgi.multithread': False,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 0)}>" |
callback | <function showAtcl at 0x7f4eade4b500> |
resolver | <RegexURLResolver ccose.urls (None:None) ^/> |
urlresolvers | <module 'django.core.urlresolvers' from '/usr/lib/python2.7/site-packages/django/core/urlresolvers.pyc'> |
callback_kwargs | {} |
response | None |
urlconf | 'ccose.urls' |
/home/mycode/ccose_deploy/ccose/articles/views.py
in showAtcl
#HttpRedirect('../listAtcl?id=articleId')
return render_to_response('articles/article.html',{'article':article,'feedbacks':feedbacks},context_instance = RequestContext(request))
elif request.method == 'GET':
articleId = request.GET['id']
#article = Article()
article = Article.objects.get(id=articleId)...
#feedbacks = Feedback()
feedbacks = Feedback.objects.filter(refArticle=articleId)
return render_to_response('articles/article.html',{'article':article,'feedbacks':feedbacks},context_instance = RequestContext(request))
else:
list0 = Article.objects.all()
return render_to_response('articles/list.html',{'list':list0},context_instance = RequestContext(request))
Variable | Value |
---|---|
request | "<WSGIRequest\npath:/showAtcl/,\nGET:<QueryDict: {u'id': [u'2']}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{'CONTEXT_DOCUMENT_ROOT': '/home/mycode/ccose_deploy/ccose/',\n 'CONTEXT_PREFIX': '',\n 'DOCUMENT_ROOT': '/home/mycode/ccose_deploy/ccose/',\n 'GATEWAY_INTERFACE': 'CGI/1.1',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_HOST': 'ccose.org',\n 'HTTP_USER_AGENT': 'claudebot',\n 'PATH_INFO': u'/showAtcl/',\n 'PATH_TRANSLATED': '/home/mycode/ccose_deploy/ccose/ccose/wsgi.py/showAtcl/',\n 'QUERY_STRING': 'id=2',\n 'REMOTE_ADDR': '54.210.126.232',\n 'REMOTE_PORT': '52416',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_SCHEME': 'http',\n 'REQUEST_URI': '/showAtcl/?id=2',\n 'SCRIPT_FILENAME': '/home/mycode/ccose_deploy/ccose/ccose/wsgi.py',\n 'SCRIPT_NAME': u'',\n 'SERVER_ADDR': '192.168.122.253',\n 'SERVER_ADMIN': 'wenyuejie@126.com',\n 'SERVER_NAME': 'ccose.org',\n 'SERVER_PORT': '80',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SIGNATURE': '',\n 'SERVER_SOFTWARE': 'Apache/2.4.6 (CentOS) PHP/7.0.32 mod_wsgi/3.4 Python/2.7.5',\n 'UNIQUE_ID': 'ZgWe5q-3O2zRpS3aLELEGgAAAAE',\n 'mod_wsgi.application_group': 'www.ccose.org|',\n 'mod_wsgi.callable_object': 'application',\n 'mod_wsgi.enable_sendfile': '0',\n 'mod_wsgi.handler_script': '',\n 'mod_wsgi.input_chunked': '0',\n 'mod_wsgi.listener_host': '',\n 'mod_wsgi.listener_port': '80',\n 'mod_wsgi.process_group': '',\n 'mod_wsgi.queue_start': '1711644390831392',\n 'mod_wsgi.request_handler': 'wsgi-script',\n 'mod_wsgi.script_reloading': '1',\n 'mod_wsgi.version': (3, 4),\n 'wsgi.errors': <mod_wsgi.Log object at 0x7f4eadf80cf0>,\n 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7f4eadec30a8>,\n 'wsgi.input': <mod_wsgi.Input object at 0x7f4eadf80ef0>,\n 'wsgi.multiprocess': True,\n 'wsgi.multithread': False,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 0)}>" |
articleId | u'2' |
/usr/lib/python2.7/site-packages/django/db/models/manager.py
in get
def distinct(self, *args, **kwargs):
return self.get_query_set().distinct(*args, **kwargs)
def extra(self, *args, **kwargs):
return self.get_query_set().extra(*args, **kwargs)
def get(self, *args, **kwargs):
return self.get_query_set().get(*args, **kwargs)...
def get_or_create(self, **kwargs):
return self.get_query_set().get_or_create(**kwargs)
def create(self, **kwargs):
return self.get_query_set().create(**kwargs)
Variable | Value |
---|---|
self | <django.db.models.manager.Manager object at 0x7f4eadd85b90> |
args | () |
kwargs | {'id': u'2'} |
/usr/lib/python2.7/site-packages/django/db/models/query.py
in get
"""
Performs the query and returns a single object matching the given
keyword arguments.
"""
clone = self.filter(*args, **kwargs)
if self.query.can_filter():
clone = clone.order_by()
num = len(clone)...
if num == 1:
return clone._result_cache[0]
if not num:
raise self.model.DoesNotExist("%s matching query does not exist."
% self.model._meta.object_name)
raise self.model.MultipleObjectsReturned("get() returned more than one %s -- it returned %s! Lookup parameters were %s"
Variable | Value |
---|---|
clone | Error in formatting: no such table: articles_article |
args | () |
self | Error in formatting: no such table: articles_article |
kwargs | {'id': u'2'} |
/usr/lib/python2.7/site-packages/django/db/models/query.py
in __len__
# Since __len__ is called quite frequently (for example, as part of
# list(qs), we make some effort here to be as efficient as possible
# whilst not messing up any existing iterators against the QuerySet.
if self._result_cache is None:
if self._iter:
self._result_cache = list(self._iter)
else:
self._result_cache = list(self.iterator())...
elif self._iter:
self._result_cache.extend(self._iter)
if self._prefetch_related_lookups and not self._prefetch_done:
self._prefetch_related_objects()
return len(self._result_cache)
Variable | Value |
---|---|
self | Error in formatting: no such table: articles_article |
/usr/lib/python2.7/site-packages/django/db/models/query.py
in iterator
# Cache db and model outside the loop
db = self.db
model = self.model
compiler = self.query.get_compiler(using=db)
if fill_cache:
klass_info = get_klass_info(model, max_depth=max_depth,
requested=requested, only_load=only_load)
for row in compiler.results_iter():...
if fill_cache:
obj, _ = get_cached_row(row, index_start, db, klass_info,
offset=len(aggregate_select))
else:
if skip:
row_data = row[index_start:aggregate_start]
Variable | Value |
---|---|
requested | None |
fill_cache | False |
aggregate_select | [] |
fields | [<django.db.models.fields.AutoField: id>, <django.db.models.fields.related.ForeignKey: category>, <django.db.models.fields.CharField: editor>, <django.db.models.fields.CharField: title>, <django.db.models.fields.TextField: content>, <django.db.models.fields.DateTimeField: publishDate>, <django.db.models.fields.CharField: tags>, <django.db.models.fields.CharField: author>, <django.db.models.fields.CharField: source>] |
skip | None |
self | Error in formatting: no such table: articles_article |
load_fields | [] |
db | 'default' |
index_start | 0 |
extra_select | [] |
aggregate_start | 9 |
model | <class 'articles.models.Article'> |
only_load | {} |
max_depth | 5 |
compiler | <django.db.models.sql.compiler.SQLCompiler object at 0x7f4eaded3fd0> |
/usr/lib/python2.7/site-packages/django/db/models/sql/compiler.py
in results_iter
fields = None
has_aggregate_select = bool(self.query.aggregate_select)
# Set transaction dirty if we're using SELECT FOR UPDATE to ensure
# a subsequent commit/rollback is executed, so any database locks
# are released.
if self.query.select_for_update and transaction.is_managed(self.using):
transaction.set_dirty(self.using)
for rows in self.execute_sql(MULTI):...
for row in rows:
if resolve_columns:
if fields is None:
# We only set this up here because
# related_select_fields isn't populated until
# execute_sql() has been called.
Variable | Value |
---|---|
fields | None |
self | <django.db.models.sql.compiler.SQLCompiler object at 0x7f4eaded3fd0> |
has_aggregate_select | False |
resolve_columns | False |
/usr/lib/python2.7/site-packages/django/db/models/sql/compiler.py
in execute_sql
except EmptyResultSet:
if result_type == MULTI:
return empty_iter()
else:
return
cursor = self.connection.cursor()
cursor.execute(sql, params)...
if not result_type:
return cursor
if result_type == SINGLE:
if self.query.ordering_aliases:
return cursor.fetchone()[:-len(self.query.ordering_aliases)]
Variable | Value |
---|---|
cursor | <django.db.backends.util.CursorDebugWrapper object at 0x7f4eaded3d90> |
self | <django.db.models.sql.compiler.SQLCompiler object at 0x7f4eaded3fd0> |
params | (2,) |
result_type | 'multi' |
sql | 'SELECT "articles_article"."id", "articles_article"."category_id", "articles_article"."editor", "articles_article"."title", "articles_article"."content", "articles_article"."publishDate", "articles_article"."tags", "articles_article"."author", "articles_article"."source" FROM "articles_article" WHERE "articles_article"."id" = %s ' |
/usr/lib/python2.7/site-packages/django/db/backends/util.py
in execute
class CursorDebugWrapper(CursorWrapper):
def execute(self, sql, params=()):
self.set_dirty()
start = time()
try:
return self.cursor.execute(sql, params)...
finally:
stop = time()
duration = stop - start
sql = self.db.ops.last_executed_query(self.cursor, sql, params)
self.db.queries.append({
'sql': sql,
Variable | Value |
---|---|
self | <django.db.backends.util.CursorDebugWrapper object at 0x7f4eaded3d90> |
stop | 1711644390.832882 |
start | 1711644390.83273 |
params | (2,) |
sql | u'SELECT "articles_article"."id", "articles_article"."category_id", "articles_article"."editor", "articles_article"."title", "articles_article"."content", "articles_article"."publishDate", "articles_article"."tags", "articles_article"."author", "articles_article"."source" FROM "articles_article" WHERE "articles_article"."id" = 2 ' |
duration | 0.0001518726348876953 |
/usr/lib/python2.7/site-packages/django/db/backends/sqlite3/base.py
in execute
Django uses "format" style placeholders, but pysqlite2 uses "qmark" style.
This fixes it -- but note that if you want to use a literal "%s" in a query,
you'll need to use "%%s".
"""
def execute(self, query, params=()):
query = self.convert_query(query)
try:
return Database.Cursor.execute(self, query, params)...
except Database.IntegrityError, e:
raise utils.IntegrityError, utils.IntegrityError(*tuple(e)), sys.exc_info()[2]
except Database.DatabaseError, e:
raise utils.DatabaseError, utils.DatabaseError(*tuple(e)), sys.exc_info()[2]
def executemany(self, query, param_list):
Variable | Value |
---|---|
params | (2,) |
self | <django.db.backends.sqlite3.base.SQLiteCursorWrapper object at 0x7f4eade3de90> |
e | OperationalError('no such table: articles_article',) |
query | 'SELECT "articles_article"."id", "articles_article"."category_id", "articles_article"."editor", "articles_article"."title", "articles_article"."content", "articles_article"."publishDate", "articles_article"."tags", "articles_article"."author", "articles_article"."source" FROM "articles_article" WHERE "articles_article"."id" = ? ' |
Variable | Value |
---|---|
id | u'2' |
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
mod_wsgi.listener_port | '80' |
CONTEXT_DOCUMENT_ROOT | '/home/mycode/ccose_deploy/ccose/' |
SERVER_SOFTWARE | 'Apache/2.4.6 (CentOS) PHP/7.0.32 mod_wsgi/3.4 Python/2.7.5' |
CONTEXT_PREFIX | '' |
mod_wsgi.enable_sendfile | '0' |
mod_wsgi.handler_script | '' |
SERVER_SIGNATURE | '' |
REQUEST_METHOD | 'GET' |
PATH_INFO | u'/showAtcl/' |
SERVER_PROTOCOL | 'HTTP/1.1' |
QUERY_STRING | 'id=2' |
HTTP_USER_AGENT | 'claudebot' |
SERVER_NAME | 'ccose.org' |
REMOTE_ADDR | '54.210.126.232' |
mod_wsgi.queue_start | '1711644390831392' |
mod_wsgi.request_handler | 'wsgi-script' |
wsgi.url_scheme | 'http' |
PATH_TRANSLATED | '/home/mycode/ccose_deploy/ccose/ccose/wsgi.py/showAtcl/' |
SERVER_PORT | '80' |
wsgi.multiprocess | True |
mod_wsgi.input_chunked | '0' |
SERVER_ADDR | '192.168.122.253' |
DOCUMENT_ROOT | '/home/mycode/ccose_deploy/ccose/' |
mod_wsgi.process_group | '' |
SCRIPT_FILENAME | '/home/mycode/ccose_deploy/ccose/ccose/wsgi.py' |
SERVER_ADMIN | 'wenyuejie@126.com' |
wsgi.input | <mod_wsgi.Input object at 0x7f4eadf80ef0> |
HTTP_HOST | 'ccose.org' |
SCRIPT_NAME | u'' |
wsgi.multithread | False |
mod_wsgi.callable_object | 'application' |
REQUEST_URI | '/showAtcl/?id=2' |
HTTP_ACCEPT | '*/*' |
wsgi.version | (1, 0) |
GATEWAY_INTERFACE | 'CGI/1.1' |
wsgi.run_once | False |
wsgi.errors | <mod_wsgi.Log object at 0x7f4eadf80cf0> |
REMOTE_PORT | '52416' |
mod_wsgi.listener_host | '' |
REQUEST_SCHEME | 'http' |
mod_wsgi.version | (3, 4) |
mod_wsgi.application_group | 'www.ccose.org|' |
mod_wsgi.script_reloading | '1' |
wsgi.file_wrapper | '' |
UNIQUE_ID | 'ZgWe5q-3O2zRpS3aLELEGgAAAAE' |
ccose.settings
Setting | Value |
---|---|
USE_L10N | True |
USE_THOUSAND_SEPARATOR | False |
CSRF_COOKIE_SECURE | False |
LANGUAGE_CODE | 'zh_CN' |
ROOT_URLCONF | 'ccose.urls' |
MANAGERS | () |
DEFAULT_CHARSET | 'utf-8' |
STATIC_ROOT | '/home/mycode/ccose_deploy/ccose/static' |
ALLOWED_HOSTS | [] |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
EMAIL_SUBJECT_PREFIX | '[Django] ' |
FILE_UPLOAD_PERMISSIONS | None |
URL_VALIDATOR_USER_AGENT | 'Django/1.4.22 (https://www.djangoproject.com)' |
STATICFILES_FINDERS | ('django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder') |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_NAME | 'sessionid' |
ADMIN_FOR | () |
TIME_INPUT_FORMATS | ('%H:%M:%S', '%H:%M') |
DATABASES | {'default': {'ENGINE': 'django.db.backends.sqlite3', 'HOST': '', 'NAME': '/home/mycode/ccose_deploy/ccose/ccose.db', 'OPTIONS': {}, 'PASSWORD': u'********************', 'PORT': '', 'TEST_CHARSET': None, 'TEST_COLLATION': None, 'TEST_MIRROR': None, 'TEST_NAME': None, 'TIME_ZONE': 'UTC', 'USER': ''}} |
SERVER_EMAIL | 'root@localhost' |
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': ''}} |
SESSION_COOKIE_PATH | '/' |
USE_X_FORWARDED_HOST | False |
MIDDLEWARE_CLASSES | ('django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware') |
USE_I18N | True |
THOUSAND_SEPARATOR | ',' |
SECRET_KEY | u'********************' |
LANGUAGE_COOKIE_NAME | 'django_language' |
DEFAULT_INDEX_TABLESPACE | '' |
TRANSACTIONS_MANAGED | False |
LOGGING_CONFIG | 'django.utils.log.dictConfig' |
SEND_BROKEN_LINK_EMAILS | False |
TEMPLATE_LOADERS | ('django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader') |
WSGI_APPLICATION | 'ccose.wsgi.application' |
TEMPLATE_DEBUG | False |
X_FRAME_OPTIONS | 'SAMEORIGIN' |
AUTHENTICATION_BACKENDS | ('django.contrib.auth.backends.ModelBackend',) |
FORCE_SCRIPT_NAME | None |
CACHE_BACKEND | 'locmem://' |
SIGNING_BACKEND | 'django.core.signing.TimestampSigner' |
SESSION_COOKIE_SECURE | False |
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.staticfiles', 'articles', 'notices', 'registration', 'kindeditor', 'django.contrib.admin') |
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'), ('eo', 'Esperanto'), ('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'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('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'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')) |
COMMENTS_ALLOW_PROFANITIES | False |
STATICFILES_DIRS | (('css', '/home/mycode/ccose_deploy/ccose/static/css'), ('js', '/home/mycode/ccose_deploy/ccose/static/js'), ('images', '/home/mycode/ccose_deploy/ccose/static/images')) |
PREPEND_WWW | False |
SECURE_PROXY_SSL_HEADER | None |
SESSION_COOKIE_HTTPONLY | True |
DEBUG_PROPAGATE_EXCEPTIONS | False |
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 | u'********************' |
PASSWORD_RESET_TIMEOUT_DAYS | u'********************' |
CACHE_MIDDLEWARE_ALIAS | 'default' |
SESSION_SAVE_EVERY_REQUEST | False |
NUMBER_GROUPING | 0 |
SESSION_ENGINE | 'django.contrib.sessions.backends.db' |
CSRF_FAILURE_VIEW | 'django.views.csrf.csrf_failure' |
CSRF_COOKIE_PATH | '/' |
LOGIN_REDIRECT_URL | '/accounts/profile/' |
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} |
IGNORABLE_404_URLS | () |
LOCALE_PATHS | () |
HERE | '/home/mycode/ccose_deploy/ccose/ccose' |
LOGOUT_URL | '/accounts/logout/' |
EMAIL_USE_TLS | False |
FIXTURE_DIRS | () |
EMAIL_HOST | 'localhost' |
DATE_FORMAT | 'N j, Y' |
MEDIA_ROOT | '/home/mycode/ccose_deploy/ccose/media' |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
ADMINS | () |
FORMAT_MODULE_PATH | None |
DEFAULT_FROM_EMAIL | 'webmaster@localhost' |
MEDIA_URL | '/media/' |
DATETIME_FORMAT | 'N j, Y, P' |
TEMPLATE_DIRS | () |
SITE_ID | 1 |
DISALLOWED_USER_AGENTS | () |
ALLOWED_INCLUDE_ROOTS | () |
DECIMAL_SEPARATOR | '.' |
SHORT_DATE_FORMAT | 'm/d/Y' |
TEST_RUNNER | 'django.test.simple.DjangoTestSuiteRunner' |
CACHE_MIDDLEWARE_KEY_PREFIX | u'********************' |
TIME_ZONE | 'Asia/Shanghai' |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
DEFAULT_TABLESPACE | '' |
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') |
SESSION_COOKIE_AGE | 1209600 |
SETTINGS_MODULE | 'ccose.settings' |
USE_ETAGS | False |
LANGUAGES_BIDI | ('he', 'ar', 'fa') |
FILE_UPLOAD_TEMP_DIR | None |
INTERNAL_IPS | () |
STATIC_URL | '/static/' |
EMAIL_PORT | 25 |
USE_TZ | True |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
PASSWORD_HASHERS | u'********************' |
ABSOLUTE_URL_OVERRIDES | {} |
CACHE_MIDDLEWARE_SECONDS | 600 |
TEMPLATE_STRING_IF_INVALID | '' |
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') |
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.