Re: URLField strange error

2011-01-19 Thread galago
ModelForm: class ArticleForm(ModelForm): title = forms.CharField(widget=forms.TextInput(attrs={'class':'input_visible_title', 'title' : _(u'Tytuł'),}), max_length=255, min_length=3) content =

Re: URLField strange error

2011-01-19 Thread Ian Clelland
On Wed, Jan 19, 2011 at 10:37 AM, galago wrote: > Django 1.2.4, > Python 2.7 > All is coded as it should be. debugger shows error in python code as You > said. Maybe it will be fixed in the future. Exception is only when i put [ . > When i put [] all is ok :) Yes, either a

Re: URLField strange error

2011-01-19 Thread galago
Django 1.2.4, Python 2.7 All is coded as it should be. debugger shows error in python code as You said. Maybe it will be fixed in the future. Exception is only when i put [ . When i put [] all is ok :) -- You received this message because you are subscribed to the Google Groups "Django users"

Re: URLField strange error

2011-01-19 Thread Ian Clelland
On Wed, Jan 19, 2011 at 6:29 AM, galago wrote: > When I try to insert that string to urlfield: http://asd[d I get strange > exception: > > Invalid IPv6 URL > > How to correct it to show message and not error 500? You will likely need to post some more information: What version

Re: URLField strange error

2011-01-19 Thread aa56280
Something's not right with the data. Can you post more details - like, what string are you trying to insert exactly? -- 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

URLField strange error

2011-01-19 Thread galago
When I try to insert that string to urlfield: http://asd[d I get strange exception: Invalid IPv6 URL How to correct it to show message and not error 500? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to