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
the line 178 is -> importeMaximoCuotaSugerida = forms.IntegerField(
On Thu, Mar 5, 2009 at 12:04 PM, emonk wrote:
> HI,
> I have a form model, and i cant find any error in syntax, however the
> browser report this execption
> "IndentationError at /brou/
>
> uninden
nevermind, is a tabulation error
duuh!
On Thu, Mar 5, 2009 at 12:05 PM, emonk wrote:
> the line 178 is -> importeMaximoCuotaSugerida = forms.IntegerField(
>
>
> On Thu, Mar 5, 2009 at 12:04 PM, emonk wrote:
>
>> HI,
>> I have a form model, and i cant find an
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 max_va
duh, iam a fool
Thanks to both for the fast response :)
On Thu, Apr 9, 2009 at 4:46 AM, Adi Sieker wrote:
>
>
> On 09.04.2009, at 09:27, emonk wrote:
>
> > Hi people.
> > This is my doubt
> >
> > I need make a form field with this restrictions:
> >
Hi,
I have *this form:*
class registerForm(forms.Form):
aNumber = forms.IntegerField(
label='Some Integer Field',
max_value=,
min_value=100,
help_text='7
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
btw, thanks anyway :)
On Fri, Apr 10, 2009 at 12:07 AM, emonk 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 just like the message "invali
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 that thes
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
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 wrote:
>
>
> On Thu, Apr 9, 2009 at 11:58 PM, emonk wrote:
>
>> T
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 erro
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 > > wrote:
>>
>>> I cannot access http://d
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 another app.
> I'm from Pola
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 logged into the mail
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 any.
> >
>
> If you h
I think DECIMAL_SEPARATOR = ',' wasnt neccesary when USE_L10N=True
2011/3/16 Siara
> Thx for help,
> DECIMAL_SEPARATOR = ',' wasnt neccesary when USE_L10N=False cause its
> default delimeter
> On 15 Mar, 20:07, emonk wrote:
> > try this i
is, 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 isn't the job for you?
>
> On Wed, Mar 16, 2011 at 6:42
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'
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
nd, but it's 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 wrote:
>
>> aamh ok
>>
>>
>> 2011/3/16 Cal Leeming [Simplicity Media Ltd] <
>> cal.leem...@
UNKNOWN"
>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
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 who, like me, want
> to
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 suggestions!
>
> ~Karen
>
>
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 tag and then parsing the
25 matches
Mail list logo