I started pylons today and I'm following along with the pylons book.
I'm trying to render a simple template but continue to get: OSError:
[Errno 13] Permission denied: '/var/pylons_projects/bin/HelloWorld/
data'
Anyone know what's wrong?
The url is: http:xxx.xxx.xxx.xxx:5000/hello/index
The index action (method):
def index:
name = 'Dan'
return render('/hello.html', extra_vars={'name':name})
Within the templates directory I've saved hello.html, which follows:
<html>
<head><title>Hello</title></head>
<body>
<h1>Template Test</h1>
<p>Hello ${name}</p>
</body>
</html>
Thanks,
Dan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pylons-discuss" 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/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---