diff --git a/RIGS/models.py b/RIGS/models.py index 1dadda85..7efab922 100644 --- a/RIGS/models.py +++ b/RIGS/models.py @@ -712,7 +712,7 @@ def activity_feed_string(self): return f"payment of £{self.amount}" -def validate_url(value, requirement): +def validate_url(value): if not value: return # Required error is done the field obj = urlparse(value) diff --git a/RIGS/templates/event_form.html b/RIGS/templates/event_form.html index 180f491c..fd1b462b 100644 --- a/RIGS/templates/event_form.html +++ b/RIGS/templates/event_form.html @@ -347,9 +347,11 @@
Paste URL
{% render_field form.forum_url class+="form-control" %} + {% if object.pk %}or
- + Create Forum Thread + {% endif %}