We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
Links to company websites doesn't work without http:// 
On a company profile page the link to the company's website will only redirect the user if `http://` is specified when the link is added in the dashboard. For example, the link to AppearTV is written as `www.appeartv.com`, and redirects to `https://online.ntnu.no/company/60/www.appeartv.com`.
There is no information to the user creating an event to add http either, so I can imagine this being a growing problem. 

Links to company websites doesn't work without http:// 
On a company profile page the link to the company's website will only redirect the user if `http://` is specified when the link is added in the dashboard. For example, the link to AppearTV is written as `www.appeartv.com`, and redirects to `https://online.ntnu.no/company/60/www.appeartv.com`.
There is no information to the user creating an event to add http either, so I can imagine this being a growing problem. 


--- END ISSUE ---

Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
--- BEGIN FILES ---
Path: `apps/companyprofile/dashboard/forms.py`
Content:
```
1 # -*- coding: utf-8 -*-
2 from django.forms import ModelForm
3 
4 from apps.companyprofile.models import Company
5 from apps.dashboard.widgets import widget_generator
6 from apps.gallery.widgets import SingleImageInput
7 
8 
9 class CompanyForm(ModelForm):
10 
11     class Meta(object):
12         model = Company
13         fields = ('name', 'short_description', 'long_description', 'image', 'site', 'email_address', 'phone_number',)
14         exclude = ['old_image']
15 
16         # Widget generator accepts a form widget, and a list of tuples between field name and an attribute dict
17         widgets = widget_generator(SingleImageInput, [('image', {'id': 'responsive-image-id'})])
18
```
--- END FILES ---

Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.

Here is an example:

```diff
diff --git a/examples/server_async.py b/examples/server_async.py
--- a/examples/server_async.py
+++ b/examples/server_async.py
@@ -313,4 +313,4 @@
 
 
 if __name__ == "__main__":
-    asyncio.run(run_async_server("."), debug=True)
+    asyncio.run(run_async_server(), debug=True)
diff --git a/examples/server_sync.py b/examples/server_sync.py
--- a/examples/server_sync.py
+++ b/examples/server_sync.py
@@ -313,5 +313,5 @@
 
 
 if __name__ == "__main__":
-    server = run_sync_server(".")
+    server = run_sync_server()
     server.shutdown()

```

diff --git a/apps/companyprofile/dashboard/forms.py b/apps/companyprofile/dashboard/forms.py
--- a/apps/companyprofile/dashboard/forms.py
+++ b/apps/companyprofile/dashboard/forms.py
@@ -1,5 +1,6 @@
 # -*- coding: utf-8 -*-
 from django.forms import ModelForm
+from django.forms.fields import URLField
 
 from apps.companyprofile.models import Company
 from apps.dashboard.widgets import widget_generator
@@ -7,10 +8,12 @@
 
 
 class CompanyForm(ModelForm):
+    site = URLField(max_length=100)
 
     class Meta(object):
         model = Company
         fields = ('name', 'short_description', 'long_description', 'image', 'site', 'email_address', 'phone_number',)
+
         exclude = ['old_image']
 
         # Widget generator accepts a form widget, and a list of tuples between field name and an attribute dict

{"golden_diff": "diff --git a/apps/companyprofile/dashboard/forms.py b/apps/companyprofile/dashboard/forms.py\n--- a/apps/companyprofile/dashboard/forms.py\n+++ b/apps/companyprofile/dashboard/forms.py\n@@ -1,5 +1,6 @@\n # -*- coding: utf-8 -*-\n from django.forms import ModelForm\n+from django.forms.fields import URLField\n \n from apps.companyprofile.models import Company\n from apps.dashboard.widgets import widget_generator\n@@ -7,10 +8,12 @@\n \n \n class CompanyForm(ModelForm):\n+    site = URLField(max_length=100)\n \n     class Meta(object):\n         model = Company\n         fields = ('name', 'short_description', 'long_description', 'image', 'site', 'email_address', 'phone_number',)\n+\n         exclude = ['old_image']\n \n         # Widget generator accepts a form widget, and a list of tuples between field name and an attribute dict\n", "issue": "Links to company websites doesn't work without http:// \nOn a company profile page the link to the company's website will only redirect the user if `http://` is specified when the link is added in the dashboard. For example, the link to AppearTV is written as `www.appeartv.com`, and redirects to `https://online.ntnu.no/company/60/www.appeartv.com`.\nThere is no information to the user creating an event to add http either, so I can imagine this being a growing problem. \n\nLinks to company websites doesn't work without http:// \nOn a company profile page the link to the company's website will only redirect the user if `http://` is specified when the link is added in the dashboard. For example, the link to AppearTV is written as `www.appeartv.com`, and redirects to `https://online.ntnu.no/company/60/www.appeartv.com`.\nThere is no information to the user creating an event to add http either, so I can imagine this being a growing problem. \n\n", "before_files": [{"content": "# -*- coding: utf-8 -*-\nfrom django.forms import ModelForm\n\nfrom apps.companyprofile.models import Company\nfrom apps.dashboard.widgets import widget_generator\nfrom apps.gallery.widgets import SingleImageInput\n\n\nclass CompanyForm(ModelForm):\n\n    class Meta(object):\n        model = Company\n        fields = ('name', 'short_description', 'long_description', 'image', 'site', 'email_address', 'phone_number',)\n        exclude = ['old_image']\n\n        # Widget generator accepts a form widget, and a list of tuples between field name and an attribute dict\n        widgets = widget_generator(SingleImageInput, [('image', {'id': 'responsive-image-id'})])\n", "path": "apps/companyprofile/dashboard/forms.py"}], "after_files": [{"content": "# -*- coding: utf-8 -*-\nfrom django.forms import ModelForm\nfrom django.forms.fields import URLField\n\nfrom apps.companyprofile.models import Company\nfrom apps.dashboard.widgets import widget_generator\nfrom apps.gallery.widgets import SingleImageInput\n\n\nclass CompanyForm(ModelForm):\n    site = URLField(max_length=100)\n\n    class Meta(object):\n        model = Company\n        fields = ('name', 'short_description', 'long_description', 'image', 'site', 'email_address', 'phone_number',)\n\n        exclude = ['old_image']\n\n        # Widget generator accepts a form widget, and a list of tuples between field name and an attribute dict\n        widgets = widget_generator(SingleImageInput, [('image', {'id': 'responsive-image-id'})])\n", "path": "apps/companyprofile/dashboard/forms.py"}]}