[Python-es] Problema desplegando django en apache con wsgi
Yulier Garcia
yulier.samy en gmail.com
Mie Nov 23 14:23:18 CET 2011
Hola gente necesito ayuda , apreciaria cualquier comenteario
Tratando de desplegar django 1.3 en apache 2.2.8 con wsgi , despues de
realizar las configuracion basica necesaria me da el siguiente error:
//------------------------------------------------------------------------------
TemplateSyntaxError at /
Caught DatabaseError while rendering: no such table: polls_poll
Request Method: GET
Request URL: http://localhost/
Django Version: 1.3
Exception Type: TemplateSyntaxError
Exception Value: Caught DatabaseError while rendering: no such table:
polls_poll
Exception Location:
C:\Python26\lib\site-packages\django\db\backends\sqlite3\base.py in
execute, line 234
Python Executable: C:\wamp\bin\apache\apache2.2.8\bin\httpd.exe
Python Version: 2.6.5
Python Path: ['C:\\Python26\\lib\\site-packages\\poster-0.7.0-py2.6.egg',
'C:\\Python26\\lib\\site-packages\\soaplib-2.0.0_beta2-py2.6.egg',
'C:\\Python26\\lib\\site-packages\\pytz-2011n-py2.6(2).egg',
'C:\\Python26\\lib\\site-packages\\rpclib-2.4.5_beta-py2.6.egg',
'C:\\Python26\\lib\\site-packages\\suds-0.4-py2.6.egg',
'C:\\WINDOWS\\system32\\python26.zip',
'C:\\Python26\\Lib',
'C:\\Python26\\DLLs',
'C:\\Python26\\Lib\\lib-tk',
'C:\\wamp\\bin\\apache\\apache2.2.8',
'C:\\wamp\\bin\\apache\\apache2.2.8\\bin',
'C:\\Python26',
'C:\\Python26\\lib\\site-packages',
'C:\\Python26\\lib\\site-packages\\PIL',
Caught DatabaseError while rendering: no such table: polls_poll
{% if latest_poll_list %}
<ul>
{% for poll in latest_poll_list %}
<li><a href="/polls/{{ poll.id }}/">{{ poll.question }}</a></li>
{% endfor %}
</ul>
{% else %}
<p>No polls are available.</p>
{% endif %}
//-----------------------------------------------------------------------------------------------------
Agradeceria cualquier ayuda de la comunidad!!!
Más información sobre la lista de distribución Python-es