On Saturday, July 30, 2011 12:54:03 PM UTC-7, Wyatt Baldwin wrote:
>
> With Pyramid 1.0, I could inherit from a template in another package using
> the standard Mako syntax:
>
> # Paste config file:
> mako.directories = package_A:templates pacakge_B:templates
>
> # templates/layout.mako in package
Hello, I use turbomail library. Link to documentation is
http://packages.python.org/TurboMail/
2011/8/1 gazza
> Hello,
>
> I want to use a tool to send email notifications when events happen?
> Any ideas on what the best tool to use i.e sendmail. I need to send it
> to gmail and yahoo etc.
>
> M
guys, I am new to pylons turbomail can't you write a class?
import datetime, os, socket
import sys, smtplib, MimeWriter, base64, StringIO, getopt
import mimetypes, mimetools
class SendMailer:
def __init__(self, sender, to, subject, text, attachments):
self.sender = sender
sel
On Mon, Aug 1, 2011 at 11:19 AM, Carlos de la Guardia <
carlos.delaguar...@gmail.com> wrote:
> You can register a callback that is called after the transaction ends,
> so that the logging can be done there. See this page, near the end o
>
That's interesting, but kinda defeats the purpose of loggi
You can register a callback that is called after the transaction ends,
so that the logging can be done there. See this page, near the end of
the linked section:
http://zodb.readthedocs.org/en/latest/transactions.html#repoze-tm2-transaction-aware-middleware-for-wsgi-applications
Carlos de la Guard
I am using tm2 in my Pyramid application, and both ZODB and pyramid_mailer
are hooking into that. However, other events related to the request
lifecycle are not aware of transactions and are thusly causing suprising
behavior that might be worth discussion.
For example, I create a new object from a
Ok I will have a wee' look at that today.
On Mon, Aug 1, 2011 at 8:36 AM, Mariano Mara wrote:
> On 01.08.11 06:26, gazza wrote:
> > Hello,
> >
> > I want to use a tool to send email notifications when events happen?
> > Any ideas on what the best tool to use i.e sendmail. I need to send it
> > t
On 01.08.11 06:26, gazza wrote:
> Hello,
>
> I want to use a tool to send email notifications when events happen?
> Any ideas on what the best tool to use i.e sendmail. I need to send it
> to gmail and yahoo etc.
>
I'm using TurboMail[1] with my pylons applications and pyramid_mailer[2] with
my
Essentially when I send email in sendmail its being treated as SPAM?
On Mon, Aug 1, 2011 at 8:26 AM, gazza wrote:
> Hello,
>
> I want to use a tool to send email notifications when events happen?
> Any ideas on what the best tool to use i.e sendmail. I need to send it
> to gmail and yahoo etc.
>
Hello,
I want to use a tool to send email notifications when events happen?
Any ideas on what the best tool to use i.e sendmail. I need to send it
to gmail and yahoo etc.
Much appreciated and I apologise for the broad question in advance?
Thanks,
Gary Clark
--
You received this message because
No problem.
If I *have* understood correctly, you are right that the 'self-referential
schema' is not technically possible (in that you can't just refer back to
the class and have the relation automagically set up).
However, I'm not really sure that you need to do this - such references are
after
Thank you Benjamin.
Your explanation was clear and focused on what I want to do :)
Your example is equal to the code I produced due to the fact a
self-referential schema doesn't work.
The answer to my question can be summarized as follow: it is not possible :)
Regards,
Stefano.
Il 01/08/11
Hi Stefano,
I'm very much a beginner myself, but perhaps I can try and give you a
pointer based on how I understand it and those with more experience can
correct me if I get it wrong.
I'd say don't think of it as trying to convert your SQLAlchemy data model
directly into a Colander schema by usin
13 matches
Mail list logo