Post by Marco ScannadinariYep I am aware it is the same, but instead of `template("xyz",
cookies=request.cookies)`, I would like to write `template("xyz")`, and
the `cookies` object be passed automatically each time. Is this possible?
Thanks,
-marco
Is the same process, difference that you are using template file.
Post by Marco ScannadinariThanks, I was not aware of the cookies attribute! Is there a way
to pass
Post by Marco Scannadinarithis object to all templates implicitly, since in most of my URL
handlers I
Post by Marco Scannadinarijust return template("foo")... Otherwise I will have to use
return template("foo", cookies=b.request.cookies)
each time :/
-marco
Post by AvelinoSend "request.cookies" for template!
Sample: https://gist.github.com/__avelin__o/0cd691a98d3f4e86f416
<https://gist.github.com/avelino/0cd691a98d3f4e86f416>
the template
Post by Marco ScannadinariPost by AvelinoPost by Marco Scannadinariwithout explicitly passing the bottle object to the template
({{b.request.get_cookie("foo")____}})? Is there a better way
of doing it?
Post by Marco ScannadinariPost by AvelinoSeems
Post by Marco Scannadinarilike I'm swimming against the current on this... Thanks!
-marco
--
--
You are member of the "bottlepy" group at google groups.
See http://groups.google.de/group/____bottlepy
<http://groups.google.de/group/bottlepy> for mailing list options.
Post by Marco ScannadinariPost by AvelinoPost by Marco ScannadinariSee http://bottlepy.org/ for news and documentation.
---
You received this message because you are subscribed to the Google
Groups "bottlepy" group.
Post by Marco ScannadinariTo unsubscribe from this group and stop receiving emails from
it, send
<https://groups.google.com/d/optout>.
Post by Marco ScannadinariPost by Avelino--
Thiago Avelino - GPG Keys: 2E98180A
http://avelino.xxx
I love long mails! - http://email.is-not-s.ms/
--
--
You are member of the "bottlepy" group at google groups.
See http://groups.google.de/group/____bottlepy
<http://groups.google.de/group/bottlepy> for mailing list options.
Post by Marco ScannadinariSee http://bottlepy.org/ for news and documentation.
---
You received this message because you are subscribed to the Google
Groups "bottlepy" group.
Post by Marco ScannadinariTo unsubscribe from this group and stop receiving emails from it,
For more options, visit https://groups.google.com/d/__op__tout
<https://groups.google.com/d/optout>.
--
Thiago Avelino - GPG Keys: 2E98180A
http://avelino.xxx
I love long mails! - http://email.is-not-s.ms/
--
--
You are member of the "bottlepy" group at google groups.
See http://groups.google.de/group/____bottlepy
<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 a topic in
the Google Groups "bottlepy" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/__to__pic/bottlepy/zK6wSM8m5qU/__unsub__scribe
<https://groups.google.com/d/topic/bottlepy/zK6wSM8m5qU/unsubscribe>.
To unsubscribe from this group and all its topics, send an email to
For more options, visit https://groups.google.com/d/__op__tout
<https://groups.google.com/d/optout>.
--
--
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
For more options, visit https://groups.google.com/d/optout.