Move ohlhafv to its own app
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
"""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', 'challenger_email',
|
||||
'victim', 'victim_email', 'series', 'message']
|
||||
Reference in New Issue
Block a user