diff options
Diffstat (limited to 'ishtar_common/widgets.py')
| -rw-r--r-- | ishtar_common/widgets.py | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/ishtar_common/widgets.py b/ishtar_common/widgets.py index 83fb23caf..89eead988 100644 --- a/ishtar_common/widgets.py +++ b/ishtar_common/widgets.py @@ -144,6 +144,8 @@ class JQueryDate(forms.TextInput):          self.attrs['class'] = 'date-pickup'      def render(self, name, value=None, attrs=None): +        if value: +            value = unicode(value)          # very specific...          if settings.COUNTRY == 'fr' and value and '/' in value:              values = value.split('/') | 
