1017: Site URL in forms.py should be CharField not URL type

manjuna********@gmai***** (Google Code) (Is this you? Claim this profile.)
May 19, 2009
747
What's the URL of the page containing the problem?
Email link which has a link to see the diff had the problem

What steps will reproduce the problem?
1. Go to the General settings for Review Board.
2. For the site URL, give your hostname without .com ( ex: http://sped64 )
3. It fails to accept as it is not a valid URL

What is the expected output? What do you see instead?
It should accept. I have been using Review Board on Windows host and site 
URL is http://sped64.

What operating system are you using? What browser?
Windows 2003 on x64 platform. IE 6.

Please provide any additional information below.

server should be of type CharField insted of URL. After modifying, it 
worked for me.

server = forms.CharField(  # URL Field has been replaced with CharField
        label=_("Server"),
        help_text=_("The URL of this Review Board server. This should not "
                    "contain the subdirectory Review Board is installed 
in."),
        widget=forms.TextInput(attrs={'size': '30'}))

The problem what I was facing is the diff URL generated in the email. 
I was getting  http://sped64/spea/r/23/diff  instead  of 
http://sped64/r/23/diff. To fix this problem I need to update the Site URL 
from http://sped64/spea to http://sped64 but I could not able to do that 
due to forms type is URL. After changing it to forms.CharField, it worked 
and correct URL is generated in the Email.
david
#1 david