OperationalError at /admin/comments/comment/

no such table: django_site
Request Method: GET
Request URL: http://localhost:8080/admin/comments/comment/
Exception Type: OperationalError
Exception Value:
no such table: django_site
Exception Location: C:\Python25\lib\site-packages\django\db\backends\sqlite3\base.py in execute, line 167
Python Executable: C:\Python25\python.exe
Python Version: 2.5.2
Python Path: ['C:\\J\\_proj\\Python\\djcode\\ssa', 'C:\\Python25\\lib\\site-packages\\setuptools-0.6c8-py2.5.egg', 'C:\\Python25\\lib\\site-packages\\pygments-0.11.1-py2.5.egg', 'C:\\Python25\\lib\\site-packages\\markdown-1.7-py2.5-win32.egg', 'C:\\Python25\\lib\\site-packages\\python_openid-2.2.1-py2.5.egg', 'C:\\Windows\\system32\\python25.zip', 'C:\\Python25\\DLLs', 'C:\\Python25\\lib', 'C:\\Python25\\lib\\plat-win', 'C:\\Python25\\lib\\lib-tk', 'C:\\Python25', 'C:\\Python25\\lib\\site-packages', 'C:\\Python25\\lib\\site-packages\\PIL', 'C:\\Python25\\lib\\site-packages\\win32', 'C:\\Python25\\lib\\site-packages\\win32\\lib', 'C:\\Python25\\lib\\site-packages\\Pythonwin']
Server time: mar, 16 Sep 2008 17:38:52 -0400

Traceback Switch to copy-and-paste view



Request information

GET

No GET data

POST

No POST data

Variable Value
sessionid
'831bf381040c8a6239b3bba39536eb49'

META

Variable Value
ALLUSERSPROFILE
'C:\\ProgramData'
APPDATA
'C:\\Users\\J\\AppData\\Roaming'
CLASSPATH
'.;C:\\Program Files\\QuickTime\\QTSystem\\QTJava.zip'
COMMANDER_DRIVE
'C:'
COMMANDER_INI
'C:\\Users\\J\\AppData\\Roaming\\GHISLER\\wincmd.ini'
COMMANDER_PATH
'C:\\Program Files\\totalcmd'
COMMONPROGRAMFILES
'C:\\Program Files\\Common Files'
COMPUTERNAME
'J-PC-VISTAEN'
COMSPEC
'C:\\Windows\\system32\\cmd.exe'
CONTENT_LENGTH
''
CONTENT_TYPE
'text/plain'
DJANGO_SETTINGS_MODULE
'ssa.settings'
FP_NO_HOST_CHECK
'NO'
GATEWAY_INTERFACE
'CGI/1.1'
HOMEDRIVE
'C:'
HOMEPATH
'\\Users\\J'
HTTP_ACCEPT
'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'
HTTP_ACCEPT_CHARSET
'ISO-8859-1,utf-8;q=0.7,*;q=0.7'
HTTP_ACCEPT_ENCODING
'gzip,deflate'
HTTP_ACCEPT_LANGUAGE
'es,es-ar;q=0.8,en-us;q=0.5,en;q=0.3'
HTTP_CACHE_CONTROL
'max-age=0'
HTTP_CONNECTION
'keep-alive'
HTTP_COOKIE
'sessionid=831bf381040c8a6239b3bba39536eb49'
HTTP_HOST
'localhost:8080'
HTTP_KEEP_ALIVE
'300'
HTTP_REFERER
'http://localhost:8080/admin/'
HTTP_USER_AGENT
'Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1'
LOCALAPPDATA
'C:\\Users\\J\\AppData\\Local'
LOGONSERVER
'\\\\J-PC-VISTAEN'
NUMBER_OF_PROCESSORS
'2'
OS
'Windows_NT'
PATH
'C:\\Python25\\;C:\\Python25\\;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Program Files\\QuickTime\\QTSystem\\;C:\\Program Files\\Common Files\\Adobe\\AGL;C:\\p\\usr\\bin;C:\\Python25\\Lib\\site-packages\\django\\bin\\;;C:\\Program Files\\Common Files\\Ahead\\Lib\\'
PATHEXT
'.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.py;.pyw'
PATH_INFO
u'/admin/comments/comment/'
PROCESSOR_ARCHITECTURE
'x86'
PROCESSOR_IDENTIFIER
'x86 Family 6 Model 15 Stepping 6, GenuineIntel'
PROCESSOR_LEVEL
'6'
PROCESSOR_REVISION
'0f06'
PROGRAMDATA
'C:\\ProgramData'
PROGRAMFILES
'C:\\Program Files'
PROMPT
'$P$G'
PUBLIC
'C:\\Users\\Public'
QTJAVA
'C:\\Program Files\\QuickTime\\QTSystem\\QTJava.zip'
QUERY_STRING
''
REMOTE_ADDR
'127.0.0.1'
REMOTE_HOST
''
REQUEST_METHOD
'GET'
RUN_MAIN
'true'
SCRIPT_NAME
u''
SERVER_NAME
'J-PC-vistaen'
SERVER_PORT
'8080'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SOFTWARE
'WSGIServer/0.1 Python/2.5.2'
SESSIONNAME
'Console'
SYSTEMDRIVE
'C:'
SYSTEMROOT
'C:\\Windows'
TEMP
'C:\\Users\\J\\AppData\\Local\\Temp'
TMP
'C:\\Users\\J\\AppData\\Local\\Temp'
USERDOMAIN
'J-PC-vistaen'
USERNAME
'J'
USERPROFILE
'C:\\Users\\J'
WINDIR
'C:\\Windows'
wsgi.errors
<open file '<stderr>', mode 'w' at 0x0195F0B0>
wsgi.file_wrapper
<class 'django.core.servers.basehttp.FileWrapper'>
wsgi.input
<socket._fileobject object at 0x023043F0>
wsgi.multiprocess
False
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'http'
wsgi.version
(1, 0)

