binarymatt / pyres

a resque clone in python
http://github.com/binarydud/pyres
MIT License
955 stars 130 forks source link

Updated pyres to work with pystache 0.5.0 #104

Closed james-m-henderson closed 12 years ago

james-m-henderson commented 12 years ago

I noticed that pystache had changed a bit and you were no longer supposed to subclass View. Since views.py uses template_name, I switched ResWeb to subclassing TemplateSpec. I also added a bit of code to allow it to self render like before. It might be a good idea to move that into server.py.