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, >> 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 Exception Value: >> >> unindent does not match any outer indentation level (forms.py, line 178) >> >> Exception Location: /home/monk/documents/prodie/proyectos/brou/sac/views.py >> in <module>, line 8 Python Executable: /usr/bin/python Python Version: >> 2.5.4 Python Path: ['/home/monk/documents/prodie/proyectos', >> '/usr/lib/python2.5', '/usr/lib/python2.5/plat-linux2', >> '/usr/lib/python2.5/lib-tk', '/usr/lib/python2.5/lib-dynload', >> '/usr/local/lib/python2.5/site-packages', >> '/usr/lib/python2.5/site-packages', >> '/usr/lib/python2.5/site-packages/Numeric', >> '/usr/lib/python2.5/site-packages/PIL', '/var/lib/python-support/python2.5', >> '/var/lib/python-support/python2.5/gtk-2.0', >> '/usr/lib/python2.5/site-packages/wx-2.6-gtk2-unicode'] Server time: jue, >> 5 Mar 2009 11:58:30 -0200" >> This is the code in forms.py >> " >> class registroForm(forms.Form): >> . >> . >> importeMaximoCuotaSugerida = forms.IntegerField( >> required=False, >> label='Importe maximo cuota sugerida a >> descontar', >> max_value=999999999999999, >> help_text='13 enteros y 2 decimales, >> sin separacion por coma', >> error_messages={ >> 'invalid':'Ingrese solo >> numeros!', >> 'max_value':'Ha exedido el >> maximo de caracteres permitidos!' >> } >> ) >> >> " >> -- >> --- >> Key fingerprint = 0CCB D0F6 47F2 5F70 6F40 53D3 7537 A0E4 94FC 40EE >> ---------------------------------- >> > > > > -- > --- > Key fingerprint = 0CCB D0F6 47F2 5F70 6F40 53D3 7537 A0E4 94FC 40EE > ---------------------------------- > -- --- Key fingerprint = 0CCB D0F6 47F2 5F70 6F40 53D3 7537 A0E4 94FC 40EE ---------------------------------- --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---