Re: problem with deploying django using mod wsgi
It may be looking in html because it isn't getting the definition from the view method or class, so it's going with the default.
-- Try importing everything in views:
from webapp import views *
On Saturday, August 10, 2013 3:46:19 AM UTC-4, WongoBongo wrote:
On Saturday, August 10, 2013 3:46:19 AM UTC-4, WongoBongo wrote:
Is your form (on page /mice/search_mice/) submitting to/mice/searchor/searchCheck your form element in the html document. Is it pointing to the right URL?Maybe check your WSGIScriptAlias setting. Maybe verify your DocumentRoot setting.You might also want to check the request and response using a tool like HttpFoxKOn Thursday, August 8, 2013 6:10:34 AM UTC-7, sah wrote:I have this error in the error_log file :[error] [client 10.10.8.41] File does not exist: /var/www/html/search, referer: http://tarinformatics03/mice/search_ mice/
search is one of my view function why is it looking for it in the html directory ??
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home