Well, my guess is that you should change the template responsible for the page in your second picture and fix the <img> tag that displays the graphic so that the source points to /simuladores/grafico/ instead of /grafico/
Nuno On Thu, Sep 16, 2010 at 6:05 PM, Waléria Antunes David <[email protected]> wrote: > Yes, my graph is generated dynamically. Where do I change my code for this > error doesn't occur and my image appears? > > On Thu, Sep 16, 2010 at 1:56 PM, Nuno Maltez <[email protected]> wrote: >> >> At a glance: is your graphic dynamically generated and served by >> Django? If so, shouldn't the the src of the img tag point >> to /simuladores/grafico/ - or something under /simuladores where the >> wsgi script can catch it - instead of /grafico ? >> >> If your code is writing the image to the filesystem, is it writing it >> to /var/www/django/grafico ? >> >> hth, >> Nuno >> >> >> On Thu, Sep 16, 2010 at 12:30 PM, Waléria Antunes David >> <[email protected]> wrote: >> > Hi all, >> > >> > I need to put my project on the web server. I installed the Python, >> > Django, >> > mod_wsgi and configured the VirtualHost file: >> > http://pastebin.com/Xe7SqhM1 >> > and created the script for the WSGI: http://pastebin.com/jgLHipnB >> > Attached below two images of my project in the browser. My problem is, >> > in >> > the first image i pass values end click on make curve to generate a >> > graph >> > but an error is written in log_error: http://pastebin.com/ZPzdC5c8 and >> > a >> > graphic is not displayed. See second image. >> > >> > What would be? >> > >> > Thanks. >> > >> > -- >> > You received this message because you are subscribed to the Google >> > Groups >> > "Django users" group. >> > To post to this group, send email to [email protected]. >> > To unsubscribe from this group, send email to >> > [email protected]. >> > For more options, visit this group at >> > http://groups.google.com/group/django-users?hl=en. >> > >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Django users" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/django-users?hl=en. >> > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

