Re: [Django] #12017: UKPostcodeField doesn't shows provided custom "error_messages"

2009-12-14 Thread Django
#12017: UKPostcodeField doesn't shows provided custom "error_messages"
-+--
  Reporter:  vmagamedov  | Owner: 
Status:  new | Milestone:  1.2
 Component:  django.contrib.localflavor  |   Version:  SVN
Resolution:  |  Keywords: 
 Stage:  Unreviewed  | Has_patch:  1  
Needs_docs:  0   |   Needs_tests:  0  
Needs_better_patch:  0   |  
-+--
Changes (by jacob):

  * owner:  jacob =>

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

--

You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.




Re: [Django] #12017: UKPostcodeField doesn't shows provided custom "error_messages"

2009-10-27 Thread Django
#12017: UKPostcodeField doesn't shows provided custom "error_messages"
-+--
  Reporter:  vmagamedov  | Owner:  jacob
Status:  new | Milestone:  1.2  
 Component:  django.contrib.localflavor  |   Version:  SVN  
Resolution:  |  Keywords:   
 Stage:  Unreviewed  | Has_patch:  1
Needs_docs:  0   |   Needs_tests:  0
Needs_better_patch:  0   |  
-+--
Changes (by vmagamedov):

  * needs_better_patch:  => 0
  * needs_docs:  => 0
  * version:  1.1 => SVN
  * needs_tests:  => 0
  * milestone:  => 1.2

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



[Django] #12017: UKPostcodeField doesn't shows provided custom "error_messages"

2009-10-12 Thread Django
#12017: UKPostcodeField doesn't shows provided custom "error_messages"
+---
 Reporter:  vmagamedov  |   Owner:  jacob 
   Status:  new |   Milestone:
Component:  django.contrib.localflavor  | Version:  1.1   
 Keywords:  |   Stage:  Unreviewed
Has_patch:  1   |  
+---
 
[http://code.djangoproject.com/browser/django/trunk/django/contrib/localflavor/uk/forms.py#L35
 Here] we have:
 {{{
 if not self.postcode_regex.search(postcode):
 raise ValidationError(self.default_error_messages['invalid'])
 }}}

 But should be:

 {{{
 if not self.postcode_regex.search(postcode):
 raise ValidationError(self.error_messages['invalid'])
 }}}

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---