Skip to content

Commit

Permalink
Merge pull request getsentry#810 from eternicode/django-1.5-urlfield-…
Browse files Browse the repository at this point in the history
…verify-exists

Django 1.5 compatibility: URLField no longer accepts verify_exists
  • Loading branch information
dcramer committed Feb 28, 2013
2 parents 0ded17f + b01259e commit c9c1dab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sentry/web/forms/fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def widget_attrs(self, widget):


class OriginsField(CharField):
_url_validator = URLValidator(verify_exists=False)
_url_validator = URLValidator()
widget = Textarea(
attrs={'placeholder': mark_safe(_('e.g. example.com or https://example.com')), 'class': 'span8'},
)
Expand Down

0 comments on commit c9c1dab

Please sign in to comment.