providers/oauth2: add missing property_mapping template

This commit is contained in:
Jens Langhammer
2020-10-11 19:29:13 +02:00
parent 610b6c7f70
commit b6eb0bf53d
2 changed files with 16 additions and 0 deletions

View File

@ -75,6 +75,8 @@ class OAuth2ProviderForm(forms.ModelForm):
class ScopeMappingForm(forms.ModelForm):
"""Form to edit ScopeMappings"""
template_name = "providers/oauth2/property_mapping_form.html"
def clean_expression(self):
"""Test Syntax"""
expression = self.cleaned_data.get("expression")