Cant get the child dir in django hosting (alwaysdata.com) .

Posted by zjm1126 on Stack Overflow See other posts from Stack Overflow or by zjm1126
Published on 2010-12-27T05:50:43Z Indexed on 2010/12/27 5:53 UTC
Read the original article Hit count: 221

Filed under:
|
|
|
|

this is my file :

mysite 
   templates
       homepage.html
       accounts
           a.html
           login_view.html

i can get the homepage.html and accounts\a.html on 127.0.0.1:8000

but in http://zjm1126.alwaysdata.net , i can only get the homepage.html ,and cant get the account\a.html ,

this is my code :

return render_to_response('accounts/login_view.html')

and the accounts/login_view.html is :

{% include "accounts\a.html" %}

what can i do , thanks ,

© Stack Overflow or respective owner

Related posts about python

Related posts about django