Re: Navigation menu

2011-04-12 Thread emonk
jquery? 2011/4/12 Daniel Gerzo > Hello all, > > I was wondering how do you generate the navigation menu in your web sites, > with a possibility to mark up the "active" page? > > My searching revealed some solutions, most of them based on implementing a > custom template

Re: Looking for IDE + FTP

2011-03-29 Thread emonk
http://wiki.python.org/moin/IntegratedDevelopmentEnvironments 2011/3/28 Karen McNeil > Just wanted to give you all an update: I started using Aptana Studio > with the PyDev plug-in and I'm really liking it; I think it was just > what I needed. > > Thanks for all the

Re: Django 1.3 released -- say thanks!

2011-03-23 Thread emonk
http://www.revsys.com/django/cheatsheet/ 2011/3/23 Shawn Milochik > Everyone: > >I just donated $25 to the Django Software Foundation. I would like > to suggest that others who appreciate all the hard work chip in a > couple of bucks if they are able. Especially those

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

2011-03-16 Thread emonk
>except: >request.META['USERNAME'] = "UNKNOWN" >request.META['USER_EMAIL'] = "UNKNOWN" >pass > > And for the record, I of course agree that being able to google and > then adapt things is very important. But th

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

2011-03-16 Thread emonk
not. > This is a *very* simple piece of functionality, which has plenty of public > documentation. > > On Wed, Mar 16, 2011 at 6:50 PM, emonk <elmonke...@gmail.com> wrote: > >> aamh ok >> >> >> 2011/3/16 Cal Leeming [Simplicity Media Ltd] < &g

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 <elmonke...@gmail.com> wrote: > >> I'm tired of searching and found many examples of m

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 <elmonke...@gmail.com> > 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> &g

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

2011-03-16 Thread emonk
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 isn't the job for you? > > On Wed, Mar 16, 2011 at 6:42 PM, emonk <elmonke.

Re: Problem with DECIMAL_SEPARATOR

2011-03-16 Thread emonk
I think DECIMAL_SEPARATOR = ',' wasnt neccesary when USE_L10N=True 2011/3/16 Siara <pawel.skrzyn...@gmail.com> > Thx for help, > DECIMAL_SEPARATOR = ',' wasnt neccesary when USE_L10N=False cause its > default delimeter > On 15 Mar, 20:07, emonk <elmonke...@gmai

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 <sh...@milochik.com> > On Wed, Mar 16, 2011 at 1:16 PM, emonk <elmonke...@gmail.com> wrote: > > Yep, but i need an example

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 <tevans...@googlemail.com> > On Tue, Mar 15, 2011 at 6:32 PM, emonk <elmonke...@gmail.com> wrote: > > Hi django-users. > > > > I have a django project running in apache2 with mod_wsgi

Re: Problem with DECIMAL_SEPARATOR

2011-03-15 Thread emonk
try this in settings.py USE_L10N = False DECIMAL_SEPARATOR = ',' 2011/3/15 Siara > Hi > I tried to find solution to my problem on django-developers group and > they send me here ;) > Ant there is my problem: > I'm writing application which return json with data for

Re: docs.djangoproject.com may be down!

2011-03-15 Thread emonk
working fine here 2011/3/15 vijay > It's working > > > On Tue, Mar 15, 2011 at 11:43 AM, Cal Leeming [Simplicity Media Ltd] < > cal.leem...@simplicitymedialtd.co.uk> wrote: > >> Confirmed down. >> >> >> On Tue, Mar 15, 2011 at 6:42 PM, Nathanael Abbotts

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

Re: form error_messages doesnt work

2009-04-09 Thread emonk
ok ok, i will use a regexp field, but I still think they should be able to make a custom error message for form.IntegerField without %s . thanks for your help guys. On Fri, Apr 10, 2009 at 1:02 AM, Alex Gaynor <alex.gay...@gmail.com> wrote: > > > On Thu, Apr 9, 2009 at 11:58 PM,

Re: form error_messages doesnt work

2009-04-09 Thread emonk
Thanks but is not a better solution, this is bug http://code.djangoproject.com/ticket/8104#comment:1 On Fri, Apr 10, 2009 at 12:52 AM, Malcolm Tredinnick < malc...@pointy-stick.com> wrote: > > On Fri, 2009-04-10 at 00:48 -0300, emonk wrote: > > I understand your point, but

Re: form error_messages doesnt work

2009-04-09 Thread emonk
I understand your point, but how i do if i dont want to show the %s in my custom error message? :S On Fri, Apr 10, 2009 at 12:22 AM, Malcolm Tredinnick < malc...@pointy-stick.com> wrote: > > On Fri, 2009-04-10 at 00:07 -0300, emonk wrote: > > I do not understand t

Re: form error_messages doesnt work

2009-04-09 Thread emonk
btw, thanks anyway :) On Fri, Apr 10, 2009 at 12:07 AM, emonk <elmonke...@gmail.com> wrote: > I do not understand that these messages are not working as if the other > Who care if i talk about lenght, what happen if i talk about range of > numbers? > That should be work jus

Re: form error_messages doesnt work

2009-04-09 Thread emonk
ck.com> wrote: > > On Thu, 2009-04-09 at 23:23 -0300, emonk wrote: > > Hi, > > I have this form: > > class registerForm(forms.Form): > > aNumber = forms.IntegerField( > > label='Some Integer Field', &g

form error_messages doesnt work

2009-04-09 Thread emonk
Hi, I have *this form:* class registerForm(forms.Form): aNumber = forms.IntegerField( label='Some Integer Field', max_value=, min_value=100, help_text='7

Re: Positive integer form field with max lenght

2009-04-09 Thread emonk
duh, iam a fool Thanks to both for the fast response :) On Thu, Apr 9, 2009 at 4:46 AM, Adi Sieker <a...@sieker.info> wrote: > > > On 09.04.2009, at 09:27, emonk wrote: > > > Hi people. > > This is my doubt > > > > I need make a form field with this

Positive integer form field with max lenght

2009-04-09 Thread emonk
Hi people. This is my doubt I need make a form field with this restrictions: _field content must be only integers numbers and postive. _filed content must have a max lenght, for example 8 characters. I am confused beacuse models.PositiveIntegerField has no have max_length atribute (have a

Re: unindent does not match any outer indentation level

2009-03-05 Thread emonk
nevermind, is a tabulation error duuh! On Thu, Mar 5, 2009 at 12:05 PM, emonk <elmonke...@gmail.com> wrote: > the line 178 is -> importeMaximoCuotaSugerida = forms.IntegerField( > > > On Thu, Mar 5, 2009 at 12:04 PM, emonk <elmonke...@gmail.com> wrote: > >> HI

Re: unindent does not match any outer indentation level

2009-03-05 Thread emonk
the line 178 is -> importeMaximoCuotaSugerida = forms.IntegerField( On Thu, Mar 5, 2009 at 12:04 PM, emonk <elmonke...@gmail.com> wrote: > HI, > I have a form model, and i cant find any error in syntax, however the > browser report this execption > "IndentationError a

unindent does not match any outer indentation level

2009-03-05 Thread emonk
HI, I have a form model, and i cant find any error in syntax, however the browser report this execption "IndentationError at /brou/ unindent does not match any outer indentation level (forms.py, line 178) Request Method: GET Request URL: http://localhost/brou/ Exception Type: IndentationError