Settings

Using settings module ssa.settings

Setting Value
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
(('J', 'jobcello@gmail.com'),)
ADMIN_FOR
()
ADMIN_MEDIA_PREFIX
'/adminmedia/'
ALLOWED_INCLUDE_ROOTS
()
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
('django.contrib.auth.backends.ModelBackend',)
BANNED_IPS
()
CACHE_BACKEND
'locmem://'
CACHE_MIDDLEWARE_KEY_PREFIX
''
CACHE_MIDDLEWARE_SECONDS
600
COMMENTS_ALLOW_PROFANITIES
False
COMMENTS_BANNED_USERS_GROUP
None
COMMENTS_FIRST_FEW
0
COMMENTS_MODERATORS_GROUP
None
COMMENTS_SKETCHY_USERS_GROUP
None
DATABASE_ENGINE
'sqlite3'
DATABASE_HOST
''
DATABASE_NAME
'C:\\J\\_proj\\Python\\djcode\\ssa_dj1.sqlite'
DATABASE_OPTIONS
{}
DATABASE_PASSWORD
'********************'
DATABASE_PORT
''
DATABASE_USER
''
DATETIME_FORMAT
'N j, Y, P'
DATE_FORMAT
'N j, Y'
DEBUG
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DEFAULT_CHARSET
'utf-8'
DEFAULT_CONTENT_TYPE
'text/html'
DEFAULT_FILE_STORAGE
'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE
''
DEFAULT_TABLESPACE
''
DISALLOWED_USER_AGENTS
()
EMAIL_HOST
'localhost'
EMAIL_HOST_PASSWORD
'********************'
EMAIL_HOST_USER
''
EMAIL_PORT
25
EMAIL_SUBJECT_PREFIX
'[Django] '
EMAIL_USE_TLS
False
FILE_CHARSET
'utf-8'
FILE_UPLOAD_HANDLERS
('django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler')
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
None
FILE_UPLOAD_TEMP_DIR
None
FIXTURE_DIRS
()
FORCE_SCRIPT_NAME
None
IGNORABLE_404_ENDS
('mail.pl', 'mailform.pl', 'mail.cgi', 'mailform.cgi', 'favicon.ico', '.php')
IGNORABLE_404_STARTS
('/cgi-bin/', '/_vti_bin', '/_vti_inf')
INSTALLED_APPS
['ssa.posts', 'ssa.nav', 'ssa.events', 'django.contrib.admin', 'django.contrib.admindocs', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.comments', 'django.contrib.webdesign']
INTERNAL_IPS
()
JING_PATH
'/usr/bin/jing'
LANGUAGES
(('ar', 'Arabic'), ('bn', 'Bengali'), ('bg', 'Bulgarian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('es', 'Spanish'), ('et', 'Estonian'), ('es-ar', 'Argentinean Spanish'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('ga', 'Irish'), ('gl', 'Galician'), ('hu', 'Hungarian'), ('he', 'Hebrew'), ('hr', 'Croatian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('ko', 'Korean'), ('km', 'Khmer'), ('kn', 'Kannada'), ('lv', 'Latvian'), ('lt', 'Lithuanian'), ('mk', 'Macedonian'), ('nl', 'Dutch'), ('no', 'Norwegian'), ('pl', 'Polish'), ('pt', 'Portugese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sr', 'Serbian'), ('sv', 'Swedish'), ('ta', 'Tamil'), ('te', 'Telugu'), ('tr', 'Turkish'), ('uk', 'Ukrainian'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese'))
LANGUAGES_BIDI
('he', 'ar', 'fa')
LANGUAGE_CODE
'es-ES'
LANGUAGE_COOKIE_NAME
'django_language'
LOCALE_PATHS
()
LOGIN_REDIRECT_URL
'/accounts/profile/'
LOGIN_URL
'/accounts/login/'
LOGOUT_URL
'/accounts/logout/'
MANAGERS
(('J', 'jobcello@gmail.com'),)
MEDIA_ROOT
'C:\\J\\_proj\\Python\\djcode\\ssa_media'
MEDIA_URL
'http://localhost:8080/media/'
MIDDLEWARE_CLASSES
('django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.locale.LocaleMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware')
MONTH_DAY_FORMAT
'F j'
PASSWORD_RESET_TIMEOUT_DAYS
'********************'
PREPEND_WWW
False
PROFANITIES_LIST
'********************'
ROOT_URLCONF
'ssa.urls'
SECRET_KEY
'********************'
SEND_BROKEN_LINK_EMAILS
False
SERVER_EMAIL
'root@localhost'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_NAME
'sessionid'
SESSION_COOKIE_PATH
'/'
SESSION_COOKIE_SECURE
False
SESSION_ENGINE
'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SETTINGS_MODULE
'ssa.settings'
SITE_ID
1
SSAPARENTPATH
'C:\\J\\_proj\\Python\\djcode'
TEMPLATE_CONTEXT_PROCESSORS
('django.core.context_processors.auth', 'django.core.context_processors.debug', 'django.core.context_processors.i18n', 'django.core.context_processors.media', 'ssa.context_processors.ssa')
TEMPLATE_DEBUG
True
TEMPLATE_DIRS
('C:\\J\\_proj\\Python\\djcode\\ssa_templates',)
TEMPLATE_LOADERS
('django.template.loaders.filesystem.load_template_source', 'django.template.loaders.app_directories.load_template_source')
TEMPLATE_STRING_IF_INVALID
''
TEST_DATABASE_CHARSET
None
TEST_DATABASE_COLLATION
None
TEST_DATABASE_NAME
None
TEST_RUNNER
'django.test.simple.run_tests'
TIME_FORMAT
'P'
TIME_ZONE
'America/Santiago Chile/Continental'
TRANSACTIONS_MANAGED
False
URL_VALIDATOR_USER_AGENT
u'Django/1.0-final-SVN-unknown (http://www.djangoproject.com)'
USE_ETAGS
False
USE_I18N
True
YEAR_MONTH_FORMAT
'F Y'

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.