Re: How i can get username into the error mail?

2011-03-16 Thread emonk
thanks Margie, I already did with the info you gave me Tom. 2011/3/16 Margie Roginski > I found the basics for this by googling around, and I can't remember > where I got it, but thanks to whomever gave me the basics because it > is very useful. Put this in your

Re: How i can get username into the error mail?

2011-03-16 Thread emonk
The only one who respone me an good help is Tom Evans. The rest just repeats like a parrot what is in the documentation; please before you say "seach in google" say nothing is better. 2011/3/16 Cal Leeming [Simplicity Media Ltd] < cal.leem...@simplicitymedialtd.co.uk> > (last email, as i dont

Re: How i can get username into the error mail?

2011-03-16 Thread Margie Roginski
I found the basics for this by googling around, and I can't remember where I got it, but thanks to whomever gave me the basics because it is very useful. Put this in your middleware and it will make the mail that you receive have the name of the user and their email: class

Re: How i can get username into the error mail?

2011-03-16 Thread Cal Leeming [Simplicity Media Ltd]
(last email, as i dont want to drag this out any more) I don't mean it in a nasty way, but I'm so sick and tired of lazy developers. Solving problems should be one of the best percs of the job for a coder. If this was something really complex, then I'd understand, but it's not. This is a *very*

Re: How i can get username into the error mail?

2011-03-16 Thread Shawn Milochik
On Wed, Mar 16, 2011 at 2:47 PM, emonk wrote: > I'm tired of searching and found many examples of middleware but not the one > I seek > You almost certainly will not find the exact code you need to cut & paste. You need to read the examples you did find and learn something.

Re: How i can get username into the error mail?

2011-03-16 Thread emonk
aamh ok 2011/3/16 Cal Leeming [Simplicity Media Ltd] < cal.leem...@simplicitymedialtd.co.uk> > Then this isn't the job for you. Simple. > > On Wed, Mar 16, 2011 at 6:47 PM, emonk wrote: > >> I'm tired of searching and found many examples of middleware but not the >> one I

Re: How i can get username into the error mail?

2011-03-16 Thread Cal Leeming [Simplicity Media Ltd]
Then this isn't the job for you. Simple. On Wed, Mar 16, 2011 at 6:47 PM, emonk wrote: > I'm tired of searching and found many examples of middleware but not the > one I seek > > 2011/3/16 Cal Leeming [Simplicity Media Ltd] < > cal.leem...@simplicitymedialtd.co.uk> > >

Re: How i can get username into the error mail?

2011-03-16 Thread emonk
Thanks for the answers. topic closed to me 2011/3/16 emonk > I'm tired of searching and found many examples of middleware but not the > one I seek > > 2011/3/16 Cal Leeming [Simplicity Media Ltd] < > cal.leem...@simplicitymedialtd.co.uk> > > Actually, I've gotta side with

Re: How i can get username into the error mail?

2011-03-16 Thread emonk
I'm tired of searching and found many examples of middleware but not the one I seek 2011/3/16 Cal Leeming [Simplicity Media Ltd] < cal.leem...@simplicitymedialtd.co.uk> > Actually, I've gotta side with Shawn on this one. > > There are *TONS* of examples of how to do this, I know this because I >

Re: How i can get username into the error mail?

2011-03-16 Thread Cal Leeming [Simplicity Media Ltd]
Actually, I've gotta side with Shawn on this one. There are *TONS* of examples of how to do this, I know this because I created one and put it on djangosnippets. :S If two people are telling you there are answers on Google, then trust me, there are. If you can't find them, then perhaps this

Re: How i can get username into the error mail?

2011-03-16 Thread emonk
I repeat, i dont have found (in all entire internet) midlleware classes about email error. Thanks, dont need to be a troll :) 2011/3/16 Shawn Milochik > On Wed, Mar 16, 2011 at 1:16 PM, emonk wrote: > > Yep, but i need an example and I have not found

Re: How i can get username into the error mail?

2011-03-16 Thread Shawn Milochik
On Wed, Mar 16, 2011 at 1:16 PM, emonk wrote: > Yep, but i need an example and I have not found any. > If you haven't found any then you haven't looked. Have you heard of Google? Here are the docs:

Re: How i can get username into the error mail?

2011-03-16 Thread emonk
Yep, but i need an example and I have not found any. 2011/3/16 Tom Evans > On Tue, Mar 15, 2011 at 6:32 PM, emonk wrote: > > Hi django-users. > > > > I have a django project running in apache2 with mod_wsgi and I need get > the > > username

Re: How i can get username into the error mail?

2011-03-16 Thread Tom Evans
On Tue, Mar 15, 2011 at 6:32 PM, emonk wrote: > Hi django-users. > > I have a django project running in apache2 with  mod_wsgi and I need get the > username logged into the mail error; the user is registered in the same data > base of the project, i mean in the auth_user

How i can get username into the error mail?

2011-03-15 Thread emonk
Hi django-users. I have a django project running in apache2 with mod_wsgi and I need get the username logged into the mail error; the user is registered in the same data base of the project, i mean in the auth_user table (request.user.username called in the views). This is an example of the