BottlePy Windows keine Templates
Verfasst: Mittwoch 23. Mai 2012, 10:51
Hi,
woran kann es liegen das bottlepy unter Windows keine Templates findet?
Templates sind im selben Ordner: 1 layout.tpl und 2 defe.tpl
Selstam ist das die layout.tpl gefunden wird die andere nicht.
Kennt jemand das Problem unter Windows?
Bzw. gibts da eine Lösung für?
Gruß und Danke!
woran kann es liegen das bottlepy unter Windows keine Templates findet?
Code: Alles auswählen
@route('/foo')
@route('/foo/<name>')
def act_a_foo(name='world'):
return template('layout', name=name)
@route('/form')
def act_a_form():
return template('defe')
Selstam ist das die layout.tpl gefunden wird die andere nicht.
Kennt jemand das Problem unter Windows?
Bzw. gibts da eine Lösung für?
Gruß und Danke!