Files
web2.0-backend/ohlhafv/forms.py
T
2022-01-13 22:10:51 +02:00

18 lines
469 B
Python

"""File containing Ohlhafv forms."""
from django import forms
from django.utils.translation import ugettext_lazy as _
from django.core.exceptions import ValidationError
from ohlhafv.models import OhlhafvChallenge
class OhlhafvForm(forms.ModelForm):
"""Class representing Ohlhafv form."""
class Meta:
"""Meta class for Ohlhafv form."""
model = OhlhafvChallenge
fields = ["challenger", "victim", "victim_email", "series", "message"]