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, emonk <elmonke...@gmail.com> wrote: > >> 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 how i do if i dont want to show the %s in >>> > my custom error message? :S >>> >>> I mentioned that in my original reply in this thread: Use CharField or >>> RegexField. >>> >>> Regards, >>> Malcolm >>> >>> >>> >>> >>> >> >> >> -- >> --- >> Key fingerprint = 0CCB D0F6 47F2 5F70 6F40 53D3 7537 A0E4 94FC 40EE >> ---------------------------------- >> >> >> > No a ticket was filed, that doesn't inherently indicate a bug(lots of > erroneous tickets are filed), as SmilyChris notes it really just needs a > docs fix, because the only other alternative is a bunch of try except blocks > which is both unreasonable, and as Malcolm has stated really indicates that > you should be using a different field type. > > Alex > > -- > "I disapprove of what you say, but I will defend to the death your right to > say it." --Voltaire > "The people's good is the highest law."--Cicero > > > > > -- --- 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 -~----------~----~----~----~------~----~------~--~---