diff --git a/python/nav/web/alertprofiles/forms.py b/python/nav/web/alertprofiles/forms.py index 75105ac0a4..2f38b3c775 100644 --- a/python/nav/web/alertprofiles/forms.py +++ b/python/nav/web/alertprofiles/forms.py @@ -559,7 +559,7 @@ def __init__(self, *args, **kwargs): # Values are selected from a multiple choice list. # Populate that list with possible choices. - # MatcField stores which table and column alert engine should + # MatchField stores which table and column alert engine should # watch, as well as a table and column for "friendly" names in # the GUI and how we should sort the fields in the GUI (if we # are displaying a list) @@ -605,8 +605,8 @@ def __init__(self, *args, **kwargs): choices = [] for obj in model_objects: - # ID is what is acctually used in the expression that will - # be evaluted by alert engine + # ID is what is actually used in the expression that will + # be evaluated by alert engine ident = getattr(obj, attname) if model == name_model: diff --git a/python/nav/web/alertprofiles/views.py b/python/nav/web/alertprofiles/views.py index 829aba4a02..72abd2189c 100644 --- a/python/nav/web/alertprofiles/views.py +++ b/python/nav/web/alertprofiles/views.py @@ -1513,7 +1513,7 @@ def filter_remove(request): @requires_post('alertprofiles-filters', ('id', 'matchfield')) def filter_addexpression(request): - """Shows the form to add en expression to a filter""" + """Shows the form to add an expression to a filter""" try: filtr = Filter.objects.get(pk=request.POST.get('id')) except Filter.DoesNotExist: