mirror of
https://github.com/etnguyen03/tjdests.git
synced 2025-04-20 17:50:16 -04:00
style(profile): reformat 8d0a5255e6
This commit is contained in:
parent
8d0a5255e6
commit
3c816e2a8a
|
@ -4,7 +4,6 @@ from crispy_forms.helper import FormHelper
|
|||
from crispy_forms.layout import Submit
|
||||
|
||||
from django import forms
|
||||
from django.core.exceptions import ValidationError
|
||||
|
||||
from tjdests.apps.authentication.models import User
|
||||
from tjdests.apps.destinations.models import Decision, TestScore
|
||||
|
@ -78,7 +77,10 @@ class DecisionForm(forms.ModelForm):
|
|||
Decision.ROLLING,
|
||||
]:
|
||||
if "DEFER" in cleaned_data.get("admission_status", ""):
|
||||
self.add_error("admission_status", "Regular Decision and Rolling decisions cannot result in a deferral")
|
||||
self.add_error(
|
||||
"admission_status",
|
||||
"Regular Decision and Rolling decisions cannot result in a deferral",
|
||||
)
|
||||
|
||||
return cleaned_data
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user