Note that there are some explanatory texts on larger screens.

plurals
  1. POError in Django running on Apache/mod_wsgi
    primarykey
    data
    text
    <p>Recently i asked a <a href="https://stackoverflow.com/questions/1195260/installing-django-with-modwsgi">question</a> regarding an error in apache/mod_wsgi recognizing the python script directory. The community kindly answered the question resulting in a successful installation. Now I have a different error, the server daemon (well, technically is a windows service, I say tomato you say...) doesn't find any of the models, here's the full traceback:</p> <p>Environment:</p> <pre><code>Request Method: GET Request URL: `http://localhost/polls/` Django Version: 1.0.2 final Python Version: 2.6.2 Installed Applications: ['django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.admin', 'mysite.polls'] Installed Middleware: ('django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware') </code></pre> <p>Template error: In template c:\users\marcos\documents\djangotemplates\polls\poll<code>_</code>list.html, error at line 1 Caught an exception while rendering: no such table: polls_poll </p> <pre> 1 : {% if object_list %} 2 : &lt;ul&gt; 3 : {% for poll in object_list %} 4 : &lt;li&gt; &lt;a href="{{poll.id}}/"&gt;{{ poll.question }} &lt;/a&gt; &lt;/li&gt; 5 : {% endfor %} 6 : &lt;/ul&gt; 7 : {% else %} 8 : &lt;p&gt;No polls are available.&lt;/p&gt; 9 : {% endif %} 10 : </pre> <p>Traceback: </p> <pre> File "C:\Python26\lib\site-packages\django\core\handlers\base.py" in get_response 86. response = callback(request, *callback_args, **callback_kwargs) File "C:\Python26\lib\site-packages\django\views\generic\list_detail.py" in object_list 101. return HttpResponse(t.render(c), mimetype=mimetype) File "C:\Python26\lib\site-packages\django\template\__init__.py" in render 176. return self.nodelist.render(context) File "C:\Python26\lib\site-packages\django\template\__init__.py" in render 768. bits.append(self.render_node(node, context)) File "C:\Python26\lib\site-packages\django\template\debug.py" in render_node 81. raise wrapped </pre> <pre><code>Exception Type: TemplateSyntaxError at /polls/ Exception Value: Caught an exception while rendering: no such table: polls_poll </code></pre> <p>somewhere someone advice me to use <strong>manage.py dbshell</strong> and the script responded:<br> Error: You appear not to have the 'sqlite3' program installed or on your path.</p> <p>But still the Django runserver runs the app perfectly. I don't see what changed in the environment to screw the web-app so hard. Please help!</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload