Commit d0ae91eb authored by Tanner Prestegard's avatar Tanner Prestegard Committed by GraceDB

Removed unused TriggerForm

parent 6552fa80
......@@ -102,13 +102,6 @@ def triggerFormFactory(postdata=None, user=None):
else:
return TF()
# 11/29/2016 (TP): pretty sure this is deprecated in favor of
# triggerFormFactory; may remove at a later date.
class TriggerForm(forms.ModelForm):
class Meta:
model = Trigger
exclude = ['user', 'triggerType']
def process_errors(err):
"""Processes and formats errors in ContactForms."""
out_errs = []
......
......@@ -22,7 +22,7 @@ import logging
log = logging.getLogger(__name__)
from .models import Trigger, Contact
from .forms import ContactForm, triggerFormFactory, TriggerForm
from .forms import ContactForm, triggerFormFactory
from alerts.phone import get_twilio_from
from events.permission_utils import internal_user_required, \
lvem_user_required, is_external
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment