#2033: tg2 not wsgi compliant with public/static content
-------------------------------------------------------------+--------------
 Reporter:  lszyba1                                          |        Owner:  
faide  
     Type:  defect                                           |       Status:  
new    
 Priority:  highest                                          |    Milestone:  
1.9.7b1
Component:  TurboGears                                       |      Version:  
trunk  
 Severity:  critical                                         |   Resolution:    
     
 Keywords:  needs feedback, wsgi,  static files, deployment  |  
-------------------------------------------------------------+--------------
Comment (by lszyba1):

 Hello,
 FIX:
 the default templates will need to change
 In lib/helpers.py the following will need to be imported:
 from routes import url_for

 In master.html a css stylesheet will need to be changed to:
 <link rel="stylesheet" type="text/css" media="screen"
 href="${h.url_for('/css/style.css')}" />

 footer.html:
  <img src="${h.url_for('/images/under_the_hood_blue.png')}"
 alt="TurboGears" />


 header.html
 <img src="${h.url_for('/images/logo.png')}" alt="TG2!"/>

 possibly login.html

-- 
Ticket URL: <http://trac.turbogears.org/ticket/2033#comment:4>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "TurboGears Tickets" group.
This group is read-only. No posting by normal members allowed.
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to