Discussion:
[bottlepy] SQLitePlugin and jinja2_view issues
fackler
2014-10-26 23:24:16 UTC
Permalink
Having some trouble getting SQLitePlugin and jinja2_view working together.
when i start stacking decorators on the view callback, order matters.
Placing the jinja_view on top results in the template not being used.
putting it on the bottom results in db not being present in the callback
args.

Here is an example. Maybe I'm doing something wrong..

https://gist.github.com/anonymous/0b9fd64f034d2aa483e9
--
--
You are member of the "bottlepy" group at google groups.
See http://groups.google.de/group/bottlepy for mailing list options.
See http://bottlepy.org/ for news and documentation.

---
You received this message because you are subscribed to the Google Groups "bottlepy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bottlepy+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
fackler
2014-10-27 02:54:20 UTC
Permalink
might be related to this https://github.com/defnull/bottle/issues/295
Post by fackler
Having some trouble getting SQLitePlugin and jinja2_view working
together. when i start stacking decorators on the view callback, order
matters. Placing the jinja_view on top results in the template not being
used. putting it on the bottom results in db not being present in the
callback args.
Here is an example. Maybe I'm doing something wrong..
https://gist.github.com/anonymous/0b9fd64f034d2aa483e9
--
--
You are member of the "bottlepy" group at google groups.
See http://groups.google.de/group/bottlepy for mailing list options.
See http://bottlepy.org/ for news and documentation.

---
You received this message because you are subscribed to the Google Groups "bottlepy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bottlepy+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...